diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2005-10-26 01:56:06 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2005-10-26 01:56:06 +0000 |
commit | 82cb6fed87fedcf88726414543d89bbd015008b1 (patch) | |
tree | 25d17292a24de3cc9ab1334ca2431197561b1497 /devel | |
parent | 55c75be948c013d4b545e744dcb0def6e8d2cd0e (diff) | |
download | ports-82cb6fed87fedcf88726414543d89bbd015008b1.tar.gz ports-82cb6fed87fedcf88726414543d89bbd015008b1.zip |
Notes
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-UNIVERSAL-require/Makefile | 22 | ||||
-rw-r--r-- | devel/p5-UNIVERSAL-require/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-UNIVERSAL-require/pkg-descr | 17 | ||||
-rw-r--r-- | devel/p5-UNIVERSAL-require/pkg-plist | 5 |
5 files changed, 47 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 9332b49f56f8..c1a0dbf46211 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1189,6 +1189,7 @@ SUBDIR += p5-Tree-Simple-VisitorFactory SUBDIR += p5-UNIVERSAL-exports SUBDIR += p5-UNIVERSAL-moniker + SUBDIR += p5-UNIVERSAL-require SUBDIR += p5-Unix-Statgrab SUBDIR += p5-User-Identity SUBDIR += p5-VCP diff --git a/devel/p5-UNIVERSAL-require/Makefile b/devel/p5-UNIVERSAL-require/Makefile new file mode 100644 index 000000000000..ac996cb7b07b --- /dev/null +++ b/devel/p5-UNIVERSAL-require/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: p5-UNIVERSAL-require +# Date Created: 25 Oct, 2005 +# Whom: Jun Kuriyama <kuriyama@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= UNIVERSAL-require +PORTVERSION= 0.10 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= ../../authors/id/M/MS/MSCHWERN +PKGNAMEPREFIX= p5- + +MAINTAINER= kuriyama@FreeBSD.org +COMMENT= Perl module to require() from a variable + +PERL_CONFIGURE= yes + +MAN3= UNIVERSAL::require.3 + +.include <bsd.port.mk> diff --git a/devel/p5-UNIVERSAL-require/distinfo b/devel/p5-UNIVERSAL-require/distinfo new file mode 100644 index 000000000000..8940909b843e --- /dev/null +++ b/devel/p5-UNIVERSAL-require/distinfo @@ -0,0 +1,2 @@ +MD5 (UNIVERSAL-require-0.10.tar.gz) = 4ea51136ee7052bb37dc52c7cb8945b0 +SIZE (UNIVERSAL-require-0.10.tar.gz) = 3642 diff --git a/devel/p5-UNIVERSAL-require/pkg-descr b/devel/p5-UNIVERSAL-require/pkg-descr new file mode 100644 index 000000000000..4abccba4b06e --- /dev/null +++ b/devel/p5-UNIVERSAL-require/pkg-descr @@ -0,0 +1,17 @@ +UNIVERSAL::require - require() modules from a variable. + +If you've ever had to do this... + + eval "require $module"; + +to get around the bareword caveats on require(), this module is for +you. It creates a universal require() class method that will work with +every Perl module and its secure. So instead of doing some arcane +eval() work, you can do this: + + $module->require; + +It doesn't save you much typing, but it'll make alot more sense to +someone who's not a ninth level Perl acolyte. + +WWW: http://search.cpan.org/dist/UNIVERSAL-require/ diff --git a/devel/p5-UNIVERSAL-require/pkg-plist b/devel/p5-UNIVERSAL-require/pkg-plist new file mode 100644 index 000000000000..4627016683c5 --- /dev/null +++ b/devel/p5-UNIVERSAL-require/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/UNIVERSAL/require.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/UNIVERSAL/require/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/UNIVERSAL/require +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/UNIVERSAL 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/UNIVERSAL 2>/dev/null || true |