aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2011-09-20 16:31:57 +0800
committerbapt <bapt@FreeBSD.org>2011-09-20 16:31:57 +0800
commitf4925c7567716c483b8af840a35aca33be84b76c (patch)
tree8c659867c12b5e65c5e85e2df6fd6bf570376b42 /devel
parent3eb037a1ce75f6f5db2710011db2d9f312bbda24 (diff)
downloadfreebsd-ports-gnome-f4925c7567716c483b8af840a35aca33be84b76c.tar.gz
freebsd-ports-gnome-f4925c7567716c483b8af840a35aca33be84b76c.tar.zst
freebsd-ports-gnome-f4925c7567716c483b8af840a35aca33be84b76c.zip
MooseX::OneArgNew lets your constructor take a single argument,
which will be translated into the value for a one-entry hashref. WWW: http://search.cpan.org/dist/MooseX-OneArgNew/ Submitted by: Geraud CONTINSOUZAS <geraud@gcu.info> (by private mail)
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-MooseX-OneArgNew/Makefile29
-rw-r--r--devel/p5-MooseX-OneArgNew/distinfo2
-rw-r--r--devel/p5-MooseX-OneArgNew/pkg-descr4
-rw-r--r--devel/p5-MooseX-OneArgNew/pkg-plist5
5 files changed, 41 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index a547485cd86f..94deb46aa8d6 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2028,6 +2028,7 @@
SUBDIR += p5-MooseX-MultiMethods
SUBDIR += p5-MooseX-NonMoose
SUBDIR += p5-MooseX-Object-Pluggable
+ SUBDIR += p5-MooseX-OneArgNew
SUBDIR += p5-MooseX-POE
SUBDIR += p5-MooseX-Params-Validate
SUBDIR += p5-MooseX-RelatedClassRoles
diff --git a/devel/p5-MooseX-OneArgNew/Makefile b/devel/p5-MooseX-OneArgNew/Makefile
new file mode 100644
index 000000000000..ae05b379d500
--- /dev/null
+++ b/devel/p5-MooseX-OneArgNew/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: devel/p5-MooseX-OneArgNew
+# Date created: 2011-09-19
+# Whom: Geraud CONTINSOUZAS <geraud@gcu.info>
+#
+# $FreeBSD$
+#
+
+PORTNAME= MooseX-OneArgNew
+PORTVERSION= 0.002
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+#MASTER_SITE_SUBDIR= CPAN:RJBS
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= geraud@gcu.info
+COMMENT= Teach ->new to accept single, non-hashref arguments
+
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+RUN_DEPENDS= p5-MooseX-Role-Parameterized>=0:${PORTSDIR}/devel/p5-MooseX-Role-Parameterized \
+ p5-namespace-autoclean>=0:${PORTSDIR}/devel/p5-namespace-autoclean
+BUILD_DEPENDS:= ${RUN_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= MooseX::OneArgNew.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-MooseX-OneArgNew/distinfo b/devel/p5-MooseX-OneArgNew/distinfo
new file mode 100644
index 000000000000..d98771de9bf3
--- /dev/null
+++ b/devel/p5-MooseX-OneArgNew/distinfo
@@ -0,0 +1,2 @@
+SHA256 (MooseX-OneArgNew-0.002.tar.gz) = f548f03f36943c42dd704c2dca10b76718ef4642a44d8740f175e7a0031add71
+SIZE (MooseX-OneArgNew-0.002.tar.gz) = 10909
diff --git a/devel/p5-MooseX-OneArgNew/pkg-descr b/devel/p5-MooseX-OneArgNew/pkg-descr
new file mode 100644
index 000000000000..83cb0e49d0ca
--- /dev/null
+++ b/devel/p5-MooseX-OneArgNew/pkg-descr
@@ -0,0 +1,4 @@
+MooseX::OneArgNew lets your constructor take a single argument,
+which will be translated into the value for a one-entry hashref.
+
+WWW: http://search.cpan.org/dist/MooseX-OneArgNew/
diff --git a/devel/p5-MooseX-OneArgNew/pkg-plist b/devel/p5-MooseX-OneArgNew/pkg-plist
new file mode 100644
index 000000000000..5cfbed67a922
--- /dev/null
+++ b/devel/p5-MooseX-OneArgNew/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/MooseX/OneArgNew.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/OneArgNew/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/OneArgNew
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX
+@dirrmtry %%SITE_PERL%%/MooseX