Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Mar 2019 18:21:27 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r496083 - in head/devel: . p5-Module-Loader
Message-ID:  <201903171821.x2HILRH1029892@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Mar 17 18:21:27 2019
New Revision: 496083
URL: https://svnweb.freebsd.org/changeset/ports/496083

Log:
  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

Added:
  head/devel/p5-Module-Loader/
  head/devel/p5-Module-Loader/Makefile   (contents, props changed)
  head/devel/p5-Module-Loader/distinfo   (contents, props changed)
  head/devel/p5-Module-Loader/pkg-descr   (contents, props changed)
  head/devel/p5-Module-Loader/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sun Mar 17 18:13:09 2019	(r496082)
+++ head/devel/Makefile	Sun Mar 17 18:21:27 2019	(r496083)
@@ -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

Added: head/devel/p5-Module-Loader/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Module-Loader/Makefile	Sun Mar 17 18:21:27 2019	(r496083)
@@ -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>

Added: head/devel/p5-Module-Loader/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Module-Loader/distinfo	Sun Mar 17 18:21:27 2019	(r496083)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1552830485
+SHA256 (Module-Loader-0.03.tar.gz) = 5a96fc5dc8494a0a87170a5451c53d62b801a8d9cad7cbbde5a109a8f520f3e0
+SIZE (Module-Loader-0.03.tar.gz) = 12061

Added: head/devel/p5-Module-Loader/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Module-Loader/pkg-descr	Sun Mar 17 18:21:27 2019	(r496083)
@@ -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

Added: head/devel/p5-Module-Loader/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Module-Loader/pkg-plist	Sun Mar 17 18:21:27 2019	(r496083)
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Module/Loader.pm
+%%PERL5_MAN3%%/Module::Loader.3.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903171821.x2HILRH1029892>