diff options
author | swills <swills@FreeBSD.org> | 2013-04-25 03:30:42 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2013-04-25 03:30:42 +0800 |
commit | 564f55e3c9cddf0bb11a4a71c4f3e5fcc1834143 (patch) | |
tree | 2f873561cd36d141e94989a9a31dde50496840cf /lang | |
parent | c75b99e32c2d03763f72b3d83146f18b90bb29df (diff) | |
download | freebsd-ports-gnome-564f55e3c9cddf0bb11a4a71c4f3e5fcc1834143.tar.gz freebsd-ports-gnome-564f55e3c9cddf0bb11a4a71c4f3e5fcc1834143.tar.zst freebsd-ports-gnome-564f55e3c9cddf0bb11a4a71c4f3e5fcc1834143.zip |
- Convert to OptionsNG
- Trim headers while here
PR: ports/177161
Submitted by: milki <milki@rescomp.berkeley.edu> (maintainer)
Diffstat (limited to 'lang')
-rw-r--r-- | lang/p5-Test-XPath/Makefile | 15 |
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 |