aboutsummaryrefslogtreecommitdiff
path: root/korean
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2013-06-24 19:05:53 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2013-06-24 19:05:53 +0000
commit36dc5a0cfbb8658e519dfc3cd28d695bd5938b96 (patch)
tree5ab2d4a9b68992282dae78c1511d472d1aee353d /korean
parentfd007a3a5b9417fb9791db75286627e7adc5f466 (diff)
downloadports-36dc5a0cfbb8658e519dfc3cd28d695bd5938b96.tar.gz
ports-36dc5a0cfbb8658e519dfc3cd28d695bd5938b96.zip
Notes
Diffstat (limited to 'korean')
-rw-r--r--korean/libhangul/Makefile21
1 files changed, 9 insertions, 12 deletions
diff --git a/korean/libhangul/Makefile b/korean/libhangul/Makefile
index a60995703297..3a34eb869af9 100644
--- a/korean/libhangul/Makefile
+++ b/korean/libhangul/Makefile
@@ -6,33 +6,30 @@ PORTVERSION= 0.1.0
CATEGORIES= korean
MASTER_SITES= GOOGLE_CODE
-MAINTAINER= hyogeollee@gmail.com
+MAINTAINER= jkim@FreeBSD.org
COMMENT= Library for Hangul processing
LICENSE= LGPL21
-USES= iconv
-USE_LDCONFIG= yes
GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+USES= iconv pkgconfig
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
-LDFLAGS+= -L${LOCALBASE}/lib
-CPPFLAGS+= -I${LOCALBASE}/include
-PLIST_SUB+= NLS=""
+CONFIGURE_ARGS= --enable-nls
+PLIST_SUB= NLS=""
.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
+CONFIGURE_ARGS= --disable-nls
+PLIST_SUB= NLS="@comment "
.endif
-.include <bsd.port.pre.mk>
-
+.if exists(${LOCALBASE}/libdata/pkgconfig/check.pc)
test: build
@( cd ${WRKSRC}/test && ${SETENV} ${MAKE_ENV} ${GMAKE} )
-.if exists(${LOCALBASE}/libdata/pkgconfig/check.pc)
@( cd ${WRKSRC}/test && ${SETENV} ${MAKE_ENV} ${GMAKE} test && ./test )
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>