Update to 0.18, with support for Class::C3::XS
This commit is contained in:
parent
825f0594bf
commit
b4cef8628a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=191738
@ -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,18 +15,25 @@ 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
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
|
||||
PERL_MODBUILD= yes
|
||||
|
||||
MAN3= Class::C3.3
|
||||
|
||||
post-extract:
|
||||
@${PERL} -i.bak -ne 'print unless m,Test::,' ${WRKSRC}/Build.PL
|
||||
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_CONFIGURE= yes
|
||||
|
||||
MAN3= Class::C3.3 \
|
||||
Class::C3::next.3
|
||||
|
||||
post-extract:
|
||||
@${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
|
||||
.endif
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user