svn commit: r305376 - head/sysutils/duff
Eitan Adler
eadler at FreeBSD.org
Sat Oct 6 15:27:55 UTC 2012
Author: eadler
Date: Sat Oct 6 15:27:54 2012
New Revision: 305376
URL: http://svn.freebsd.org/changeset/ports/305376
Log:
Convert to OptionsNG
Note that GPL is not COPYFREE
LICENSE_PERMS should not use an internal variable
Trim headers
Approved by: jhale (maintainer)
Modified:
head/sysutils/duff/Makefile
Modified: head/sysutils/duff/Makefile
==============================================================================
--- head/sysutils/duff/Makefile Sat Oct 6 15:24:48 2012 (r305375)
+++ head/sysutils/duff/Makefile Sat Oct 6 15:27:54 2012 (r305376)
@@ -1,9 +1,4 @@
-# New ports collection makefile for: duff
-# Date created: 2009-06-10
-# Whom: Jason E. Hale <bsdkaffee at gmail.com>
-#
# $FreeBSD$
-#
PORTNAME= duff
PORTVERSION= 0.5.2
@@ -14,10 +9,10 @@ MAINTAINER= jhale at 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
More information about the svn-ports-head
mailing list