diff options
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/p5-LJ-Cache/Makefile | 21 | ||||
-rw-r--r-- | sysutils/p5-LJ-Cache/distinfo | 1 | ||||
-rw-r--r-- | sysutils/p5-LJ-Cache/pkg-comment | 1 | ||||
-rw-r--r-- | sysutils/p5-LJ-Cache/pkg-descr | 9 | ||||
-rw-r--r-- | sysutils/p5-LJ-Cache/pkg-plist | 3 |
6 files changed, 36 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 1b541261366a..c428c4a2fc4f 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -81,6 +81,7 @@ SUBDIR += nwclient SUBDIR += obliterate SUBDIR += p5-Filesys-DiskSpace + SUBDIR += p5-LJ-Cache SUBDIR += p5-Quota SUBDIR += p5-Schedule-At SUBDIR += p5-Schedule-Cron diff --git a/sysutils/p5-LJ-Cache/Makefile b/sysutils/p5-LJ-Cache/Makefile new file mode 100644 index 000000000000..fb520986d0e8 --- /dev/null +++ b/sysutils/p5-LJ-Cache/Makefile @@ -0,0 +1,21 @@ +# New ports collection makefile for: p5-LJ-Cache +# Date created: 25 Mar 2001 +# Whom: Michael Johnson <ahze@ahze.net> +# +# $FreeBSD$ + +PORTNAME= LJ-Cache +PORTVERSION= 1.0 +CATEGORIES= sysutils perl5 +MASTER_SITES= http://livejournal.com/files/code/cache/ \ + ftp://ftp.livejournal.com/code/cache/ +PKGNAMEPREFIX= p5- + +MAINTAINER= ahze@ahze.net + +PERL_CONFIGURE= yes + +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} +MAN3= LJ::Cache.3 + +.include <bsd.port.mk> diff --git a/sysutils/p5-LJ-Cache/distinfo b/sysutils/p5-LJ-Cache/distinfo new file mode 100644 index 000000000000..0bd32731be5b --- /dev/null +++ b/sysutils/p5-LJ-Cache/distinfo @@ -0,0 +1 @@ +MD5 (LJ-Cache-1.0.tar.gz) = a7d7c0b8c54239d72ba3647be0de1d14 diff --git a/sysutils/p5-LJ-Cache/pkg-comment b/sysutils/p5-LJ-Cache/pkg-comment new file mode 100644 index 000000000000..59e3117ac8f5 --- /dev/null +++ b/sysutils/p5-LJ-Cache/pkg-comment @@ -0,0 +1 @@ +Perl5 implementation of an LRU dictionary cache diff --git a/sysutils/p5-LJ-Cache/pkg-descr b/sysutils/p5-LJ-Cache/pkg-descr new file mode 100644 index 000000000000..3eed991e718f --- /dev/null +++ b/sysutils/p5-LJ-Cache/pkg-descr @@ -0,0 +1,9 @@ +This class implements an LRU dictionary cache. The two operations on it are +get() and set(), both of which promote the key being referenced to the ``top'' +of the cache, so it will stay alive longest. When the cache is full and and a +new item needs to be added, the oldest one is thrown away. You should be able +to regenerate the data at any time, if get() returns undef. This class is +useful for caching information from a slower data source while also keeping +a bound on memory usage. + +WWW: http://livejournal.com/code/cache/ diff --git a/sysutils/p5-LJ-Cache/pkg-plist b/sysutils/p5-LJ-Cache/pkg-plist new file mode 100644 index 000000000000..4aba43e395d0 --- /dev/null +++ b/sysutils/p5-LJ-Cache/pkg-plist @@ -0,0 +1,3 @@ +lib/perl5/site_perl/5.005/LJ/Cache.pm +lib/perl5/site_perl/5.005/auto/LJ/Cache/autosplit.ix +@dirrm lib/perl5/site_perl/5.005/auto/LJ/Cache/ |