svn commit: r316475 - head/www/p5-Pod-Site

Steve Wills swills at FreeBSD.org
Wed Apr 24 19:35:39 UTC 2013


Author: swills
Date: Wed Apr 24 19:35:38 2013
New Revision: 316475
URL: http://svnweb.freebsd.org/changeset/ports/316475

Log:
  - Convert to OptionsNG
  - Trim headers while here
  
  PR:		ports/177160
  Submitted by:	milki <milki at rescomp.berkeley.edu> (maintainer)

Modified:
  head/www/p5-Pod-Site/Makefile   (contents, props changed)

Modified: head/www/p5-Pod-Site/Makefile
==============================================================================
--- head/www/p5-Pod-Site/Makefile	Wed Apr 24 19:34:03 2013	(r316474)
+++ head/www/p5-Pod-Site/Makefile	Wed Apr 24 19:35:38 2013	(r316475)
@@ -1,9 +1,4 @@
-# New ports collection makefile for:	p5-Pod-Site
-# Date created:				25 April 2010
-# Whom:					milki
-#
 # $FreeBSD$
-#
 
 PORTNAME=	Pod-Site
 PORTVERSION=	0.53
@@ -21,12 +16,13 @@ LICENSE_COMB=	dual
 BUILD_DEPENDS=	p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser \
 		p5-Object-Tiny>=0:${PORTSDIR}/devel/p5-Object-Tiny
 RUN_DEPENDS:=	${BUILD_DEPENDS}
-
 TEST_DEPENDS=	p5-Test-File>=0:${PORTSDIR}/devel/p5-Test-File \
 		p5-Test-MockModule>=0.05:${PORTSDIR}/devel/p5-Test-MockModule \
 		p5-Test-XPath>=0.12:${PORTSDIR}/lang/p5-Test-XPath
 
-OPTIONS=	PODT "Include Pod package tests" off
+OPTIONS_DEFINE=	PODT
+
+PODT_DESC=	Include Pod package tests
 
 PERL_MODBUILD=	yes
 
@@ -35,7 +31,7 @@ MAN3=		Pod::Site.3
 
 .include <bsd.port.options.mk>
 
-.if defined(WITH_PODT)
+.if ${PORT_OPTIONS:MPODT}
 TEST_DEPENDS+=	p5-Test-Pod>=1.41:${PORTSDIR}/devel/p5-Test-Pod \
 		p5-Test-Pod-Coverage>=1.06:${PORTSDIR}/devel/p5-Test-Pod-Coverage
 .endif


More information about the svn-ports-all mailing list