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>
This commit is contained in:
Mathieu Arnold 2004-08-18 16:52:18 +00:00
parent 3a8f07a415
commit fba1ac52e0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116603
5 changed files with 39 additions and 0 deletions

View file

@ -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

View file

@ -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>

View file

@ -0,0 +1,2 @@
MD5 (Class-Observable-1.02.tar.gz) = 792de9e203bda8940d30caca3fb97d60
SIZE (Class-Observable-1.02.tar.gz) = 9008

View file

@ -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

View file

@ -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