svn commit: r321708 - head/korean/libhangul
Jung-uk Kim
jkim at FreeBSD.org
Mon Jun 24 19:05:53 UTC 2013
Author: jkim
Date: Mon Jun 24 19:05:53 2013
New Revision: 321708
URL: http://svnweb.freebsd.org/changeset/ports/321708
Log:
- Take over the maintainership. [1]
- Use pkgconfig for detecting dependencies. Tidy up a bit while I am here.
Approved by: Hyogeol Lee <hyogeollee at gmail.com> (maintainer) [1]
Modified:
head/korean/libhangul/Makefile
Modified: head/korean/libhangul/Makefile
==============================================================================
--- head/korean/libhangul/Makefile Mon Jun 24 19:04:49 2013 (r321707)
+++ head/korean/libhangul/Makefile Mon Jun 24 19:05:53 2013 (r321708)
@@ -6,33 +6,30 @@ PORTVERSION= 0.1.0
CATEGORIES= korean
MASTER_SITES= GOOGLE_CODE
-MAINTAINER= hyogeollee at gmail.com
+MAINTAINER= jkim at 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>
More information about the svn-ports-head
mailing list