aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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