aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-10-06 23:27:54 +0800
committereadler <eadler@FreeBSD.org>2012-10-06 23:27:54 +0800
commit930e78a4d15697f3f27820730c35ec5cc3961b77 (patch)
tree47a3d683057cdefe3f2e37baf6dd57c967663805 /sysutils
parent135adf19fa5c6547b39b33377cf97be39d42b9e4 (diff)
downloadfreebsd-ports-gnome-930e78a4d15697f3f27820730c35ec5cc3961b77.tar.gz
freebsd-ports-gnome-930e78a4d15697f3f27820730c35ec5cc3961b77.tar.zst
freebsd-ports-gnome-930e78a4d15697f3f27820730c35ec5cc3961b77.zip
Convert to OptionsNG
Note that GPL is not COPYFREE LICENSE_PERMS should not use an internal variable Trim headers Approved by: jhale (maintainer)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/duff/Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/sysutils/duff/Makefile b/sysutils/duff/Makefile
index cfa1395036ab..9e4ad934d7d2 100644
--- a/sysutils/duff/Makefile
+++ b/sysutils/duff/Makefile
@@ -1,9 +1,4 @@
-# New ports collection makefile for: duff
-# Date created: 2009-06-10
-# Whom: Jason E. Hale <bsdkaffee@gmail.com>
-#
# $FreeBSD$
-#
PORTNAME= duff
PORTVERSION= 0.5.2
@@ -14,10 +9,10 @@ MAINTAINER= jhale@FreeBSD.org
COMMENT= Duplicate file finder
LICENSE= ZLIB
-LICENSE_GROUPS= FSF OSI COPYFREE
+LICENSE_GROUPS= FSF OSI
LICENSE_NAME= ZLIB license
LICENSE_FILE= ${WRKSRC}/COPYING
-LICENSE_PERMS= ${_LICENSE_PERMS_DEFAULT}
+LICENSE_PERMS= auto-accept
USE_BZIP2= yes
GNU_CONFIGURE= yes
@@ -28,13 +23,11 @@ LDFLAGS+= -L${LOCALBASE}/lib
MAN1= duff.1
-OPTIONS= NLS "Native Language Support" on
-
PORTDOCS= README.SHA
.include <bsd.port.options.mk>
-.if !defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
PLIST_SUB= NLS=""
.else
@@ -43,7 +36,7 @@ PLIST_SUB= NLS="@comment "
.endif
post-patch:
-.if defined(NOPORTDOCS)
+.if !${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} '/^install-data-am:/s/install-dist_docDATA//' \
${WRKSRC}/Makefile.in
.endif