summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2003-03-05 21:32:15 +0000
committertobez <tobez@FreeBSD.org>2003-03-05 21:32:15 +0000
commit175ade9f8ff3045918bb82ca210489ac015a09d0 (patch)
tree67dd8d876879ed7e9028697332f4d77b0010675f /devel
parent2ef896f41bc561e86a396d5d7968255dd96e989a (diff)
downloadFreeBSD-ports-175ade9f8ff3045918bb82ca210489ac015a09d0.zip
FreeBSD-ports-175ade9f8ff3045918bb82ca210489ac015a09d0.tar.gz
Add p5-Object-Realize-Later 0.10, a perl module that implements delayed
creation of objects.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Object-Realize-Later/Makefile31
-rw-r--r--devel/p5-Object-Realize-Later/distinfo1
-rw-r--r--devel/p5-Object-Realize-Later/pkg-descr13
-rw-r--r--devel/p5-Object-Realize-Later/pkg-plist7
5 files changed, 53 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 95f147e..fe60196 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -569,6 +569,7 @@
SUBDIR += p5-Memoize
SUBDIR += p5-OLE-Storage_Lite
SUBDIR += p5-ORBit
+ SUBDIR += p5-Object-Realize-Later
SUBDIR += p5-POE
SUBDIR += p5-POE-Component-Client-DNS
SUBDIR += p5-POE-Component-Client-HTTP
diff --git a/devel/p5-Object-Realize-Later/Makefile b/devel/p5-Object-Realize-Later/Makefile
new file mode 100644
index 0000000..62e2eca
--- /dev/null
+++ b/devel/p5-Object-Realize-Later/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: Object-Realize-Later
+# Date created: 05 Mar 2003
+# Whom: tobez
+#
+# $FreeBSD$
+#
+
+PORTNAME= Object-Realize-Later
+PORTVERSION= 0.10
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Object
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@FreeBSD.org
+COMMENT= Object::Realize::Later - Delayed creation of objects
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+BROKEN= "Perl 5.6 or newer required. Install lang/perl5 or lang/perl5.8 and try again."
+.endif
+
+MAN3= Object::Realize::Later.3
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Object-Realize-Later/distinfo b/devel/p5-Object-Realize-Later/distinfo
new file mode 100644
index 0000000..eeb669e
--- /dev/null
+++ b/devel/p5-Object-Realize-Later/distinfo
@@ -0,0 +1 @@
+MD5 (Object-Realize-Later-0.10.tar.gz) = 4e9a81d9d70a5d183b83ddc5af579a11
diff --git a/devel/p5-Object-Realize-Later/pkg-descr b/devel/p5-Object-Realize-Later/pkg-descr
new file mode 100644
index 0000000..39bcfa6
--- /dev/null
+++ b/devel/p5-Object-Realize-Later/pkg-descr
@@ -0,0 +1,13 @@
+The Object::Realize::Later class helps with implementing transparent on
+demand realization of object data. This is related to the tricks on
+autoloading of data, the lesser known cousin of autoloading of
+functionality.
+
+On demand realization is all about performance gain. Why should you
+spent costly time on realizing an object, when the data on the object is
+never (or not yet) used? In interactive programs, postponed realization
+may boost start-up: the realization of objects is triggered by the use,
+so spread over time.
+
+Author: Mark Overmeer <Mark@Overmeer.net>
+WWW: http://search.cpan.org/search?dist=Object-Realize-Later
diff --git a/devel/p5-Object-Realize-Later/pkg-plist b/devel/p5-Object-Realize-Later/pkg-plist
new file mode 100644
index 0000000..233bda9
--- /dev/null
+++ b/devel/p5-Object-Realize-Later/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Object/Realize/Later/.packlist
+%%SITE_PERL%%/Object/Realize/Later.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Object/Realize/Later
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Object/Realize
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Object 2>/dev/null || true
+@dirrm %%SITE_PERL%%/Object/Realize
+@unexec rmdir %D/%%SITE_PERL%%/Object 2>/dev/null || true
OpenPOWER on IntegriCloud