aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Memoize/Makefile33
-rw-r--r--devel/p5-Memoize/distinfo1
-rw-r--r--devel/p5-Memoize/pkg-comment1
-rw-r--r--devel/p5-Memoize/pkg-descr11
-rw-r--r--devel/p5-Memoize/pkg-plist12
6 files changed, 59 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 550f36fad1fb..7c47c88df0cf 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -374,6 +374,7 @@
SUBDIR += p5-Log-Dispatch
SUBDIR += p5-Mac-FileSpec-Unixish
SUBDIR += p5-Make
+ SUBDIR += p5-Memoize
SUBDIR += p5-OLE-Storage_Lite
SUBDIR += p5-ORBit
SUBDIR += p5-POE
diff --git a/devel/p5-Memoize/Makefile b/devel/p5-Memoize/Makefile
new file mode 100644
index 000000000000..8c0a3ff06c2c
--- /dev/null
+++ b/devel/p5-Memoize/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: devel/p5-Memoize
+# Date created: 12 October 2001
+# Whom: tobez
+#
+# $FreeBSD$
+#
+
+PORTNAME= Memoize
+PORTVERSION= 0.66
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Memoize
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@FreeBSD.org
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Memoize.3 \
+ Memoize::AnyDBM_File.3 \
+ Memoize::Expire.3 \
+ Memoize::ExpireFile.3 \
+ Memoize::ExpireTest.3 \
+ Memoize::NDBM_File.3 \
+ Memoize::SDBM_File.3 \
+ Memoize::Saves.3 \
+ Memoize::Storable.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Memoize/distinfo b/devel/p5-Memoize/distinfo
new file mode 100644
index 000000000000..e71f0dfcbffa
--- /dev/null
+++ b/devel/p5-Memoize/distinfo
@@ -0,0 +1 @@
+MD5 (Memoize-0.66.tar.gz) = 804caefdda04b884c7957c41a3e46534
diff --git a/devel/p5-Memoize/pkg-comment b/devel/p5-Memoize/pkg-comment
new file mode 100644
index 000000000000..74469912a555
--- /dev/null
+++ b/devel/p5-Memoize/pkg-comment
@@ -0,0 +1 @@
+Transparently speed up perl functions by caching return values
diff --git a/devel/p5-Memoize/pkg-descr b/devel/p5-Memoize/pkg-descr
new file mode 100644
index 000000000000..2d1bb3f77f4a
--- /dev/null
+++ b/devel/p5-Memoize/pkg-descr
@@ -0,0 +1,11 @@
+`Memoizing' a function makes it faster by trading space for time. It
+does this by caching the return values of the function in a table. If
+you call the function again with the same arguments, memoize jumps in
+and gives you the value out of the table, instead of letting the
+function compute the value all over again.
+
+Author: Mark-Jason Dominus <mjd-perl-memoize+@plover.com>
+WWW: http://search.cpan.org/search?dist=Memoize
+
+-Anton
+<tobez@FreeBSD.org>
diff --git a/devel/p5-Memoize/pkg-plist b/devel/p5-Memoize/pkg-plist
new file mode 100644
index 000000000000..f00621a1b96f
--- /dev/null
+++ b/devel/p5-Memoize/pkg-plist
@@ -0,0 +1,12 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Memoize/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/Memoize.pm
+lib/perl5/site_perl/%%PERL_VER%%/Memoize/ExpireTest.pm
+lib/perl5/site_perl/%%PERL_VER%%/Memoize/Saves.pm
+lib/perl5/site_perl/%%PERL_VER%%/Memoize/Expire.pm
+lib/perl5/site_perl/%%PERL_VER%%/Memoize/AnyDBM_File.pm
+lib/perl5/site_perl/%%PERL_VER%%/Memoize/Storable.pm
+lib/perl5/site_perl/%%PERL_VER%%/Memoize/SDBM_File.pm
+lib/perl5/site_perl/%%PERL_VER%%/Memoize/ExpireFile.pm
+lib/perl5/site_perl/%%PERL_VER%%/Memoize/NDBM_File.pm
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Memoize 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Memoize 2>/dev/null || true