aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Class-Measure/Makefile
diff options
context:
space:
mode:
authorFrederic Culot <culot@FreeBSD.org>2012-03-22 09:48:42 +0000
committerFrederic Culot <culot@FreeBSD.org>2012-03-22 09:48:42 +0000
commit98e524b7792157d5e7ecc96370a0ae0e3c76b6e8 (patch)
treea6d4750919f35e1de8ad4d49ff26a5968fe6fb35 /devel/p5-Class-Measure/Makefile
parent19adccb511c8fb414b8bf2e9be424efa0fcf05f2 (diff)
Notes
Diffstat (limited to 'devel/p5-Class-Measure/Makefile')
-rw-r--r--devel/p5-Class-Measure/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/devel/p5-Class-Measure/Makefile b/devel/p5-Class-Measure/Makefile
index 77d9d5ac19d9..dc520b0997e2 100644
--- a/devel/p5-Class-Measure/Makefile
+++ b/devel/p5-Class-Measure/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Class-Measure
-PORTVERSION= 0.04
+PORTVERSION= 0.05
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= Class
@@ -15,10 +15,19 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Create, compare, and convert units of measurement
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
BUILD_DEPENDS= p5-Sub-Exporter>=0.982:${PORTSDIR}/devel/p5-Sub-Exporter
PERL_CONFIGURE= yes
MAN3= Class::Measure.3 Class::Measure::Length.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+TEST_DEPENDS+= p5-Test-Simple>=0.82:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>