aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2011-07-23 05:12:30 +0800
committersunpoet <sunpoet@FreeBSD.org>2011-07-23 05:12:30 +0800
commit76e5a07a394a5f68d2d84d602a9b1c9d0cffc752 (patch)
tree4a37f0c8bd9f071dfb54f0c28838e76e1e3bcbfc
parent2e814ede0b7a51e0d13d5b6aecdc24724cec961f (diff)
downloadfreebsd-ports-gnome-76e5a07a394a5f68d2d84d602a9b1c9d0cffc752.tar.gz
freebsd-ports-gnome-76e5a07a394a5f68d2d84d602a9b1c9d0cffc752.tar.zst
freebsd-ports-gnome-76e5a07a394a5f68d2d84d602a9b1c9d0cffc752.zip
- Add LICENSE
- Add OPTIONS: PODT - Fix *_DEPENDS - Bump PORTREVISION for dependency change PR: ports/158943 Submitted by: milki <milki@rescomp.berkeley.edu> (maintainer)
-rw-r--r--www/p5-Pod-Site/Makefile46
1 files changed, 32 insertions, 14 deletions
diff --git a/www/p5-Pod-Site/Makefile b/www/p5-Pod-Site/Makefile
index 66a5ac8148b3..5cbef32d1771 100644
--- a/www/p5-Pod-Site/Makefile
+++ b/www/p5-Pod-Site/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Pod-Site
PORTVERSION= 0.52
+PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:DWHEELER
@@ -15,22 +16,39 @@ PKGNAMEPREFIX= p5-
MAINTAINER= milki@rescomp.berkeley.edu
COMMENT= Build browsable HTML documentation for your app
-BUILD_DEPENDS= p5-Module-Build>=0.35:${PORTSDIR}/devel/p5-Module-Build \
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+RUN_DEPENDS= p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser \
+ p5-Object-Tiny>=0:${PORTSDIR}/devel/p5-Object-Tiny
+
+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 \
- p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
-RUN_DEPENDS= p5-File-Path>=2.07:${PORTSDIR}/devel/p5-File-Path \
- p5-Getopt-Long>=0:${PORTSDIR}/devel/p5-Getopt-Long \
- p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser \
- p5-Object-Tiny>=0:${PORTSDIR}/devel/p5-Object-Tiny \
- p5-Pod-Parser>=0:${PORTSDIR}/textproc/p5-Pod-Parser \
- p5-Pod-Simple>=3.12:${PORTSDIR}/textproc/p5-Pod-Simple \
- p5-PathTools>=0:${PORTSDIR}/devel/p5-PathTools
+ p5-Test-XPath>=0.12:${PORTSDIR}/lang/p5-Test-XPath
+
+OPTIONS= PODT "Include Pod package tests" off
+
+PERL_MODBUILD= yes
+
+MAN1= podsite.1
+MAN3= Pod::Site.3
+
+.include <bsd.port.options.mk>
+
+.if defined(WITH_PODT)
+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
-PERL_MODBUILD= YES
+.include <bsd.port.pre.mk>
-MAN1= podsite.1
+.if ${PERL_LEVEL} < 501001
+RUN_DEPENDS+= p5-File-Path>=2.07:${PORTSDIR}/devel/p5-File-Path
+TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
+.endif
-MAN3= Pod::Site.3
+.if ${PERL_LEVEL} < 501200
+RUN_DEPENDS+= p5-Pod-Simple>=3.12:${PORTSDIR}/textproc/p5-Pod-Simple
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>