Convert to OptionsNG

Note that GPL is not COPYFREE
LICENSE_PERMS should not use an internal variable
Trim headers

Approved by:	jhale (maintainer)
This commit is contained in:
Eitan Adler 2012-10-06 15:27:54 +00:00
parent ab18d77909
commit 0931eb9993
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=305376

View file

@ -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