Add p5-UNIVERSAL-require 0.10, perl module to require() from a variable.
This commit is contained in:
parent
55c75be948
commit
82cb6fed87
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146365
@ -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
|
||||
|
22
devel/p5-UNIVERSAL-require/Makefile
Normal file
22
devel/p5-UNIVERSAL-require/Makefile
Normal file
@ -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>
|
2
devel/p5-UNIVERSAL-require/distinfo
Normal file
2
devel/p5-UNIVERSAL-require/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (UNIVERSAL-require-0.10.tar.gz) = 4ea51136ee7052bb37dc52c7cb8945b0
|
||||
SIZE (UNIVERSAL-require-0.10.tar.gz) = 3642
|
17
devel/p5-UNIVERSAL-require/pkg-descr
Normal file
17
devel/p5-UNIVERSAL-require/pkg-descr
Normal file
@ -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/
|
5
devel/p5-UNIVERSAL-require/pkg-plist
Normal file
5
devel/p5-UNIVERSAL-require/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user