aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2001-12-20 04:20:33 +0800
committerpetef <petef@FreeBSD.org>2001-12-20 04:20:33 +0800
commit3fc623c720e89f6cb0c26e2c49123b29293d30dc (patch)
treec7b3f0987be491db31326499e9fe8977dac87546 /devel
parentbc1a3a0b668b177f7c51ec10aa652025b9df8280 (diff)
downloadfreebsd-ports-graphics-3fc623c720e89f6cb0c26e2c49123b29293d30dc.tar.gz
freebsd-ports-graphics-3fc623c720e89f6cb0c26e2c49123b29293d30dc.tar.zst
freebsd-ports-graphics-3fc623c720e89f6cb0c26e2c49123b29293d30dc.zip
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>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Class-ObjectTemplate-DB/Makefile24
-rw-r--r--devel/p5-Class-ObjectTemplate-DB/distinfo1
-rw-r--r--devel/p5-Class-ObjectTemplate-DB/pkg-comment1
-rw-r--r--devel/p5-Class-ObjectTemplate-DB/pkg-descr13
-rw-r--r--devel/p5-Class-ObjectTemplate-DB/pkg-plist4
6 files changed, 44 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index a72ec501658..3adeb033305 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 00000000000..cfd664308c8
--- /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 00000000000..e9cc7ce5dec
--- /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 00000000000..50857defa49
--- /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 00000000000..78e7efaa3be
--- /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 00000000000..33555ceed1c
--- /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