ports/177161: [MAINTAINER] lang/p5-Test-XPath: Convert to OptionsNG

milki milki at rescomp.berkeley.edu
Wed Mar 20 21:20:03 UTC 2013


>Number:         177161
>Category:       ports
>Synopsis:       [MAINTAINER] lang/p5-Test-XPath: Convert to OptionsNG
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 20 21:20:02 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     milki
>Release:        FreeBSD 8.3-RELEASE-p3 amd64
>Organization:
cibo
>Environment:
System: FreeBSD cibo.ircmylife.com 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #0: Tue Jun 12 00:39:29 UTC 2012
>Description:
Convert to OptionsNG

Generated with FreeBSD Port Tools 0.99_7 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- p5-Test-XPath-0.16.patch begins here ---
diff -ruN /usr/ports/lang/p5-Test-XPath/Makefile ./Makefile
--- /usr/ports/lang/p5-Test-XPath/Makefile	2012-11-16 21:58:54.000000000 -0800
+++ ./Makefile	2013-03-20 14:04:55.000000000 -0700
@@ -1,9 +1,4 @@
-# New ports collection makefile for:	p5-Test-XPath
-# Date created:		25 April 2010
-# Whom:		milki
-#
 # $FreeBSD: ports/lang/p5-Test-XPath/Makefile,v 1.7 2012/11/17 05:58:54 svnexp Exp $
-#
 
 PORTNAME=	Test-XPath
 PORTVERSION=	0.16
@@ -24,16 +19,18 @@
 
 MAN3=		Test::XPath.3
 
-OPTIONS=	CSS "Include CSS selectors" Off \
-		PODT "Include Pod package test dependencies" Off
+OPTIONS_DEFINE=	CSS PODT
+
+CSS_DESC=	Include CSS selectors
+PODT_DESC=	Include Pod package test dependencies
 
 .include <bsd.port.options.mk>
 
-.if !defined(WITHOUT_CSS)
+.if ${PORT_OPTIONS:MCSS}
 RUN_DEPENDS+=	p5-HTML-Selector-XPath>=0.06:${PORTSDIR}/www/p5-HTML-Selector-XPath
 .endif
 
-.if !defined(WITHOUT_PODT)
+.if ${PORT_OPTIONS:MPODT}
 TEST_DEPENDS+=	p5-Pod-Coverage>=0:${PORTSDIR}/devel/p5-Pod-Coverage \
 		p5-Test-Pod>=1.41:${PORTSDIR}/devel/p5-Test-Pod
 .endif
--- p5-Test-XPath-0.16.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list