diff options
author | Lars Balker Rasmussen <lbr@FreeBSD.org> | 2007-05-25 09:01:37 +0000 |
---|---|---|
committer | Lars Balker Rasmussen <lbr@FreeBSD.org> | 2007-05-25 09:01:37 +0000 |
commit | b4cef8628ab47955bee764ce776d9fa0a8b2fc82 (patch) | |
tree | 6062fe5ee494944248a8020567992a5e08555f55 /devel/p5-Class-C3 | |
parent | 825f0594bf817f9603cdd3f6830476b54bfda037 (diff) | |
download | ports-b4cef8628ab47955bee764ce776d9fa0a8b2fc82.tar.gz ports-b4cef8628ab47955bee764ce776d9fa0a8b2fc82.zip |
Notes
Diffstat (limited to 'devel/p5-Class-C3')
-rw-r--r-- | devel/p5-Class-C3/Makefile | 21 | ||||
-rw-r--r-- | devel/p5-Class-C3/distinfo | 6 | ||||
-rw-r--r-- | devel/p5-Class-C3/pkg-plist | 5 |
3 files changed, 22 insertions, 10 deletions
diff --git a/devel/p5-Class-C3/Makefile b/devel/p5-Class-C3/Makefile index 6bd854ded6c0..5b64ff1cdec4 100644 --- a/devel/p5-Class-C3/Makefile +++ b/devel/p5-Class-C3/Makefile @@ -6,7 +6,7 @@ # PORTNAME= Class-C3 -PORTVERSION= 0.14 +PORTVERSION= 0.18 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Class @@ -15,17 +15,24 @@ PKGNAMEPREFIX= p5- MAINTAINER= lbr@FreeBSD.org COMMENT= A pragma to use the C3 method resolution order algorithm -RUN_DEPENDS= p5-Algorithm-C3>=0.05:${PORTSDIR}/devel/p5-Algorithm-C3 +OPTIONS= XS "XS Speedoffs" off + +.include <bsd.port.pre.mk> + +.ifdef(WITH_XS) +RUN_DEPENDS= p5-Class-C3-XS>=0.06:${PORTSDIR}/devel/p5-Class-C3-XS +.else +RUN_DEPENDS= p5-Algorithm-C3>=0.06:${PORTSDIR}/devel/p5-Algorithm-C3 +.endif BUILD_DEPENDS= ${RUN_DEPENDS} -PERL_MODBUILD= yes +PERL_CONFIGURE= yes -MAN3= Class::C3.3 +MAN3= Class::C3.3 \ + Class::C3::next.3 post-extract: - @${PERL} -i.bak -ne 'print unless m,Test::,' ${WRKSRC}/Build.PL - -.include <bsd.port.pre.mk> + @${PERL} -i.bak -ne 'print unless m,^if, .. m,}$$,' ${WRKSRC}/Makefile.PL .if ${PERL_LEVEL} < 500800 # Inherited from devel/p5-Algorithm-C3 IGNORE= requires perl 5.8.x or later, install lang/perl5.8 diff --git a/devel/p5-Class-C3/distinfo b/devel/p5-Class-C3/distinfo index 80d92610af35..997df1d3d9dd 100644 --- a/devel/p5-Class-C3/distinfo +++ b/devel/p5-Class-C3/distinfo @@ -1,3 +1,3 @@ -MD5 (Class-C3-0.14.tar.gz) = 72da38cad9fb3390f3bb7d898e44a437 -SHA256 (Class-C3-0.14.tar.gz) = d9a6076f77d5618466bd495a795ababd0c22abde3a056401e223447e279b0198 -SIZE (Class-C3-0.14.tar.gz) = 15881 +MD5 (Class-C3-0.18.tar.gz) = 930c53503b3b4c8adfe51af57dd599e0 +SHA256 (Class-C3-0.18.tar.gz) = b77503ee7bb02c9e6c22026ec4a9073cd4421fefb254ad858edc935a9b27c034 +SIZE (Class-C3-0.18.tar.gz) = 33291 diff --git a/devel/p5-Class-C3/pkg-plist b/devel/p5-Class-C3/pkg-plist index 7f175a565541..6cada3042a59 100644 --- a/devel/p5-Class-C3/pkg-plist +++ b/devel/p5-Class-C3/pkg-plist @@ -1,2 +1,7 @@ +%%SITE_PERL%%/Class/C3/next.pm %%SITE_PERL%%/Class/C3.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/C3/.packlist +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/C3 +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class +@dirrmtry %%SITE_PERL%%/Class/C3 @dirrmtry %%SITE_PERL%%/Class |