Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Apr 2013 19:30:42 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r316473 - head/lang/p5-Test-XPath
Message-ID:  <201304241930.r3OJUgMf094620@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Wed Apr 24 19:30:42 2013
New Revision: 316473
URL: http://svnweb.freebsd.org/changeset/ports/316473

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

Modified:
  head/lang/p5-Test-XPath/Makefile   (contents, props changed)

Modified: head/lang/p5-Test-XPath/Makefile
==============================================================================
--- head/lang/p5-Test-XPath/Makefile	Wed Apr 24 19:19:25 2013	(r316472)
+++ head/lang/p5-Test-XPath/Makefile	Wed Apr 24 19:30:42 2013	(r316473)
@@ -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



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