aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2013-01-18 19:41:18 +0800
committerkuriyama <kuriyama@FreeBSD.org>2013-01-18 19:41:18 +0800
commita3205e1dfce1d224b9454b4b7c643d1841215aee (patch)
tree44012d8f57eafda862e5ec8caabe9607e34f7d02
parent4b50e500ad9831daba2df264daf92ae7986a85f2 (diff)
downloadfreebsd-ports-gnome-a3205e1dfce1d224b9454b4b7c643d1841215aee.tar.gz
freebsd-ports-gnome-a3205e1dfce1d224b9454b4b7c643d1841215aee.tar.zst
freebsd-ports-gnome-a3205e1dfce1d224b9454b4b7c643d1841215aee.zip
This module generates accessors for your class in the same spirit as
Class::Accessor does. While the latter deals with accessors for scalar values, this module provides accessor makers for rather flexible constructors. WWW: http://search.cpan.org/dist/Class-Accessor-Constructor/
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Class-Accessor-Constructor/Makefile24
-rw-r--r--devel/p5-Class-Accessor-Constructor/distinfo2
-rw-r--r--devel/p5-Class-Accessor-Constructor/pkg-descr6
-rw-r--r--devel/p5-Class-Accessor-Constructor/pkg-plist6
5 files changed, 39 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 07c247bd1213..84de2e79792f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1485,6 +1485,7 @@
SUBDIR += p5-Class-Accessor-Chained
SUBDIR += p5-Class-Accessor-Children
SUBDIR += p5-Class-Accessor-Complex
+ SUBDIR += p5-Class-Accessor-Constructor
SUBDIR += p5-Class-Accessor-Fast-Contained
SUBDIR += p5-Class-Accessor-Fast-XS
SUBDIR += p5-Class-Accessor-Grouped
diff --git a/devel/p5-Class-Accessor-Constructor/Makefile b/devel/p5-Class-Accessor-Constructor/Makefile
new file mode 100644
index 000000000000..425243fe4d74
--- /dev/null
+++ b/devel/p5-Class-Accessor-Constructor/Makefile
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+PORTNAME= Class-Accessor-Constructor
+PORTVERSION= 1.111590
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= kuriyama@FreeBSD.org
+COMMENT= Perl extension for constructor generator
+
+RUN_DEPENDS= \
+ p5-Class-Accessor>0:${PORTSDIR}/devel/p5-Class-Accessor \
+ p5-Class-Accessor-Complex>0:${PORTSDIR}/devel/p5-Class-Accessor-Complex \
+ p5-Class-Accessor-Installer>=1.100880:${PORTSDIR}/devel/p5-Class-Accessor-Installer \
+ p5-Data-Inherited>0:${PORTSDIR}/devel/p5-Data-Inherited
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Class::Accessor::Constructor.3 \
+ Class::Accessor::Constructor::Base.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Class-Accessor-Constructor/distinfo b/devel/p5-Class-Accessor-Constructor/distinfo
new file mode 100644
index 000000000000..7f8812edec7f
--- /dev/null
+++ b/devel/p5-Class-Accessor-Constructor/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Class-Accessor-Constructor-1.111590.tar.gz) = f3da16827cbc6e0e0d96e1bd545760a049682f88ac5439e03b49f1118b3b0dab
+SIZE (Class-Accessor-Constructor-1.111590.tar.gz) = 23358
diff --git a/devel/p5-Class-Accessor-Constructor/pkg-descr b/devel/p5-Class-Accessor-Constructor/pkg-descr
new file mode 100644
index 000000000000..29d5ae00b85c
--- /dev/null
+++ b/devel/p5-Class-Accessor-Constructor/pkg-descr
@@ -0,0 +1,6 @@
+This module generates accessors for your class in the same spirit as
+Class::Accessor does. While the latter deals with accessors for
+scalar values, this module provides accessor makers for rather
+flexible constructors.
+
+WWW: http://search.cpan.org/dist/Class-Accessor-Constructor/
diff --git a/devel/p5-Class-Accessor-Constructor/pkg-plist b/devel/p5-Class-Accessor-Constructor/pkg-plist
new file mode 100644
index 000000000000..cabd56db2942
--- /dev/null
+++ b/devel/p5-Class-Accessor-Constructor/pkg-plist
@@ -0,0 +1,6 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Accessor/Constructor/.packlist
+%%SITE_PERL%%/Class/Accessor/Constructor.pm
+%%SITE_PERL%%/Class/Accessor/Constructor/Base.pm
+@dirrm %%SITE_PERL%%/Class/Accessor/Constructor
+@comment @dirrmtry %%SITE_PERL%%/Class/Accessor
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Accessor/Constructor