aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2013-04-25 03:35:38 +0800
committerswills <swills@FreeBSD.org>2013-04-25 03:35:38 +0800
commit3af551b053b0360d6e1a09d42cdd282f742f0909 (patch)
tree2714f8503d59194214ea2e595ad0f476d7832dd4 /www
parente0b657ce2316d1dbbdc4d396dc3c32d13ab7f6b8 (diff)
downloadfreebsd-ports-gnome-3af551b053b0360d6e1a09d42cdd282f742f0909.tar.gz
freebsd-ports-gnome-3af551b053b0360d6e1a09d42cdd282f742f0909.tar.zst
freebsd-ports-gnome-3af551b053b0360d6e1a09d42cdd282f742f0909.zip
- Convert to OptionsNG
- Trim headers while here PR: ports/177160 Submitted by: milki <milki@rescomp.berkeley.edu> (maintainer)
Diffstat (limited to 'www')
-rw-r--r--www/p5-Pod-Site/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/www/p5-Pod-Site/Makefile b/www/p5-Pod-Site/Makefile
index 65d0b976afa0..3631985d919e 100644
--- a/www/p5-Pod-Site/Makefile
+++ b/www/p5-Pod-Site/Makefile
@@ -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