Add p5-Class-ObjectTemplate-DB 0.23, an optimized template builder

base class with lookup capability.

PR:		32641
Submitted by:	Tony Maher <tonym@biolateral.com.au>
This commit is contained in:
Pete Fritchman 2001-12-19 20:20:33 +00:00
parent 41c22e9c76
commit 7358a46960
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=51865
6 changed files with 44 additions and 0 deletions

View file

@ -331,6 +331,7 @@
SUBDIR += p5-Class-Loader
SUBDIR += p5-Class-MethodMaker
SUBDIR += p5-Class-ObjectTemplate
SUBDIR += p5-Class-ObjectTemplate-DB
SUBDIR += p5-Class-Singleton
SUBDIR += p5-Class-Tom
SUBDIR += p5-Config-Ini

View file

@ -0,0 +1,24 @@
# New ports collection makefile for: Class::ObjectTemplate
# Date created: 9 Nov 2001
# Whom: Tony Maher <tonym@biolateral.com.au>
#
# $FreeBSD$
#
PORTNAME= Class-ObjectTemplate-DB
PORTVERSION= 0.23
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Class
PKGNAMEPREFIX= p5-
MAINTAINER= tonym@biolateral.com.au
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Class/ObjectTemplate.pm:${PORTSDIR}/devel/p5-Class-ObjectTemplate
PERL_CONFIGURE= yes
MAN3= Class::ObjectTemplate::DB.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>

View file

@ -0,0 +1 @@
MD5 (Class-ObjectTemplate-DB-0.23.tar.gz) = 5465cf8b7f9ebbee5d2703e9c5f86986

View file

@ -0,0 +1 @@
An optimized template builder base class with lookup capability

View file

@ -0,0 +1,13 @@
Class::ObjectTemplate::DB extends Class::ObjectTemplate in one
simple way: the undefined() method.
The author finds this useful when representing classes based on
objects stored in databases (hence the name of the module).
That way an object can be created, without triggering a DB lookup.
Later if data is accessed and it is not currently present in the object,
it can be retrieved on an as-need basis.
WWW: http://search.cpan.org/search?dist=Class-ObjectTemplate-DB
--
Tony Maher <tonym@biolateral.com.au>

View file

@ -0,0 +1,4 @@
lib/perl5/site_perl/%%PERL_VER%%/Class/ObjectTemplate/DB.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/ObjectTemplate/DB/.packlist
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Class/ObjectTemplate/DB
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Class/ObjectTemplate 2>/dev/null || true