Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Oct 2012 15:27:55 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305376 - head/sysutils/duff
Message-ID:  <201210061527.q96FRtTS088709@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210061527.q96FRtTS088709>