diff options
author | lbr <lbr@FreeBSD.org> | 2007-06-18 14:18:09 +0800 |
---|---|---|
committer | lbr <lbr@FreeBSD.org> | 2007-06-18 14:18:09 +0800 |
commit | 8fb43956843aef493318aba07e19550c04595829 (patch) | |
tree | 80742c2e8629d1725804fab76cea79caf3f8814b | |
parent | bc6987c7657a2de97fa752d8cb677cef2e9010bb (diff) | |
download | freebsd-ports-gnome-8fb43956843aef493318aba07e19550c04595829.tar.gz freebsd-ports-gnome-8fb43956843aef493318aba07e19550c04595829.tar.zst freebsd-ports-gnome-8fb43956843aef493318aba07e19550c04595829.zip |
The "mro" namespace provides several utilities for dealing with method
resolution order and method caching in general in Perl 5.9.5 and
higher.
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-MRO-Compat/Makefile | 32 | ||||
-rw-r--r-- | devel/p5-MRO-Compat/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-MRO-Compat/pkg-descr | 5 | ||||
-rw-r--r-- | devel/p5-MRO-Compat/pkg-plist | 5 |
5 files changed, 46 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index aedbf7ffe278..843e2447b2f5 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1289,6 +1289,7 @@ SUBDIR += p5-Log-TraceMessages SUBDIR += p5-Logfile-Rotate SUBDIR += p5-Luka + SUBDIR += p5-MRO-Compat SUBDIR += p5-Mac-FileSpec-Unixish SUBDIR += p5-Make SUBDIR += p5-Make-Cache diff --git a/devel/p5-MRO-Compat/Makefile b/devel/p5-MRO-Compat/Makefile new file mode 100644 index 000000000000..61d704ba7230 --- /dev/null +++ b/devel/p5-MRO-Compat/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: devel/p5-MRO-Compat +# Date created: Jun 18, 2007 +# Whom: Lars Balker Rasmussen <lbr@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= MRO-Compat +PORTVERSION= 0.03 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= ../../authors/id/B/BL/BLBLACK +PKGNAMEPREFIX= p5- + +MAINTAINER= lbr@FreeBSD.org +COMMENT= Add mro::* interface compatibility for Perls < 5.9.5 + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Class-C3>=0.19:${PORTSDIR}/devel/p5-Class-C3 + +PERL_CONFIGURE= yes + +MAN3= MRO::Compat.3 + +post-extract: + @${PERL} -i.bak -ne 'print unless m,^if, .. m,}$$,' ${WRKSRC}/Makefile.PL + +.include <bsd.port.pre.mk> +.if ${PERL_LEVEL} < 500800 +IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 and try again +.endif +.include <bsd.port.post.mk> diff --git a/devel/p5-MRO-Compat/distinfo b/devel/p5-MRO-Compat/distinfo new file mode 100644 index 000000000000..2d6110f7a2dd --- /dev/null +++ b/devel/p5-MRO-Compat/distinfo @@ -0,0 +1,3 @@ +MD5 (MRO-Compat-0.03.tar.gz) = b727e8f9a1c21184c3773fd1833a7483 +SHA256 (MRO-Compat-0.03.tar.gz) = 66cf334463b7858a34d904bfb8cf5fe9dfe73780f77df2c0946960abe00e1c32 +SIZE (MRO-Compat-0.03.tar.gz) = 23604 diff --git a/devel/p5-MRO-Compat/pkg-descr b/devel/p5-MRO-Compat/pkg-descr new file mode 100644 index 000000000000..6945e3643200 --- /dev/null +++ b/devel/p5-MRO-Compat/pkg-descr @@ -0,0 +1,5 @@ +The "mro" namespace provides several utilities for dealing with method +resolution order and method caching in general in Perl 5.9.5 and +higher. + +WWW: http://search.cpan.org/dist/MRO-Compat/ diff --git a/devel/p5-MRO-Compat/pkg-plist b/devel/p5-MRO-Compat/pkg-plist new file mode 100644 index 000000000000..7e216249fe26 --- /dev/null +++ b/devel/p5-MRO-Compat/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/MRO/Compat.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/MRO/Compat/.packlist +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MRO/Compat +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MRO +@dirrmtry %%SITE_PERL%%/MRO |