From 85f5c58162eff5e4e256f5c6bd38639afdc2a0b9 Mon Sep 17 00:00:00 2001 From: sem Date: Fri, 26 Nov 2004 00:58:23 +0000 Subject: [new port] devel/p5-Class-AutoClass PR: ports/74383 Submitted by: Fernan Aguero --- devel/Makefile | 1 + devel/p5-Class-AutoClass/Makefile | 33 +++++++++++++++++++++++++++++++++ devel/p5-Class-AutoClass/distinfo | 2 ++ devel/p5-Class-AutoClass/pkg-descr | 6 ++++++ devel/p5-Class-AutoClass/pkg-plist | 8 ++++++++ 5 files changed, 50 insertions(+) create mode 100644 devel/p5-Class-AutoClass/Makefile create mode 100644 devel/p5-Class-AutoClass/distinfo create mode 100644 devel/p5-Class-AutoClass/pkg-descr create mode 100644 devel/p5-Class-AutoClass/pkg-plist (limited to 'devel') 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 +# +# $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 + +.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 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 -- cgit