aboutsummaryrefslogtreecommitdiff
path: root/sysutils/duff/Makefile
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2013-10-03 03:26:20 +0000
committerJason E. Hale <jhale@FreeBSD.org>2013-10-03 03:26:20 +0000
commit6bedae9691ce723e892918d259de824484a35f41 (patch)
tree862e62f23a5378685a1643afca9ebae72d8d3e0d /sysutils/duff/Makefile
parent3834953215e9620e6912cd72e4b3fd72aa1eb648 (diff)
downloadports-6bedae9691ce723e892918d259de824484a35f41.tar.gz
ports-6bedae9691ce723e892918d259de824484a35f41.zip
Notes
Diffstat (limited to 'sysutils/duff/Makefile')
-rw-r--r--sysutils/duff/Makefile23
1 files changed, 5 insertions, 18 deletions
diff --git a/sysutils/duff/Makefile b/sysutils/duff/Makefile
index f13f44c46245..36be8c9c6dd1 100644
--- a/sysutils/duff/Makefile
+++ b/sysutils/duff/Makefile
@@ -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
-
-post-patch:
-.if !${PORT_OPTIONS:MDOCS}
- @${REINPLACE_CMD} '/^install-data-am:/s/install-dist_docDATA//' \
- ${WRKSRC}/Makefile.in
-.endif
+OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
+
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
.include <bsd.port.mk>