aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2005-09-30 22:46:07 +0800
committerskv <skv@FreeBSD.org>2005-09-30 22:46:07 +0800
commitb3257c2e518bcf8e991742a094884cc775491d1e (patch)
tree2be9bbb1586dd91f5b9899619f85e3f13d30b58c /devel
parent8bb8f54e5acd49b665d4609b275d15f18913d074 (diff)
downloadfreebsd-ports-gnome-b3257c2e518bcf8e991742a094884cc775491d1e.tar.gz
freebsd-ports-gnome-b3257c2e518bcf8e991742a094884cc775491d1e.tar.zst
freebsd-ports-gnome-b3257c2e518bcf8e991742a094884cc775491d1e.zip
Add p5-Object-Accessor 0.12, interface to create per object accessors.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Object-Accessor/Makefile26
-rw-r--r--devel/p5-Object-Accessor/distinfo2
-rw-r--r--devel/p5-Object-Accessor/pkg-descr9
-rw-r--r--devel/p5-Object-Accessor/pkg-plist5
5 files changed, 43 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index b61a0b21ae24..2b93f7e96c99 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1011,6 +1011,7 @@
SUBDIR += p5-OLE-Storage_Lite
SUBDIR += p5-OOTools
SUBDIR += p5-ORBit
+ SUBDIR += p5-Object-Accessor
SUBDIR += p5-Object-MultiType
SUBDIR += p5-Object-Realize-Later
SUBDIR += p5-P4
diff --git a/devel/p5-Object-Accessor/Makefile b/devel/p5-Object-Accessor/Makefile
new file mode 100644
index 000000000000..0f8c1b7d384c
--- /dev/null
+++ b/devel/p5-Object-Accessor/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: Object-Accessor
+# Date created: 30 September 2005
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Object-Accessor
+PORTVERSION= 0.12
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Object
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= skv@FreeBSD.org
+COMMENT= Interface to create per object accessors
+
+BUILD_DEPENDS= ${SITE_PERL}/Params/Check.pm:${PORTSDIR}/devel/p5-Params-Check \
+ ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Object::Accessor.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Object-Accessor/distinfo b/devel/p5-Object-Accessor/distinfo
new file mode 100644
index 000000000000..f6015229ec97
--- /dev/null
+++ b/devel/p5-Object-Accessor/distinfo
@@ -0,0 +1,2 @@
+MD5 (Object-Accessor-0.12.tar.gz) = 722421fcbe2a18facd056ea6edb1be4f
+SIZE (Object-Accessor-0.12.tar.gz) = 7781
diff --git a/devel/p5-Object-Accessor/pkg-descr b/devel/p5-Object-Accessor/pkg-descr
new file mode 100644
index 000000000000..6e3f837b0d46
--- /dev/null
+++ b/devel/p5-Object-Accessor/pkg-descr
@@ -0,0 +1,9 @@
+Object::Accessor provides an interface to create per object accessors
+(as opposed to per Class accessors, as, for example, Class::Accessor
+provides).
+
+You can choose to either subclass this module, and thus using its
+accessors on your own module, or to store an Object::Accessor object
+inside your own object, and access the accessors from there.
+
+WWW: http://search.cpan.org/dist/Object-Accessor/
diff --git a/devel/p5-Object-Accessor/pkg-plist b/devel/p5-Object-Accessor/pkg-plist
new file mode 100644
index 000000000000..0ad36cd9b0d6
--- /dev/null
+++ b/devel/p5-Object-Accessor/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Object/Accessor/.packlist
+%%SITE_PERL%%/Object/Accessor.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Object/Accessor
+@unexec rmdir %D/%%SITE_PERL%%/Object 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Object 2>/dev/null || true