From 3af551b053b0360d6e1a09d42cdd282f742f0909 Mon Sep 17 00:00:00 2001 From: swills Date: Wed, 24 Apr 2013 19:35:38 +0000 Subject: - Convert to OptionsNG - Trim headers while here PR: ports/177160 Submitted by: milki (maintainer) --- www/p5-Pod-Site/Makefile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'www') 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 -.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 -- cgit