aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2004-11-26 08:58:23 +0800
committersem <sem@FreeBSD.org>2004-11-26 08:58:23 +0800
commit85f5c58162eff5e4e256f5c6bd38639afdc2a0b9 (patch)
tree2040a4499de9fad636ec8b1c391fa9098cbf851f /devel
parentd6a669c950bdf8c78eee5c3fc141e70945375192 (diff)
downloadfreebsd-ports-gnome-85f5c58162eff5e4e256f5c6bd38639afdc2a0b9.tar.gz
freebsd-ports-gnome-85f5c58162eff5e4e256f5c6bd38639afdc2a0b9.tar.zst
freebsd-ports-gnome-85f5c58162eff5e4e256f5c6bd38639afdc2a0b9.zip
[new port] devel/p5-Class-AutoClass
PR: ports/74383 Submitted by: Fernan Aguero <fernan(at)iib.unsam.edu.ar>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-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
5 files changed, 50 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 84d8988c60f6..7c9c2285d8eb 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -635,6 +635,7 @@
SUBDIR += p5-Class-Accessor-Lvalue
SUBDIR += p5-Class-AlzaboWrapper
SUBDIR += p5-Class-ArrayObjects
+ SUBDIR += p5-Class-AutoClass
SUBDIR += p5-Class-Autouse
SUBDIR += p5-Class-Base
SUBDIR += p5-Class-BlackHole
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