diff options
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Class-ObjectTemplate-DB/Makefile | 24 | ||||
-rw-r--r-- | devel/p5-Class-ObjectTemplate-DB/distinfo | 1 | ||||
-rw-r--r-- | devel/p5-Class-ObjectTemplate-DB/pkg-comment | 1 | ||||
-rw-r--r-- | devel/p5-Class-ObjectTemplate-DB/pkg-descr | 13 | ||||
-rw-r--r-- | devel/p5-Class-ObjectTemplate-DB/pkg-plist | 4 |
6 files changed, 44 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index a72ec501658a..3adeb0333055 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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 diff --git a/devel/p5-Class-ObjectTemplate-DB/Makefile b/devel/p5-Class-ObjectTemplate-DB/Makefile new file mode 100644 index 000000000000..cfd664308c83 --- /dev/null +++ b/devel/p5-Class-ObjectTemplate-DB/Makefile @@ -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> diff --git a/devel/p5-Class-ObjectTemplate-DB/distinfo b/devel/p5-Class-ObjectTemplate-DB/distinfo new file mode 100644 index 000000000000..e9cc7ce5dec0 --- /dev/null +++ b/devel/p5-Class-ObjectTemplate-DB/distinfo @@ -0,0 +1 @@ +MD5 (Class-ObjectTemplate-DB-0.23.tar.gz) = 5465cf8b7f9ebbee5d2703e9c5f86986 diff --git a/devel/p5-Class-ObjectTemplate-DB/pkg-comment b/devel/p5-Class-ObjectTemplate-DB/pkg-comment new file mode 100644 index 000000000000..50857defa492 --- /dev/null +++ b/devel/p5-Class-ObjectTemplate-DB/pkg-comment @@ -0,0 +1 @@ +An optimized template builder base class with lookup capability diff --git a/devel/p5-Class-ObjectTemplate-DB/pkg-descr b/devel/p5-Class-ObjectTemplate-DB/pkg-descr new file mode 100644 index 000000000000..78e7efaa3be6 --- /dev/null +++ b/devel/p5-Class-ObjectTemplate-DB/pkg-descr @@ -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> diff --git a/devel/p5-Class-ObjectTemplate-DB/pkg-plist b/devel/p5-Class-ObjectTemplate-DB/pkg-plist new file mode 100644 index 000000000000..33555ceed1c7 --- /dev/null +++ b/devel/p5-Class-ObjectTemplate-DB/pkg-plist @@ -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 |