From owner-svn-ports-head@FreeBSD.ORG Sat Oct 6 15:27:55 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 944E8106566B; Sat, 6 Oct 2012 15:27:55 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5C6C98FC0A; Sat, 6 Oct 2012 15:27:55 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q96FRtJY088711; Sat, 6 Oct 2012 15:27:55 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q96FRtTS088709; Sat, 6 Oct 2012 15:27:55 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201210061527.q96FRtTS088709@svn.freebsd.org> From: Eitan Adler Date: Sat, 6 Oct 2012 15:27:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r305376 - head/sysutils/duff X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Oct 2012 15:27:55 -0000 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 -# # $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 -.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