aboutsummaryrefslogtreecommitdiffstats
path: root/korean/libhangul
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2013-06-25 03:05:53 +0800
committerjkim <jkim@FreeBSD.org>2013-06-25 03:05:53 +0800
commitf1cc1f1f7f2a10ce34b7e4e9413d2eac5d051bd5 (patch)
tree5ab2d4a9b68992282dae78c1511d472d1aee353d /korean/libhangul
parent6f8220ad77aea47e0954fa11a30a0dc70dd7823e (diff)
downloadfreebsd-ports-gnome-f1cc1f1f7f2a10ce34b7e4e9413d2eac5d051bd5.tar.gz
freebsd-ports-gnome-f1cc1f1f7f2a10ce34b7e4e9413d2eac5d051bd5.tar.zst
freebsd-ports-gnome-f1cc1f1f7f2a10ce34b7e4e9413d2eac5d051bd5.zip
- Take over the maintainership. [1]
- Use pkgconfig for detecting dependencies. Tidy up a bit while I am here. Approved by: Hyogeol Lee <hyogeollee@gmail.com> (maintainer) [1]
Diffstat (limited to 'korean/libhangul')
-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>