blob: 4701281ed65d2fffd641d1e66b9ef0119bb54043 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Created by: Hyogeol, Lee <hyogeollee@gmail.com>
# $FreeBSD$
PORTNAME= libhangul
PORTVERSION= 0.1.0
CATEGORIES= korean
MASTER_SITES= GOOGLE_CODE
MAINTAINER= jkim@FreeBSD.org
COMMENT= Library for Hangul processing
LICENSE= LGPL21
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USES= iconv pkgconfig
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
CONFIGURE_ARGS= --enable-nls
PLIST_SUB= NLS=""
.else
CONFIGURE_ARGS= --disable-nls
PLIST_SUB= NLS="@comment "
.endif
.if exists(${LOCALBASE}/libdata/pkgconfig/check.pc)
test: build
@( cd ${WRKSRC}/test && ${SETENV} ${MAKE_ENV} ${GMAKE} )
@( cd ${WRKSRC}/test && ${SETENV} ${MAKE_ENV} ${GMAKE} test && ./test )
.endif
.include <bsd.port.mk>
|