summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-04-10 18:12:02 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-04-10 18:12:02 +0000
commitc4b88d6dc828665e2da62a0351fd618e6b01de55 (patch)
tree52c597fd2e5369ea3011b90a1661f40bbd6222e2
parentFix package build by depending on libepc and avahi-ui. (diff)
Class::Declare allows class authors to specify public, private and protected
attributes and methods for their classes, giving them control over how their modules may be accessed. The standard object oriented programming concepts of public, private and protected have been implemented for both class and instance (or object) attributes and methods. WWW: http://search.cpan.org/~ibb/Class-Declare/Declare.pm - Sergey Karatkevich simarg@gmail.com PR: ports/130415 Submitted by: kevit
Notes
Notes: svn path=/head/; revision=232028
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Class-Declare/Makefile23
-rw-r--r--devel/p5-Class-Declare/distinfo3
-rw-r--r--devel/p5-Class-Declare/pkg-descr9
-rw-r--r--devel/p5-Class-Declare/pkg-plist8
5 files changed, 44 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 2a5701d3d9fa..e38f62e143c2 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1053,6 +1053,7 @@
SUBDIR += p5-Class-Data-ConfigHash
SUBDIR += p5-Class-Data-Inheritable
SUBDIR += p5-Class-Date
+ SUBDIR += p5-Class-Declare
SUBDIR += p5-Class-Default
SUBDIR += p5-Class-Delegation
SUBDIR += p5-Class-ErrorHandler
diff --git a/devel/p5-Class-Declare/Makefile b/devel/p5-Class-Declare/Makefile
new file mode 100644
index 000000000000..6e8ede36773d
--- /dev/null
+++ b/devel/p5-Class-Declare/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: p5-Class-Declare
+# Date created: 12 January 2009
+# Whom: kevit
+#
+# $FreeBSD$
+#
+
+PORTNAME= Class-Declare
+PORTVERSION= 0.12
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= simarg@gmail.com
+COMMENT= Perl module for declare classes
+
+BUILD_DEPENDS= ${SITE_PERL}/Test/Exception.pm:${PORTSDIR}/devel/p5-Test-Exception
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+MAN3= Class::Declare::Dump.3 Class::Declare.3 Class::Declare::Hash.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Class-Declare/distinfo b/devel/p5-Class-Declare/distinfo
new file mode 100644
index 000000000000..860ddc831ba5
--- /dev/null
+++ b/devel/p5-Class-Declare/distinfo
@@ -0,0 +1,3 @@
+MD5 (Class-Declare-0.12.tar.gz) = 6eeb2ffecef03f232220a077ff03694c
+SHA256 (Class-Declare-0.12.tar.gz) = 45b0c27acd3077b2906d1a71db9df08ebfab1b4e1f9a3d4daa59e91df85f8418
+SIZE (Class-Declare-0.12.tar.gz) = 78856
diff --git a/devel/p5-Class-Declare/pkg-descr b/devel/p5-Class-Declare/pkg-descr
new file mode 100644
index 000000000000..b59fd975a737
--- /dev/null
+++ b/devel/p5-Class-Declare/pkg-descr
@@ -0,0 +1,9 @@
+Class::Declare allows class authors to specify public, private and protected
+attributes and methods for their classes, giving them control over how their
+modules may be accessed. The standard object oriented programming concepts
+of public, private and protected have been implemented for both class and
+instance (or object) attributes and methods.
+
+WWW: http://search.cpan.org/~ibb/Class-Declare/Declare.pm
+- Sergey Karatkevich
+simarg@gmail.com
diff --git a/devel/p5-Class-Declare/pkg-plist b/devel/p5-Class-Declare/pkg-plist
new file mode 100644
index 000000000000..c4ed1f1fbb3b
--- /dev/null
+++ b/devel/p5-Class-Declare/pkg-plist
@@ -0,0 +1,8 @@
+%%SITE_PERL%%/Class/Declare.pm
+%%SITE_PERL%%/Class/Declare/Dump.pm
+%%SITE_PERL%%/Class/Declare/Hash.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Declare/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Declare
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class
+@dirrm %%SITE_PERL%%/Class/Declare
+@dirrmtry %%SITE_PERL%%/Class