aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Class-AutoClass
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2004-11-26 00:58:23 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2004-11-26 00:58:23 +0000
commit6387140db2d9c15715ca845407639eff8d3767ef (patch)
tree880f6f56521a7cfab676909f69647adacb1ec4b3 /devel/p5-Class-AutoClass
parentfd72caab8463d01717201b053ad27a1f4f21d943 (diff)
downloadports-6387140db2d9c15715ca845407639eff8d3767ef.tar.gz
ports-6387140db2d9c15715ca845407639eff8d3767ef.zip
Notes
Diffstat (limited to 'devel/p5-Class-AutoClass')
-rw-r--r--devel/p5-Class-AutoClass/Makefile33
-rw-r--r--devel/p5-Class-AutoClass/distinfo2
-rw-r--r--devel/p5-Class-AutoClass/pkg-descr6
-rw-r--r--devel/p5-Class-AutoClass/pkg-plist8
4 files changed, 49 insertions, 0 deletions
diff --git a/devel/p5-Class-AutoClass/Makefile b/devel/p5-Class-AutoClass/Makefile
new file mode 100644
index 000000000000..dd84945c9d03
--- /dev/null
+++ b/devel/p5-Class-AutoClass/Makefile
@@ -0,0 +1,33 @@
+# vim:ts=8
+# New ports collection makefile for: p5-Class-AutoClass
+# Date created: 25 November 2004
+# Whom: Fernan Aguero <fernan@iib.unsam.edu.ar>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Class-AutoClass
+PORTVERSION= 0.09
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Class
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= fernan@iib.unsam.edu.ar
+COMMENT= Automatically define simple get and set methods in an inheritance structure
+
+PERL_CONFIGURE= yes
+
+MAN3= Class::AutoClass::Root.3 Class::AutoClass.3 Class::AutoClass::Args.3
+#NOMANCOMPRESS= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE= This port requires perl 5.6.x or later.
+.endif
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Data/Dumper.pm:${PORTSDIR}/devel/p5-Data-Dumper
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Class-AutoClass/distinfo b/devel/p5-Class-AutoClass/distinfo
new file mode 100644
index 000000000000..129492305f32
--- /dev/null
+++ b/devel/p5-Class-AutoClass/distinfo
@@ -0,0 +1,2 @@
+MD5 (Class-AutoClass-0.09.tar.gz) = cf18b2614abb488c709ae62ea3796ff6
+SIZE (Class-AutoClass-0.09.tar.gz) = 16738
diff --git a/devel/p5-Class-AutoClass/pkg-descr b/devel/p5-Class-AutoClass/pkg-descr
new file mode 100644
index 000000000000..3993144afe1e
--- /dev/null
+++ b/devel/p5-Class-AutoClass/pkg-descr
@@ -0,0 +1,6 @@
+Class::AutoClass => similar to Class::MakeMethods, provides support for:
+ - automatically generating mutator methods for simple values,
+ - allows for automatic attribute initialization and default value
+ initilaization,
+ - object initialization is handled correctly (in top-down order), even
+ in the presence of multiple inheritance
diff --git a/devel/p5-Class-AutoClass/pkg-plist b/devel/p5-Class-AutoClass/pkg-plist
new file mode 100644
index 000000000000..4f6d99f29f25
--- /dev/null
+++ b/devel/p5-Class-AutoClass/pkg-plist
@@ -0,0 +1,8 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/AutoClass/.packlist
+%%SITE_PERL%%/Class/AutoClass.pm
+%%SITE_PERL%%/Class/AutoClass/Root.pm
+%%SITE_PERL%%/Class/AutoClass/Args.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/AutoClass
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class 2>/dev/null || true
+@dirrm %%SITE_PERL%%/Class/AutoClass
+@unexec rmdir %D/%%SITE_PERL%%/Class 2>/dev/null || true