diff options
author | tobez <tobez@FreeBSD.org> | 2004-07-28 16:41:51 +0800 |
---|---|---|
committer | tobez <tobez@FreeBSD.org> | 2004-07-28 16:41:51 +0800 |
commit | 8d41d49bcf848320b639f294829d6077c7ba322a (patch) | |
tree | 2eae7af0806193b1b4ca48c28bb99a2adca64c61 /devel | |
parent | 2f678db928d37c824721683f060541744c9bdf29 (diff) | |
download | freebsd-ports-gnome-8d41d49bcf848320b639f294829d6077c7ba322a.tar.gz freebsd-ports-gnome-8d41d49bcf848320b639f294829d6077c7ba322a.tar.zst freebsd-ports-gnome-8d41d49bcf848320b639f294829d6077c7ba322a.zip |
Add p5-Class-Virtual, a base class for virtual base classes in Perl.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Class-Virtual/Makefile | 27 | ||||
-rw-r--r-- | devel/p5-Class-Virtual/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-Class-Virtual/pkg-descr | 5 | ||||
-rw-r--r-- | devel/p5-Class-Virtual/pkg-plist | 6 |
5 files changed, 41 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index a3c59bd1f090..0f464fcc1d84 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -640,6 +640,7 @@ SUBDIR += p5-Class-Tangram SUBDIR += p5-Class-Tom SUBDIR += p5-Class-Trigger + SUBDIR += p5-Class-Virtual SUBDIR += p5-Class-WhiteHole SUBDIR += p5-Class-XPath SUBDIR += p5-Clone diff --git a/devel/p5-Class-Virtual/Makefile b/devel/p5-Class-Virtual/Makefile new file mode 100644 index 000000000000..9a9a7fdb8ec2 --- /dev/null +++ b/devel/p5-Class-Virtual/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: Class-Virtual +# Date created: 28 Jul 2004 +# Whom: Anton Berezin <tobez@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= Class-Virtual +PORTVERSION= 0.04 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Class +PKGNAMEPREFIX= p5- + +MAINTAINER= perl@FreeBSD.org +COMMENT= Base class for virtual base classes in Perl + +BUILD_DEPENDS= ${SITE_PERL}/Class/Data/Inheritable.pm:${PORTSDIR}/devel/p5-Class-Data-Inheritable \ + ${SITE_PERL}/Class/ISA.pm:${PORTSDIR}/devel/p5-Class-ISA \ + ${SITE_PERL}/Carp/Assert.pm:${PORTSDIR}/devel/p5-Carp-Assert +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Class::Virtual.3 Class::Virtually::Abstract.3 + +.include <bsd.port.mk> diff --git a/devel/p5-Class-Virtual/distinfo b/devel/p5-Class-Virtual/distinfo new file mode 100644 index 000000000000..a375b08db8c6 --- /dev/null +++ b/devel/p5-Class-Virtual/distinfo @@ -0,0 +1,2 @@ +MD5 (Class-Virtual-0.04.tar.gz) = e3c1102f97a50904da1240f3f67446e4 +SIZE (Class-Virtual-0.04.tar.gz) = 5829 diff --git a/devel/p5-Class-Virtual/pkg-descr b/devel/p5-Class-Virtual/pkg-descr new file mode 100644 index 000000000000..c4af122761f5 --- /dev/null +++ b/devel/p5-Class-Virtual/pkg-descr @@ -0,0 +1,5 @@ +This is a base class for implementing virtual base classes (what some +people call an abstract class). It allows you to explicitly declare +what methods are virtual and that must be implemented by subclasses. + +WWW: http://search.cpan.org/dist/Class-Virtual/ diff --git a/devel/p5-Class-Virtual/pkg-plist b/devel/p5-Class-Virtual/pkg-plist new file mode 100644 index 000000000000..c63ad2b323fb --- /dev/null +++ b/devel/p5-Class-Virtual/pkg-plist @@ -0,0 +1,6 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Virtual/.packlist +%%SITE_PERL%%/Class/Virtual.pm +%%SITE_PERL%%/Class/Virtually/Abstract.pm +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Virtual +@dirrm %%SITE_PERL%%/Class/Virtually +@unexec rmdir %D/%%SITE_PERL%%/Class 2>/dev/null || true |