summaryrefslogtreecommitdiffstats
path: root/devel/p5-Class-Accessor
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2003-04-30 15:02:23 +0000
committerskv <skv@FreeBSD.org>2003-04-30 15:02:23 +0000
commit9892a71d20f2de5df29a8279e91c6994d3e44410 (patch)
treefd1eae3263823df6d77d5e950d7f740950d8a3dc /devel/p5-Class-Accessor
parentae9cea2c6920dc6dc5d4446df6d4adcc6096b9f6 (diff)
downloadFreeBSD-ports-9892a71d20f2de5df29a8279e91c6994d3e44410.zip
FreeBSD-ports-9892a71d20f2de5df29a8279e91c6994d3e44410.tar.gz
Updated to 0.18
Diffstat (limited to 'devel/p5-Class-Accessor')
-rw-r--r--devel/p5-Class-Accessor/Makefile14
-rw-r--r--devel/p5-Class-Accessor/distinfo2
-rw-r--r--devel/p5-Class-Accessor/pkg-descr2
-rw-r--r--devel/p5-Class-Accessor/pkg-plist14
4 files changed, 18 insertions, 14 deletions
diff --git a/devel/p5-Class-Accessor/Makefile b/devel/p5-Class-Accessor/Makefile
index 2985c39..f06f79a 100644
--- a/devel/p5-Class-Accessor/Makefile
+++ b/devel/p5-Class-Accessor/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Class-Accessor
-PORTVERSION= 0.17
+PORTVERSION= 0.18
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Class
@@ -15,12 +15,16 @@ PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= Automated accessor generation
-BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/base.pm:${PORTSDIR}/devel/p5-Class-Fields
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
PERL_CONFIGURE= yes
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Class::Accessor.3 Class::Accessor::Fast.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+BUILD_DEPENDS= ${SITE_PERL}/base.pm:${PORTSDIR}/devel/p5-Class-Fields
+RUN_DEPENDS= ${BUILD_DEPENDS}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Class-Accessor/distinfo b/devel/p5-Class-Accessor/distinfo
index a5156c2..0eff986 100644
--- a/devel/p5-Class-Accessor/distinfo
+++ b/devel/p5-Class-Accessor/distinfo
@@ -1 +1 @@
-MD5 (Class-Accessor-0.17.tar.gz) = 2d7d388b201b505158c0761cc6efed4f
+MD5 (Class-Accessor-0.18.tar.gz) = 860d3c4c624f5f3d98bca1944d620ba9
diff --git a/devel/p5-Class-Accessor/pkg-descr b/devel/p5-Class-Accessor/pkg-descr
index a6edd4d..290386f 100644
--- a/devel/p5-Class-Accessor/pkg-descr
+++ b/devel/p5-Class-Accessor/pkg-descr
@@ -1,6 +1,6 @@
This module automagically generates accessor/mutators for your class.
-WWW: http://search.cpan.org/search?dist=Class-Accessor
+WWW: http://search.cpan.org/dist/Class-Accessor/
-- Sergey Skvortsov
skv@FreeBSD.org
diff --git a/devel/p5-Class-Accessor/pkg-plist b/devel/p5-Class-Accessor/pkg-plist
index c7d8308..a667a70 100644
--- a/devel/p5-Class-Accessor/pkg-plist
+++ b/devel/p5-Class-Accessor/pkg-plist
@@ -1,7 +1,7 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/Accessor/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/Class/Accessor.pm
-lib/perl5/site_perl/%%PERL_VER%%/Class/Accessor/Fast.pm
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/Class/Accessor
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/Accessor
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Class 2>/dev/null || true
-@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class 2>/dev/null || true
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Accessor/.packlist
+%%SITE_PERL%%/Class/Accessor.pm
+%%SITE_PERL%%/Class/Accessor/Fast.pm
+@dirrm %%SITE_PERL%%/Class/Accessor
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Accessor
+@unexec rmdir %D/%%SITE_PERL%%/Class 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class 2>/dev/null || true
OpenPOWER on IntegriCloud