Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2013 19:05:53 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r321708 - head/korean/libhangul
Message-ID:  <201306241905.r5OJ5rXt000977@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306241905.r5OJ5rXt000977>