aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2012-04-11 00:39:32 +0800
committermiwi <miwi@FreeBSD.org>2012-04-11 00:39:32 +0800
commit05df877bd321e9090ab555c2592144439a8a68d1 (patch)
tree505e8ea71e7fde91c86e11e4f524d3ad23b01c82 /devel
parent301ce51e09d90272bf1d63182bb8f38bd99c56ae (diff)
downloadfreebsd-ports-gnome-05df877bd321e9090ab555c2592144439a8a68d1.tar.gz
freebsd-ports-gnome-05df877bd321e9090ab555c2592144439a8a68d1.tar.zst
freebsd-ports-gnome-05df877bd321e9090ab555c2592144439a8a68d1.zip
The module MooseX::HasDefaults::RO defaults is to ro.
The module MooseX::HasDefaults::RW defaults is to rw. If you pass a specific value to any has's is, that overrides the default. If you do not want an accessor, pass is => undef. WWW: http://search.cpan.org/dist/MooseX-HasDefaults/ PR: ports/166591 Submitted by: Muhammad Moinur Rahman <5u623l20@gmail.com>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-MooseX-HasDefaults/Makefile24
-rw-r--r--devel/p5-MooseX-HasDefaults/distinfo2
-rw-r--r--devel/p5-MooseX-HasDefaults/pkg-descr8
-rw-r--r--devel/p5-MooseX-HasDefaults/pkg-plist11
5 files changed, 46 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index e6cf68384a86..f43b65cc6cd5 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2129,6 +2129,7 @@
SUBDIR += p5-MooseX-FollowPBP
SUBDIR += p5-MooseX-Getopt
SUBDIR += p5-MooseX-Has-Sugar
+ SUBDIR += p5-MooseX-HasDefaults
SUBDIR += p5-MooseX-IOC
SUBDIR += p5-MooseX-InsideOut
SUBDIR += p5-MooseX-LazyRequire
diff --git a/devel/p5-MooseX-HasDefaults/Makefile b/devel/p5-MooseX-HasDefaults/Makefile
new file mode 100644
index 000000000000..c3e61cf5e03f
--- /dev/null
+++ b/devel/p5-MooseX-HasDefaults/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: Mason
+# Date created: 03 April, 2012
+# Whom: Muhammad Moinur Rahman <5u623l20@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= MooseX-HasDefaults
+PORTVERSION= 0.03
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN/../by-authors/id/S/SA/SARTAK
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= 5u623l20@gmail.com
+COMMENT= Default "is" to "ro" or "rw" for all attributes
+
+BUILD_DEPENDS= p5-Moose>2:${PORTSDIR}/devel/p5-Moose \
+ p5-Test-Exception>0:${PORTSDIR}/devel/p5-Test-Exception
+
+PERL_CONFIGURE= yes
+
+MAN3= MooseX::HasDefaults.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-MooseX-HasDefaults/distinfo b/devel/p5-MooseX-HasDefaults/distinfo
new file mode 100644
index 000000000000..03f4bbaca998
--- /dev/null
+++ b/devel/p5-MooseX-HasDefaults/distinfo
@@ -0,0 +1,2 @@
+SHA256 (MooseX-HasDefaults-0.03.tar.gz) = 1efe4b6639ee8f8f9f57c4c56dd1d65b596819a82c7ac0f8a3046a80d2e51f83
+SIZE (MooseX-HasDefaults-0.03.tar.gz) = 18890
diff --git a/devel/p5-MooseX-HasDefaults/pkg-descr b/devel/p5-MooseX-HasDefaults/pkg-descr
new file mode 100644
index 000000000000..60dedb137290
--- /dev/null
+++ b/devel/p5-MooseX-HasDefaults/pkg-descr
@@ -0,0 +1,8 @@
+The module MooseX::HasDefaults::RO defaults is to ro.
+
+The module MooseX::HasDefaults::RW defaults is to rw.
+
+If you pass a specific value to any has's is, that overrides the default. If
+you do not want an accessor, pass is => undef.
+
+WWW: http://search.cpan.org/dist/MooseX-HasDefaults/
diff --git a/devel/p5-MooseX-HasDefaults/pkg-plist b/devel/p5-MooseX-HasDefaults/pkg-plist
new file mode 100644
index 000000000000..fade327bdb40
--- /dev/null
+++ b/devel/p5-MooseX-HasDefaults/pkg-plist
@@ -0,0 +1,11 @@
+%%SITE_PERL%%/mach/auto/MooseX/HasDefaults/.packlist
+%%SITE_PERL%%/MooseX/HasDefaults/Meta/IsRO.pm
+%%SITE_PERL%%/MooseX/HasDefaults/Meta/IsRW.pm
+%%SITE_PERL%%/MooseX/HasDefaults/RW.pm
+%%SITE_PERL%%/MooseX/HasDefaults/RO.pm
+%%SITE_PERL%%/MooseX/HasDefaults.pm
+@dirrm %%SITE_PERL%%/mach/auto/MooseX/HasDefaults
+@dirrmtry %%SITE_PERL%%/mach/auto/MooseX
+@dirrm %%SITE_PERL%%/MooseX/HasDefaults/Meta
+@dirrm %%SITE_PERL%%/MooseX/HasDefaults
+@dirrmtry %%SITE_PERL%%/MooseX