aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Object-Realize-Later
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2003-03-06 05:32:15 +0800
committertobez <tobez@FreeBSD.org>2003-03-06 05:32:15 +0800
commit175ade9f8ff3045918bb82ca210489ac015a09d0 (patch)
tree67dd8d876879ed7e9028697332f4d77b0010675f /devel/p5-Object-Realize-Later
parent2ef896f41bc561e86a396d5d7968255dd96e989a (diff)
downloadfreebsd-ports-gnome-175ade9f8ff3045918bb82ca210489ac015a09d0.tar.gz
freebsd-ports-gnome-175ade9f8ff3045918bb82ca210489ac015a09d0.tar.zst
freebsd-ports-gnome-175ade9f8ff3045918bb82ca210489ac015a09d0.zip
Add p5-Object-Realize-Later 0.10, a perl module that implements delayed
creation of objects.
Diffstat (limited to 'devel/p5-Object-Realize-Later')
-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
4 files changed, 52 insertions, 0 deletions
diff --git a/devel/p5-Object-Realize-Later/Makefile b/devel/p5-Object-Realize-Later/Makefile
new file mode 100644
index 000000000000..62e2ecab0b50
--- /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 000000000000..eeb669ec2e6e
--- /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 000000000000..39bcfa62505e
--- /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 000000000000..233bda97a0dc
--- /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