aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Class-Closure/Makefile32
-rw-r--r--devel/p5-Class-Closure/distinfo3
-rw-r--r--devel/p5-Class-Closure/pkg-descr4
-rw-r--r--devel/p5-Class-Closure/pkg-plist6
5 files changed, 46 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 2342a7eb6ba7..7863a567bbe0 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -889,6 +889,7 @@
SUBDIR += p5-Class-Base
SUBDIR += p5-Class-BlackHole
SUBDIR += p5-Class-C3
+ SUBDIR += p5-Class-Closure
SUBDIR += p5-Class-CodeStyler
SUBDIR += p5-Class-Constant
SUBDIR += p5-Class-Container
diff --git a/devel/p5-Class-Closure/Makefile b/devel/p5-Class-Closure/Makefile
new file mode 100644
index 000000000000..d694e3217d7e
--- /dev/null
+++ b/devel/p5-Class-Closure/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: devel/p5-Class-Closure
+# Date created: 22 April 2007
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Class-Closure
+PORTVERSION= 0.21
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Class
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@FreeBSD.org
+COMMENT= Encapsulated, declarative classes in Perl
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/PadWalker.pm:${PORTSDIR}/devel/p5-PadWalker \
+ ${SITE_PERL}/${PERL_ARCH}/Devel/Caller.pm:${PORTSDIR}/devel/p5-Devel-Caller
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Class::Closure.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+IGNORE= depends on something that wants perl 5.8.0 or later
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Class-Closure/distinfo b/devel/p5-Class-Closure/distinfo
new file mode 100644
index 000000000000..a32e17053915
--- /dev/null
+++ b/devel/p5-Class-Closure/distinfo
@@ -0,0 +1,3 @@
+MD5 (Class-Closure-0.21.tar.gz) = c9dbfa262d14b3e8e40abf929956d660
+SHA256 (Class-Closure-0.21.tar.gz) = 6b4aa40192088a7e712ca583d64af1a8fcc97df246f4163af747e944e7c2c3c7
+SIZE (Class-Closure-0.21.tar.gz) = 6771
diff --git a/devel/p5-Class-Closure/pkg-descr b/devel/p5-Class-Closure/pkg-descr
new file mode 100644
index 000000000000..30a909ce65ba
--- /dev/null
+++ b/devel/p5-Class-Closure/pkg-descr
@@ -0,0 +1,4 @@
+Class::Closure is a package that makes creating Perl classes less
+cumbersome. You can think of it as a more featureful Class::Struct.
+
+WWW: http://search.cpan.org/dist/Class-Closure/
diff --git a/devel/p5-Class-Closure/pkg-plist b/devel/p5-Class-Closure/pkg-plist
new file mode 100644
index 000000000000..3dd97e3c1c0d
--- /dev/null
+++ b/devel/p5-Class-Closure/pkg-plist
@@ -0,0 +1,6 @@
+%%SITE_PERL%%/Class/Closure.pm
+%%SITE_PERL%%/Class/benchmark.pl
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Closure/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Closure
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class
+@dirrmtry %%SITE_PERL%%/Class