aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2010-08-12 20:32:38 +0800
committerbapt <bapt@FreeBSD.org>2010-08-12 20:32:38 +0800
commit7d8be21ea27179acb0f2a35492280bde56e68be3 (patch)
tree812d2734e5f365094861c7a0a8522e2660c2a4c7 /devel
parente816643bf26a9244f9a407165acdc5e55581d142 (diff)
downloadfreebsd-ports-gnome-7d8be21ea27179acb0f2a35492280bde56e68be3.tar.gz
freebsd-ports-gnome-7d8be21ea27179acb0f2a35492280bde56e68be3.tar.zst
freebsd-ports-gnome-7d8be21ea27179acb0f2a35492280bde56e68be3.zip
This module does not provide any methods. Simply loading it changes the
default naming policy for the loading class so that accessors are separated into get and set methods. The get methods are prefixed with "get_" as the accessor, while set methods are prefixed with "set_". This is the naming style recommended by Damian Conway in Perl Best Practices. WWW: http://search.cpan.org/dist/MooseX-FollowPBP/ PR: ports/149524 Submitted by: Frederic Culot <frederic at culot.org> Approved by: rene@ (mentor vacation)
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-MooseX-FollowPBP/Makefile27
-rw-r--r--devel/p5-MooseX-FollowPBP/distinfo3
-rw-r--r--devel/p5-MooseX-FollowPBP/pkg-descr8
-rw-r--r--devel/p5-MooseX-FollowPBP/pkg-plist8
5 files changed, 47 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 523764fd29b1..d7440069f6a8 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1874,6 +1874,7 @@
SUBDIR += p5-MooseX-Daemonize
SUBDIR += p5-MooseX-Declare
SUBDIR += p5-MooseX-Emulate-Class-Accessor-Fast
+ SUBDIR += p5-MooseX-FollowPBP
SUBDIR += p5-MooseX-Getopt
SUBDIR += p5-MooseX-Has-Sugar
SUBDIR += p5-MooseX-IOC
diff --git a/devel/p5-MooseX-FollowPBP/Makefile b/devel/p5-MooseX-FollowPBP/Makefile
new file mode 100644
index 000000000000..75af685c75eb
--- /dev/null
+++ b/devel/p5-MooseX-FollowPBP/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: p5-MooseX-FollowPBP
+# Date created: 11 August 2010
+# Whom: Frederic Culot <frederic@culot.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= MooseX-FollowPBP
+PORTVERSION= 0.04
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= frederic@culot.org
+COMMENT= Name your accessors get_foo() and set_foo()
+
+BUILD_DEPENDS= p5-Moose>=0.94:${PORTSDIR}/devel/p5-Moose
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+LICENSE= ART20
+
+PERL_CONFIGURE= yes
+
+MAN3= MooseX::FollowPBP.3 \
+ MooseX::FollowPBP::Role::Attribute.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-MooseX-FollowPBP/distinfo b/devel/p5-MooseX-FollowPBP/distinfo
new file mode 100644
index 000000000000..aa70c95dced7
--- /dev/null
+++ b/devel/p5-MooseX-FollowPBP/distinfo
@@ -0,0 +1,3 @@
+MD5 (MooseX-FollowPBP-0.04.tar.gz) = a569172bd49bb54c2f7814ec9497278e
+SHA256 (MooseX-FollowPBP-0.04.tar.gz) = 858e9efd61c01ff93a33985d19d23edc0752ccb235e9920d3ae42237ca5ac848
+SIZE (MooseX-FollowPBP-0.04.tar.gz) = 8920
diff --git a/devel/p5-MooseX-FollowPBP/pkg-descr b/devel/p5-MooseX-FollowPBP/pkg-descr
new file mode 100644
index 000000000000..0eba6b09739e
--- /dev/null
+++ b/devel/p5-MooseX-FollowPBP/pkg-descr
@@ -0,0 +1,8 @@
+This module does not provide any methods. Simply loading it changes the
+default naming policy for the loading class so that accessors are
+separated into get and set methods. The get methods are prefixed with
+"get_" as the accessor, while set methods are prefixed with "set_".
+This is the naming style recommended by Damian Conway in Perl Best
+Practices.
+
+WWW: http://search.cpan.org/dist/MooseX-FollowPBP/
diff --git a/devel/p5-MooseX-FollowPBP/pkg-plist b/devel/p5-MooseX-FollowPBP/pkg-plist
new file mode 100644
index 000000000000..fa9344a47227
--- /dev/null
+++ b/devel/p5-MooseX-FollowPBP/pkg-plist
@@ -0,0 +1,8 @@
+%%SITE_PERL%%/MooseX/FollowPBP.pm
+%%SITE_PERL%%/MooseX/FollowPBP/Role/Attribute.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/FollowPBP/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX/FollowPBP
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MooseX
+@dirrmtry %%SITE_PERL%%/MooseX/FollowPBP/Role
+@dirrmtry %%SITE_PERL%%/MooseX/FollowPBP
+@dirrmtry %%SITE_PERL%%/MooseX