svn commit: r329136 - head/sysutils/duff
Jason E. Hale
jhale at FreeBSD.org
Thu Oct 3 03:26:21 UTC 2013
Author: jhale
Date: Thu Oct 3 03:26:20 2013
New Revision: 329136
URL: http://svnweb.freebsd.org/changeset/ports/329136
Log:
- Support staging
- Convert to new options macros
Modified:
head/sysutils/duff/Makefile
head/sysutils/duff/pkg-plist (contents, props changed)
Modified: head/sysutils/duff/Makefile
==============================================================================
--- head/sysutils/duff/Makefile Thu Oct 3 01:09:54 2013 (r329135)
+++ head/sysutils/duff/Makefile Thu Oct 3 03:26:20 2013 (r329136)
@@ -17,25 +17,12 @@ GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-MAN1= duff.1
-
PORTDOCS= README.SHA
-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_DEFINE= NLS
+OPTIONS_SUB= yes
-post-patch:
-.if !${PORT_OPTIONS:MDOCS}
- @${REINPLACE_CMD} '/^install-data-am:/s/install-dist_docDATA//' \
- ${WRKSRC}/Makefile.in
-.endif
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
.include <bsd.port.mk>
Modified: head/sysutils/duff/pkg-plist
==============================================================================
--- head/sysutils/duff/pkg-plist Thu Oct 3 01:09:54 2013 (r329135)
+++ head/sysutils/duff/pkg-plist Thu Oct 3 03:26:20 2013 (r329136)
@@ -1,4 +1,5 @@
bin/duff
+man/man1/duff.1.gz
share/duff/join-duplicates.sh
%%NLS%%share/locale/en/LC_MESSAGES/duff.mo
%%NLS%%share/locale/en at boldquot/LC_MESSAGES/duff.mo
More information about the svn-ports-all
mailing list