diff options
author | mat <mat@FreeBSD.org> | 2004-08-19 00:52:18 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2004-08-19 00:52:18 +0800 |
commit | 5ab8c503fe66d9be5c4e625308d87ccef77a3b10 (patch) | |
tree | 364e0dd0575e8476e666151fbd484bd67fef3452 /devel | |
parent | c3d454cfdee77d89703b24bc7329771bc090ecad (diff) | |
download | freebsd-ports-gnome-5ab8c503fe66d9be5c4e625308d87ccef77a3b10.tar.gz freebsd-ports-gnome-5ab8c503fe66d9be5c4e625308d87ccef77a3b10.tar.zst freebsd-ports-gnome-5ab8c503fe66d9be5c4e625308d87ccef77a3b10.zip |
Add p5-Class-Observable 1.02, allow other classes and objects to respond
to events in yours.
PR: ports/70339
Submitted by: Travis Campbell <hcoyote@ghostar.org>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Class-Observable/Makefile | 25 | ||||
-rw-r--r-- | devel/p5-Class-Observable/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-Class-Observable/pkg-descr | 6 | ||||
-rw-r--r-- | devel/p5-Class-Observable/pkg-plist | 5 |
5 files changed, 39 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 9c51e08342b2..222a6b960e34 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -641,6 +641,7 @@ SUBDIR += p5-Class-NamedParms SUBDIR += p5-Class-ObjectTemplate SUBDIR += p5-Class-ObjectTemplate-DB + SUBDIR += p5-Class-Observable SUBDIR += p5-Class-ParmList SUBDIR += p5-Class-ReturnValue SUBDIR += p5-Class-Roles diff --git a/devel/p5-Class-Observable/Makefile b/devel/p5-Class-Observable/Makefile new file mode 100644 index 000000000000..ba13e994a093 --- /dev/null +++ b/devel/p5-Class-Observable/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: Class-Observable +# Date created: 11 Aug 2004 +# Whom: Travis Campbell <hcoyote@ghostar.org> +# +# $FreeBSD$ +# + +PORTNAME= Class-Observable +PORTVERSION= 1.02 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Class +PKGNAMEPREFIX= p5- + +MAINTAINER= hcoyote@ghostar.org +COMMENT= Allow other classes and objects to respond to events in yours + +BUILD_DEPENDS= ${SITE_PERL}/Class/ISA.pm:${PORTSDIR}/devel/p5-Class-ISA +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Class::Observable.3 + +.include <bsd.port.mk> diff --git a/devel/p5-Class-Observable/distinfo b/devel/p5-Class-Observable/distinfo new file mode 100644 index 000000000000..b5372ce4ed45 --- /dev/null +++ b/devel/p5-Class-Observable/distinfo @@ -0,0 +1,2 @@ +MD5 (Class-Observable-1.02.tar.gz) = 792de9e203bda8940d30caca3fb97d60 +SIZE (Class-Observable-1.02.tar.gz) = 9008 diff --git a/devel/p5-Class-Observable/pkg-descr b/devel/p5-Class-Observable/pkg-descr new file mode 100644 index 000000000000..ecfbf9b6e941 --- /dev/null +++ b/devel/p5-Class-Observable/pkg-descr @@ -0,0 +1,6 @@ +If you have ever used Java, you may have run across the java.util.Observable +class and the java.util.Observer interface. Using them, you can decouple an +object from the one or more objects that wish to be notified whenever +particular events occur. Class::Observable allows you to mimic this action. + +WWW: http://search.cpan.org/search?dist=Class-Observable diff --git a/devel/p5-Class-Observable/pkg-plist b/devel/p5-Class-Observable/pkg-plist new file mode 100644 index 000000000000..d9d4d41c97e2 --- /dev/null +++ b/devel/p5-Class-Observable/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/Class/Observable.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Observable/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Observable +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/Class 2>/dev/null || true |