SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View 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>

View file

@ -0,0 +1,2 @@
SHA256 (Class-Load-0.25.tar.gz) = Kkj6d5tSl+VhVjgOizJjfGxY3stPSn88c1BSPhEnX48=
SIZE (Class-Load-0.25.tar.gz) = 36644

View 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'".

View 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