aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Object-Accessor
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2005-09-30 14:46:07 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2005-09-30 14:46:07 +0000
commit99b9018f55419fcccebc4e1e80154a98fd945c35 (patch)
treefab5e50666bc5650b6fecad1b6b5884275f0b0fb /devel/p5-Object-Accessor
parent3da902d275cb62079e707d76033057e3cee80e55 (diff)
Add p5-Object-Accessor 0.12, interface to create per object accessors.
Notes
Notes: svn path=/head/; revision=143852
Diffstat (limited to 'devel/p5-Object-Accessor')
-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
4 files changed, 42 insertions, 0 deletions
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