svn commit: r409884 - in head/devel: . p5-Import-Base

Adam Weinberger adamw at FreeBSD.org
Tue Mar 1 16:39:33 UTC 2016


Author: adamw
Date: Tue Mar  1 16:39:31 2016
New Revision: 409884
URL: https://svnweb.freebsd.org/changeset/ports/409884

Log:
  Add devel/p5-Import-Base.
  
  This module makes it easier to build and manage a base set of imports. Rather
  than importing a dozen modules in each of your project's modules, you simply
  import one module and get all the other modules you want. This reduces your
  module boilerplate from 12 lines to 1.
  
  WWW: https://metacpan.org/pod/Import::Base

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue Mar  1 16:37:53 2016	(r409883)
+++ head/devel/Makefile	Tue Mar  1 16:39:31 2016	(r409884)
@@ -2464,6 +2464,7 @@
     SUBDIR += p5-IPC-ShellCmd
     SUBDIR += p5-IPC-Signal
     SUBDIR += p5-IPC-System-Simple
+    SUBDIR += p5-Import-Base
     SUBDIR += p5-Import-Into
     SUBDIR += p5-Inline
     SUBDIR += p5-Inline-ASM

Added: head/devel/p5-Import-Base/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Import-Base/Makefile	Tue Mar  1 16:39:31 2016	(r409884)
@@ -0,0 +1,28 @@
+# Created by: Adam Weinberger <adamw at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	Import-Base
+PORTVERSION=	1.001
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+MASTER_SITE_SUBDIR=	CPAN:PREACTION
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	adamw at FreeBSD.org
+COMMENT=	Import a set of modules into the calling module
+
+LICENSE=	ART10 GPLv1
+LICENSE_COMB=	dual
+
+BUILD_DEPENDS=	p5-Import-Into>=1.002005:${PORTSDIR}/devel/p5-Import-Into \
+		p5-Module-Runtime>=0:${PORTSDIR}/devel/p5-Module-Runtime
+RUN_DEPENDS:=	${BUILD_DEPENDS}
+TEST_DEPENDS=	p5-Dancer2-Plugin-Ajax>=0:${PORTSDIR}/www/p5-Dancer2-Plugin-Ajax \
+		p5-Dancer2>=0:${PORTSDIR}/www/p5-Dancer2 \
+		p5-Moo>=0:${PORTSDIR}/devel/p5-Moo
+
+USES=		perl5
+USE_PERL5=	configure
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/devel/p5-Import-Base/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Import-Base/distinfo	Tue Mar  1 16:39:31 2016	(r409884)
@@ -0,0 +1,2 @@
+SHA256 (Import-Base-1.001.tar.gz) = ada5c0bba4106d23267a74daf8f0f1b8ee5defaf6ecbc19e3645596e528a5806
+SIZE (Import-Base-1.001.tar.gz) = 29604

Added: head/devel/p5-Import-Base/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Import-Base/pkg-descr	Tue Mar  1 16:39:31 2016	(r409884)
@@ -0,0 +1,6 @@
+This module makes it easier to build and manage a base set of imports. Rather
+than importing a dozen modules in each of your project's modules, you simply
+import one module and get all the other modules you want. This reduces your
+module boilerplate from 12 lines to 1.
+
+WWW: https://metacpan.org/pod/Import::Base

Added: head/devel/p5-Import-Base/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Import-Base/pkg-plist	Tue Mar  1 16:39:31 2016	(r409884)
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Import/Base.pm
+%%PERL5_MAN3%%/Import::Base.3.gz


More information about the svn-ports-head mailing list