aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Class-Hook
diff options
context:
space:
mode:
authoraaron <aaron@FreeBSD.org>2006-06-14 11:21:49 +0800
committeraaron <aaron@FreeBSD.org>2006-06-14 11:21:49 +0800
commita09ff8cf07f278d2f3aa7e78f3714bf38d2686a9 (patch)
tree994db8bfbe0da0fed9b772cbfba5d248f08cf5d4 /devel/p5-Class-Hook
parent11182fbffd034ec3fd08e6f8c1d482491afd1a2a (diff)
downloadfreebsd-ports-graphics-a09ff8cf07f278d2f3aa7e78f3714bf38d2686a9.tar.gz
freebsd-ports-graphics-a09ff8cf07f278d2f3aa7e78f3714bf38d2686a9.tar.zst
freebsd-ports-graphics-a09ff8cf07f278d2f3aa7e78f3714bf38d2686a9.zip
- Update from v0.01 to v0.02
- Restrict to Perl 5.6+ due to problems with 'make test' and references PR: ports/98239 Submitted by: aaron Approved by: maintainer timeout, tobez (implicit)
Diffstat (limited to 'devel/p5-Class-Hook')
-rw-r--r--devel/p5-Class-Hook/Makefile15
-rw-r--r--devel/p5-Class-Hook/distinfo6
-rw-r--r--devel/p5-Class-Hook/pkg-descr1
-rw-r--r--devel/p5-Class-Hook/pkg-plist1
4 files changed, 12 insertions, 11 deletions
diff --git a/devel/p5-Class-Hook/Makefile b/devel/p5-Class-Hook/Makefile
index 1d558dbafad..585fdbc9124 100644
--- a/devel/p5-Class-Hook/Makefile
+++ b/devel/p5-Class-Hook/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Class-Hook
-PORTVERSION= 0.01
+PORTVERSION= 0.02
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
http://cottage.quynh-and-brian.org/freebsd/ports/distfiles/
@@ -16,17 +16,18 @@ PKGNAMEPREFIX= p5-
MAINTAINER= brian@quynh-and-brian.org
COMMENT= Add hooks on methods from other classes
-BUILD_DEPENDS= ${ARCH_PERL}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \
${SITE_PERL}/Test/Simple.pm:${PORTSDIR}/devel/p5-Test-Simple
PERL_CONFIGURE= yes
+WRKSRC= ${WRKDIR}/Class-Hook
MAN3= Class::Hook.3
-ARCH_PERL= ${SITE_PERL}/${PERL_ARCH}
+.include <bsd.port.pre.mk>
-post-patch:
- @${PERL} -pi -e 's/^our (\S+)/use vars qw($$1); $$1/' \
- ${WRKSRC}/lib/Class/Hook.pm
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires at least Perl 5.6. Please install lang/perl5.8 and try again
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Class-Hook/distinfo b/devel/p5-Class-Hook/distinfo
index a7f65c80e9c..29310164fc7 100644
--- a/devel/p5-Class-Hook/distinfo
+++ b/devel/p5-Class-Hook/distinfo
@@ -1,3 +1,3 @@
-MD5 (Class-Hook-0.01.tar.gz) = 2673eaf63bd9beb587c0425418fa926e
-SHA256 (Class-Hook-0.01.tar.gz) = 7587c36734203166837f21ee14f7ac75d5dc63906dc25a218c2897f4a40d50a6
-SIZE (Class-Hook-0.01.tar.gz) = 4342
+MD5 (Class-Hook-0.02.tar.gz) = f86e4401873e99e6bd89d7b306c30298
+SHA256 (Class-Hook-0.02.tar.gz) = 7b9ac7320de09584249e723ebcf8b6004fdd03af9e027febad290491c43315b8
+SIZE (Class-Hook-0.02.tar.gz) = 7550
diff --git a/devel/p5-Class-Hook/pkg-descr b/devel/p5-Class-Hook/pkg-descr
index 3687f93eefa..d4d8c9c6595 100644
--- a/devel/p5-Class-Hook/pkg-descr
+++ b/devel/p5-Class-Hook/pkg-descr
@@ -11,6 +11,7 @@ information that Foo->amethod will receive, so you can trace everything
between your code and Foo.
WWW: http://search.cpan.org/dist/Class-Hook/
+Author: Pierre Denis <pierre@itrelease.net>
~brian skrab
brian@quynh-and-brian.org
diff --git a/devel/p5-Class-Hook/pkg-plist b/devel/p5-Class-Hook/pkg-plist
index de36a9d7c3a..7156f6a8241 100644
--- a/devel/p5-Class-Hook/pkg-plist
+++ b/devel/p5-Class-Hook/pkg-plist
@@ -1,5 +1,4 @@
%%SITE_PERL%%/Class/Hook.pm
-%%SITE_PERL%%/Class/FOO.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Hook/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Hook
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class