From fba1ac52e0321657925513e8a20f6b54dc38fbb6 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Wed, 18 Aug 2004 16:52:18 +0000 Subject: Add p5-Class-Observable 1.02, allow other classes and objects to respond to events in yours. PR: ports/70339 Submitted by: Travis Campbell --- devel/Makefile | 1 + devel/p5-Class-Observable/Makefile | 25 +++++++++++++++++++++++++ devel/p5-Class-Observable/distinfo | 2 ++ devel/p5-Class-Observable/pkg-descr | 6 ++++++ devel/p5-Class-Observable/pkg-plist | 5 +++++ 5 files changed, 39 insertions(+) create mode 100644 devel/p5-Class-Observable/Makefile create mode 100644 devel/p5-Class-Observable/distinfo create mode 100644 devel/p5-Class-Observable/pkg-descr create mode 100644 devel/p5-Class-Observable/pkg-plist (limited to 'devel') 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 +# +# $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 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 -- cgit v1.2.3