SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
24
devel/p5-Class-Load/Makefile
Normal file
24
devel/p5-Class-Load/Makefile
Normal file
|
@ -0,0 +1,24 @@
|
|||
COMMENT = working 'require Class::Name' and more
|
||||
|
||||
MODULES = cpan
|
||||
PKG_ARCH = *
|
||||
DISTNAME = Class-Load-0.25
|
||||
CATEGORIES = devel
|
||||
FIX_EXTRACT_PERMISSIONS = Yes
|
||||
REVISION = 0
|
||||
|
||||
# same as perl
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
RUN_DEPENDS = devel/p5-Data-OptList \
|
||||
devel/p5-Module-Implementation \
|
||||
devel/p5-Module-Runtime \
|
||||
devel/p5-Package-Stash>=0.32 \
|
||||
devel/p5-Try-Tiny
|
||||
|
||||
TEST_DEPENDS = devel/p5-Test-Fatal \
|
||||
devel/p5-Test-Requires \
|
||||
devel/p5-Test-Needs \
|
||||
devel/p5-Test-Without-Module
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/p5-Class-Load/distinfo
Normal file
2
devel/p5-Class-Load/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (Class-Load-0.25.tar.gz) = Kkj6d5tSl+VhVjgOizJjfGxY3stPSn88c1BSPhEnX48=
|
||||
SIZE (Class-Load-0.25.tar.gz) = 36644
|
12
devel/p5-Class-Load/pkg/DESCR
Normal file
12
devel/p5-Class-Load/pkg/DESCR
Normal file
|
@ -0,0 +1,12 @@
|
|||
"require EXPR" only accepts "Class/Name.pm" style module names, not
|
||||
"Class::Name". How frustrating! For that, we provide "load_class
|
||||
'Class::Name'".
|
||||
|
||||
It's often useful to test whether a module can be loaded, instead of
|
||||
throwing an error when it's not available. For that, we provide
|
||||
"try_load_class 'Class::Name'".
|
||||
|
||||
Finally, sometimes we need to know whether a particular class has been
|
||||
loaded. Asking %INC is an option, but that will miss inner packages and
|
||||
any class for which the filename does not correspond to the package
|
||||
name. For that, we provide "is_class_loaded 'Class::Name'".
|
5
devel/p5-Class-Load/pkg/PLIST
Normal file
5
devel/p5-Class-Load/pkg/PLIST
Normal file
|
@ -0,0 +1,5 @@
|
|||
${P5SITE}/Class/
|
||||
${P5SITE}/Class/Load/
|
||||
${P5SITE}/Class/Load.pm
|
||||
${P5SITE}/Class/Load/PP.pm
|
||||
@man man/man3p/Class::Load.3p
|
Loading…
Add table
Add a link
Reference in a new issue