aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Class-Accessor-Chained
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2007-08-31 13:37:23 +0000
committerMathieu Arnold <mat@FreeBSD.org>2007-08-31 13:37:23 +0000
commitd1850a3d8ce1023f97814bd5db8642bfc8e695e0 (patch)
treebba44484f7b230fd6b557cc34a841c889282242a /devel/p5-Class-Accessor-Chained
parentff334859ab3a3bf4271f7fce3a419dc3c28772be (diff)
downloadports-d1850a3d8ce1023f97814bd5db8642bfc8e695e0.tar.gz
ports-d1850a3d8ce1023f97814bd5db8642bfc8e695e0.zip
Use the CPAN site macro.
Use DISTVERSION in place of DISTNAME where possible. Remove perl 5.005 shims.
Notes
Notes: svn path=/head/; revision=198588
Diffstat (limited to 'devel/p5-Class-Accessor-Chained')
-rw-r--r--devel/p5-Class-Accessor-Chained/Makefile13
1 files changed, 2 insertions, 11 deletions
diff --git a/devel/p5-Class-Accessor-Chained/Makefile b/devel/p5-Class-Accessor-Chained/Makefile
index 1e28cf4a5f36..48c5c3398973 100644
--- a/devel/p5-Class-Accessor-Chained/Makefile
+++ b/devel/p5-Class-Accessor-Chained/Makefile
@@ -8,8 +8,7 @@
PORTNAME= Class-Accessor-Chained
PORTVERSION= 0.01
CATEGORIES= devel perl5
-MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR= Class
+MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= mat@FreeBSD.org
@@ -23,12 +22,4 @@ PERL_MODBUILD= yes
MAN3= Class::Accessor::Chained.3 \
Class::Accessor::Chained::Fast.3
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500601
-post-patch:
- ${PERL} -pi -e 's/our ([^ ]+)/use vars qw($$1); $$1/;' \
- ${WRKSRC}/lib/Class/Accessor/Chained.pm
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>