Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2012 21:34:46 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306356 - head/ports-mgmt/porttools
Message-ID:  <201210242134.q9OLYkdL001897@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Wed Oct 24 21:34:46 2012
New Revision: 306356
URL: http://svn.freebsd.org/changeset/ports/306356

Log:
  - Convert to OptionsNG [1]
  - Trim Makefile header
  
  PR:		ports/172524 [1]
  Submitted by:	skreuzer@ [1]
  Approved by:	maintainer timeout (16 days)
  Feature safe:	yes

Modified:
  head/ports-mgmt/porttools/Makefile

Modified: head/ports-mgmt/porttools/Makefile
==============================================================================
--- head/ports-mgmt/porttools/Makefile	Wed Oct 24 21:26:48 2012	(r306355)
+++ head/ports-mgmt/porttools/Makefile	Wed Oct 24 21:34:46 2012	(r306356)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	porttools
-# Date created:		2003-06-18
-# Whom:			Sergei Kolobov <sergei@kolobov.com>
-#
+# Created by: Sergei Kolobov <sergei@kolobov.com>
 # $FreeBSD$
-#
 
 PORTNAME=	porttools
 PORTVERSION=	0.99
@@ -36,11 +32,14 @@ MAKE_ENV+=	PORTEPOCH="${PORTEPOCH}"
 MAN1=		port.1
 MAN5=		porttools.5
 
-OPTIONS=	NEWFILE "Enable newfile support" on
+OPTIONS_DEFINE=	NEWFILE
+OPTIONS_DEFAULT=	NEWFILE
+
+NEWFILE_DESC=	Enable newfile support
 
 .include <bsd.port.options.mk>
 
-.if !defined(WITHOUT_NEWFILE)
+.if ${PORT_OPTIONS:MNEWFILE}
 RUN_DEPENDS+=	newfile:${PORTSDIR}/devel/newfile
 .endif
 



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