Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Oct 2013 03:26:21 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r329136 - head/sysutils/duff
Message-ID:  <201310030326.r933QL5x065060@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@boldquot/LC_MESSAGES/duff.mo



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