svn commit: r340804 - head/devel/popt
Baptiste Daroussin
bapt at FreeBSD.org
Thu Jan 23 07:50:40 UTC 2014
Author: bapt
Date: Thu Jan 23 07:50:39 2014
New Revision: 340804
URL: http://svnweb.freebsd.org/changeset/ports/340804
QAT: https://qat.redports.org/buildarchive/r340804/
Log:
Support stage
Use options helpers
Modified:
head/devel/popt/Makefile
head/devel/popt/pkg-plist
Modified: head/devel/popt/Makefile
==============================================================================
--- head/devel/popt/Makefile Thu Jan 23 05:29:56 2014 (r340803)
+++ head/devel/popt/Makefile Thu Jan 23 07:50:39 2014 (r340804)
@@ -9,6 +9,8 @@ MASTER_SITES= http://rpm5.org/files/popt
MAINTAINER= jpaetzel at FreeBSD.org
COMMENT= A getopt(3) like library with a number of enhancements, from Redhat
+OPTIONS_DEFINE= NLS
+
CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} \
--program-prefix=""
CPPFLAGS+= -I${LOCALBASE}/include
@@ -18,18 +20,8 @@ USE_AUTOTOOLS= libtool
USES= pathfix iconv
USE_LDCONFIG= yes
-MAN3= popt.3
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-CONFIGURE_ARGS+=--enable-nls
-PLIST_SUB+= NLS=""
-USES+= gettext
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
+NLS_CONFIGURE_ENABLE= nls
+NLS_USES= gettext
+OPTIONS_SUB= yes
.include <bsd.port.mk>
Modified: head/devel/popt/pkg-plist
==============================================================================
--- head/devel/popt/pkg-plist Thu Jan 23 05:29:56 2014 (r340803)
+++ head/devel/popt/pkg-plist Thu Jan 23 07:50:39 2014 (r340804)
@@ -4,6 +4,7 @@ lib/libpopt.la
lib/libpopt.so
lib/libpopt.so.0
libdata/pkgconfig/popt.pc
+man/man3/popt.3.gz
%%NLS%%share/locale/cs/LC_MESSAGES/popt.mo
%%NLS%%share/locale/da/LC_MESSAGES/popt.mo
%%NLS%%share/locale/de/LC_MESSAGES/popt.mo
More information about the svn-ports-all
mailing list