svn commit: r341692 - head/devel/m17n-db
Baptiste Daroussin
bapt at FreeBSD.org
Wed Jan 29 07:59:12 UTC 2014
Author: bapt
Date: Wed Jan 29 07:59:11 2014
New Revision: 341692
URL: http://svnweb.freebsd.org/changeset/ports/341692
QAT: https://qat.redports.org/buildarchive/r341692/
Log:
Support stage
Add a NLS option
use options helpers
Modified:
head/devel/m17n-db/Makefile
Modified: head/devel/m17n-db/Makefile
==============================================================================
--- head/devel/m17n-db/Makefile Wed Jan 29 07:59:00 2014 (r341691)
+++ head/devel/m17n-db/Makefile Wed Jan 29 07:59:11 2014 (r341692)
@@ -15,20 +15,15 @@ EXTRACT_ONLY= ${M17N_DISTFILE}
MAINTAINER= nikola.lecic at anthesphoria.net
COMMENT= Data files for the m17n library
-USES= gmake pkgconfig
+OPTIONS_DEFINE= NLS
+
+USES= gmake pathfix pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-charmaps=${CHARMAPSDIR}
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+= --disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
+OPTIONS_SUB= yes
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
M17N_DISTFILE= ${DISTNAME}${EXTRACT_SUFX}
GLIBC_VERSION= 2.3.6
More information about the svn-ports-all
mailing list