aboutsummaryrefslogtreecommitdiff
path: root/lang/p5-Test-XPath
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2013-04-24 19:30:42 +0000
committerSteve Wills <swills@FreeBSD.org>2013-04-24 19:30:42 +0000
commit0c0e237085f018bc86b151f079b6b78cb6cb1907 (patch)
tree2f873561cd36d141e94989a9a31dde50496840cf /lang/p5-Test-XPath
parentd32fc48d82cffefe971796b031d73ca432be3fde (diff)
downloadports-0c0e237085f018bc86b151f079b6b78cb6cb1907.tar.gz
ports-0c0e237085f018bc86b151f079b6b78cb6cb1907.zip
- Convert to OptionsNG
- Trim headers while here PR: ports/177161 Submitted by: milki <milki@rescomp.berkeley.edu> (maintainer)
Notes
Notes: svn path=/head/; revision=316473
Diffstat (limited to 'lang/p5-Test-XPath')
-rw-r--r--lang/p5-Test-XPath/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/lang/p5-Test-XPath/Makefile b/lang/p5-Test-XPath/Makefile
index 499ac1321338..9b41cb188d3a 100644
--- a/lang/p5-Test-XPath/Makefile
+++ b/lang/p5-Test-XPath/Makefile
@@ -1,9 +1,4 @@
-# New ports collection makefile for: p5-Test-XPath
-# Date created: 25 April 2010
-# Whom: milki
-#
# $FreeBSD$
-#
PORTNAME= Test-XPath
PORTVERSION= 0.16
@@ -24,16 +19,18 @@ PERL_MODBUILD= yes
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