aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Class-Std-Fast
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-07-31 08:02:04 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-07-31 08:02:04 +0000
commit08bfe2f764ec749fb2ae4c789f2ad38d6fe2b320 (patch)
tree8a50f3055c3089ac0cfbf625e5e3a87352a0b369 /devel/p5-Class-Std-Fast
parentc3104cc411d02117b6feddf13c1d0904e29f9004 (diff)
downloadports-08bfe2f764ec749fb2ae4c789f2ad38d6fe2b320.tar.gz
ports-08bfe2f764ec749fb2ae4c789f2ad38d6fe2b320.zip
Notes
Diffstat (limited to 'devel/p5-Class-Std-Fast')
-rw-r--r--devel/p5-Class-Std-Fast/Makefile25
-rw-r--r--devel/p5-Class-Std-Fast/pkg-plist4
2 files changed, 20 insertions, 9 deletions
diff --git a/devel/p5-Class-Std-Fast/Makefile b/devel/p5-Class-Std-Fast/Makefile
index e2acc6ed7d43..5890991de40c 100644
--- a/devel/p5-Class-Std-Fast/Makefile
+++ b/devel/p5-Class-Std-Fast/Makefile
@@ -7,7 +7,8 @@
PORTNAME= Class-Std-Fast
PORTVERSION= 0.0.8
-DISTVERSION= v0.0.8
+DISTVERSIONPREFIX= v
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -15,12 +16,22 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Faster but less secure than Class::Std
-BUILD_DEPENDS= p5-Test-Simple>=0.86:${PORTSDIR}/devel/p5-Test-Simple
-RUN_DEPENDS= p5-version>=0:${PORTSDIR}/devel/p5-version \
- p5-Class-Std>=0.0.9:${PORTSDIR}/devel/p5-Class-Std
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
-PERL_CONFIGURE= YES
+BUILD_DEPENDS= p5-Class-Std>=0.0.9:${PORTSDIR}/devel/p5-Class-Std
+RUN_DEPENDS:= ${BUILD_DEPENDS}
-MAN3= Class::Std::Fast.3 Class::Std::Fast::Storable.3
+PERL_CONFIGURE= yes
-.include <bsd.port.mk>
+MAN3= Class::Std::Fast.3 \
+ Class::Std::Fast::Storable.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+BUILD_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version
+RUN_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Class-Std-Fast/pkg-plist b/devel/p5-Class-Std-Fast/pkg-plist
index 15040f6b383a..7a887a0f66c1 100644
--- a/devel/p5-Class-Std-Fast/pkg-plist
+++ b/devel/p5-Class-Std-Fast/pkg-plist
@@ -1,9 +1,9 @@
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Std/Fast/.packlist
%%SITE_PERL%%/Class/Std/Fast.pm
%%SITE_PERL%%/Class/Std/Fast/Storable.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Std/Fast/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Std/Fast
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Std
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class
-@dirrmtry %%SITE_PERL%%/Class/Std/Fast
+@dirrm %%SITE_PERL%%/Class/Std/Fast
@dirrmtry %%SITE_PERL%%/Class/Std
@dirrmtry %%SITE_PERL%%/Class