Add p5-Module-Loader 0.03

Module::Loader provides methods for finding modules in a given namespace, and
then loading them. It is intended for use in situations where you're looking for
plugins, and then loading one or more of them.

This module was inspired by Mojo::Loader, which I have used in a number of
projects. But some people were wary of requiring Mojolicious just to get a
module loader, which prompted me to create Module::Loader.

WWW: https://metacpan.org/release/Module-Loader
This commit is contained in:
Sunpoet Po-Chuan Hsieh
2019-03-17 18:21:27 +00:00
parent 5b4b4eef78
commit 2e3ca5f13f
5 changed files with 41 additions and 0 deletions
+1
View File
@@ -2961,6 +2961,7 @@
SUBDIR += p5-Module-Load
SUBDIR += p5-Module-Load-Conditional
SUBDIR += p5-Module-Loaded
SUBDIR += p5-Module-Loader
SUBDIR += p5-Module-Manifest
SUBDIR += p5-Module-Math-Depends
SUBDIR += p5-Module-Metadata
+26
View File
@@ -0,0 +1,26 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= Module-Loader
PORTVERSION= 0.03
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Finding and loading modules in a given namespace
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-Module-Runtime>=0:devel/p5-Module-Runtime \
p5-Path-Iterator-Rule>=0:devel/p5-Path-Iterator-Rule
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
.include <bsd.port.mk>
+3
View File
@@ -0,0 +1,3 @@
TIMESTAMP = 1552830485
SHA256 (Module-Loader-0.03.tar.gz) = 5a96fc5dc8494a0a87170a5451c53d62b801a8d9cad7cbbde5a109a8f520f3e0
SIZE (Module-Loader-0.03.tar.gz) = 12061
+9
View File
@@ -0,0 +1,9 @@
Module::Loader provides methods for finding modules in a given namespace, and
then loading them. It is intended for use in situations where you're looking for
plugins, and then loading one or more of them.
This module was inspired by Mojo::Loader, which I have used in a number of
projects. But some people were wary of requiring Mojolicious just to get a
module loader, which prompted me to create Module::Loader.
WWW: https://metacpan.org/release/Module-Loader
+2
View File
@@ -0,0 +1,2 @@
%%SITE_PERL%%/Module/Loader.pm
%%PERL5_MAN3%%/Module::Loader.3.gz