aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2006-08-01 22:15:51 +0800
committersat <sat@FreeBSD.org>2006-08-01 22:15:51 +0800
commite7cd2f2b1caaa94a666072edde28e4531736d2fc (patch)
tree14a3694bb0e43c2049ea34d83761b92cd7bf1601 /devel
parent0e8dbf1ba1a0bdec6f798e8df718b72f017dc753 (diff)
downloadfreebsd-ports-gnome-e7cd2f2b1caaa94a666072edde28e4531736d2fc.tar.gz
freebsd-ports-gnome-e7cd2f2b1caaa94a666072edde28e4531736d2fc.tar.zst
freebsd-ports-gnome-e7cd2f2b1caaa94a666072edde28e4531736d2fc.zip
Add port devel/p5-Class-Field:
Class::Field exports two subroutines, field and const. These functions are used to declare fields and constants in your class. Class::Field generates custom code for each accessor that is optimized for speed. WWW: http://search.cpan.org/dist/Class-Field/
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Class-Field/Makefile21
-rw-r--r--devel/p5-Class-Field/distinfo3
-rw-r--r--devel/p5-Class-Field/pkg-descr7
-rw-r--r--devel/p5-Class-Field/pkg-plist5
5 files changed, 37 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index da121577a219..5f82d7ce9adc 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -810,6 +810,7 @@
SUBDIR += p5-Class-ErrorHandler
SUBDIR += p5-Class-Factory
SUBDIR += p5-Class-Factory-Util
+ SUBDIR += p5-Class-Field
SUBDIR += p5-Class-Fields
SUBDIR += p5-Class-Generate
SUBDIR += p5-Class-Gomor
diff --git a/devel/p5-Class-Field/Makefile b/devel/p5-Class-Field/Makefile
new file mode 100644
index 000000000000..bdd7074c6fd8
--- /dev/null
+++ b/devel/p5-Class-Field/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: p5-Class-Field
+# Date created: 1 August 2006
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Class-Field
+DISTVERSION= 0.12
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= infofarmer@FreeBSD.org
+COMMENT= Class Field Accessor Generator
+
+PERL_CONFIGURE= YES
+
+MAN3= Class::Field.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Class-Field/distinfo b/devel/p5-Class-Field/distinfo
new file mode 100644
index 000000000000..8907fc4024b2
--- /dev/null
+++ b/devel/p5-Class-Field/distinfo
@@ -0,0 +1,3 @@
+MD5 (Class-Field-0.12.tar.gz) = dccfb1717e52e61efb0cb1c7ff077da1
+SHA256 (Class-Field-0.12.tar.gz) = 223d81cf5ebbcecc72f2ff2d05dedf6c09902393a958e4e9397fc37a78babee2
+SIZE (Class-Field-0.12.tar.gz) = 32143
diff --git a/devel/p5-Class-Field/pkg-descr b/devel/p5-Class-Field/pkg-descr
new file mode 100644
index 000000000000..c293dfbcfd61
--- /dev/null
+++ b/devel/p5-Class-Field/pkg-descr
@@ -0,0 +1,7 @@
+Class::Field exports two subroutines, field and const. These
+functions are used to declare fields and constants in your class.
+
+Class::Field generates custom code for each accessor that is
+optimized for speed.
+
+WWW: http://search.cpan.org/dist/Class-Field/
diff --git a/devel/p5-Class-Field/pkg-plist b/devel/p5-Class-Field/pkg-plist
new file mode 100644
index 000000000000..d8e1840bad7c
--- /dev/null
+++ b/devel/p5-Class-Field/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Field/.packlist
+%%SITE_PERL%%/Class/Field.pm
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Field
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class
+@dirrmtry %%SITE_PERL%%/Class