Bug 26086

Summary: Another New Port.: p5-LJ-Cache
Product: Ports & Packages Reporter: Michael Johnson <ahze>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Michael Johnson 2001-03-26 00:40:01 UTC
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-LJ-Cache/
#	p5-LJ-Cache/Makefile
#	p5-LJ-Cache/distinfo
#	p5-LJ-Cache/pkg-comment
#	p5-LJ-Cache/pkg-descr
#	p5-LJ-Cache/pkg-plist
#
echo c - p5-LJ-Cache/
mkdir -p p5-LJ-Cache/ > /dev/null 2>&1
echo x - p5-LJ-Cache/Makefile
sed 's/^X//' >p5-LJ-Cache/Makefile << 'END-of-p5-LJ-Cache/Makefile'
X# New ports collection makefile for:	p5-LJ-Cache
X# Date created:				25 Mar 2001
X# Whom:	      				Michael Johnson <ahze@ahze.net>
X#
X
XPORTNAME=	LJ-Cache
XPORTVERSION=	1.0
XCATEGORIES=	perl5 sysutils
XMASTER_SITES=	http://livejournal.com/files/code/cache/ \
X		ftp://ftp.livejournal.com/code/cache/ 
X		
X
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	ahze@ahze.net
X
X
XPERL_CONFIGURE=	yes
X
X
X.include <bsd.port.mk>
END-of-p5-LJ-Cache/Makefile
echo x - p5-LJ-Cache/distinfo
sed 's/^X//' >p5-LJ-Cache/distinfo << 'END-of-p5-LJ-Cache/distinfo'
XMD5 (LJ-Cache-1.0.tar.gz) = a7d7c0b8c54239d72ba3647be0de1d14
END-of-p5-LJ-Cache/distinfo
echo x - p5-LJ-Cache/pkg-comment
sed 's/^X//' >p5-LJ-Cache/pkg-comment << 'END-of-p5-LJ-Cache/pkg-comment'
X 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. 
END-of-p5-LJ-Cache/pkg-comment
echo x - p5-LJ-Cache/pkg-descr
sed 's/^X//' >p5-LJ-Cache/pkg-descr << 'END-of-p5-LJ-Cache/pkg-descr'
XThis class implements an LRU dictionary cache. The two operations on it are 
Xget() and set(), both of which promote the key being referenced to the ``top'' 
Xof the cache, so it will stay alive longest. When the cache is full and and a 
Xnew item needs to be added, the oldest one is thrown away. You should be able 
Xto regenerate the data at any time, if get() returns undef. This class is 
Xuseful for caching information from a slower data source while also keeping 
Xa bound on memory usage. 
X
XWWW: http://livejournal.com/code/cache/
END-of-p5-LJ-Cache/pkg-descr
echo x - p5-LJ-Cache/pkg-plist
sed 's/^X//' >p5-LJ-Cache/pkg-plist << 'END-of-p5-LJ-Cache/pkg-plist'
Xlib/perl5/5.00503/man/man3/LJ::Cache.3
Xlib/perl5/site_perl/5.005/LJ/Cache.pm
Xlib/perl5/site_perl/5.005/auto/LJ/Cache/autosplit.ix
X@dirrm lib/perl5/site_perl/5.005/auto/LJ/Cache/
END-of-p5-LJ-Cache/pkg-plist
exit
Comment 1 Will Andrews freebsd_committer freebsd_triage 2001-03-31 02:56:32 UTC
State Changed
From-To: open->closed

Committed, thanks.  I cleaned up your port, namely the ugly pkg-comment 
and the bad manpage in the PLIST (moved to Makefile).