FreeBSD Bugzilla – Attachment 48087 Details for
Bug 73612
[new port] sysutils/p5-FreeBSD-Portindex
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
p5-FreeBSD-Portindex.shar
p5-FreeBSD-Portindex.shar (text/plain), 4.32 KB, created by
Matthew Seaman
on 2004-11-06 14:10:10 UTC
(
hide
)
Description:
p5-FreeBSD-Portindex.shar
Filename:
MIME Type:
Creator:
Matthew Seaman
Created:
2004-11-06 14:10:10 UTC
Size:
4.32 KB
patch
obsolete
># 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-FreeBSD-Portindex ># p5-FreeBSD-Portindex/distinfo ># p5-FreeBSD-Portindex/pkg-descr ># p5-FreeBSD-Portindex/Makefile ># p5-FreeBSD-Portindex/pkg-plist ># >echo c - p5-FreeBSD-Portindex >mkdir -p p5-FreeBSD-Portindex > /dev/null 2>&1 >echo x - p5-FreeBSD-Portindex/distinfo >sed 's/^X//' >p5-FreeBSD-Portindex/distinfo << 'END-of-p5-FreeBSD-Portindex/distinfo' >XMD5 (FreeBSD-Portindex-1.1.tar.bz2) = 04b721803667e4385f170421d1a32dc4 >XSIZE (FreeBSD-Portindex-1.1.tar.bz2) = 21958 >END-of-p5-FreeBSD-Portindex/distinfo >echo x - p5-FreeBSD-Portindex/pkg-descr >sed 's/^X//' >p5-FreeBSD-Portindex/pkg-descr << 'END-of-p5-FreeBSD-Portindex/pkg-descr' >X >Xcache-init, cache-update, find-updated and portindex are a set of perl >Xscripts built around the common core of the FreeBSD::Portindex >Xmodules. Their use is to generate and maintain the ports INDEX or >XINDEX-5 files speedily and efficiently. Ultimately they work in a very >Xsimilar way to the standard make index command, except that the >XFreeBSD::Portindex tools keep a cache of the make describe output from >Xeach port, and can update that cached data incrementally as the ports >Xtree itself is updated. >X >XWWW: http://www.infracaninophile.co.uk/portindex/ >X >X- Matthew Seaman <m.seaman@infracaninophile.co.uk> >END-of-p5-FreeBSD-Portindex/pkg-descr >echo x - p5-FreeBSD-Portindex/Makefile >sed 's/^X//' >p5-FreeBSD-Portindex/Makefile << 'END-of-p5-FreeBSD-Portindex/Makefile' >X# New ports collection Makefile for: FreeBSD::Portindex >X# Date created: 5 Nov 2004 >X# Whom: Matthew Seaman <m.seaman@infracaninophile.co.uk> >X# >X# $FreeBSD$ >X >XPORTNAME= FreeBSD-Portindex >XPORTVERSION= 1.1 >XCATEGORIES= sysutils perl5 >XMASTER_SITES= http://www.infracaninophile.co.uk/portindex/ >XPKGNAMEPREFIX= p5- >X >XMAINTAINER= m.seaman@infracaninophile.co.uk >XCOMMENT= Incremental FreeBSD ports INDEX file generation >X >XBUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/BerkeleyDB.pm:${PORTSDIR}/databases/p5-BerkeleyDB >XRUN_DEPENDS= ${BUILD_DEPENDS} >X >XUSE_BZIP2= yes >XPERL_CONFIGURE= yes >X >XCACHE_DIR?= /var/db/portindex >XCACHE_OWNER?= root >XCACHE_GROUP?= operator >XCACHE_MODE?= 0775 >X >XCFG_FILE= portindex.cfg >X >XMAN1= find-updated.1 cache-init.1 cache-update.1 portindex.1 >X >X.include <bsd.port.pre.mk> >X >X## >X## Needs a recent version of perl, preferably 5.8.5, but 5.6.1 should work >X## >X.if ${PERL_LEVEL} < 500601 >XIGNORE= Port requires perl 5.6.x or (preferably) later. Install lang/perl5.8 and try again >X.endif >X >X.if ${PERL_LEVEL} < 500800 >XBUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable >X.endif >X >Xpost-install: install-conf install-cache >X >Xinstall-conf: >X cd ${WRKSRC} ; \ >X ${INSTALL_DATA} ${CFG_FILE}.sample ${PREFIX}/etc/${CFG_FILE}.sample >X cd ${PREFIX}/etc ; \ >X if ${TEST} ! -f ${CFG_FILE} ; then \ >X ${CP} -p ${CFG_FILE}.sample ${CFG_FILE} ; \ >X fi >X >X# Create the cache directory and make it writable by group 'operator' >X# by default. Only if the cache directory doesn't already exist. >X# Have to do this by hand if installing via pkg. >X >Xinstall-cache: >X if ${TEST} ! -d ${CACHE_DIR} ; then \ >X ${MKDIR} ${CACHE_DIR} ; \ >X ${CHOWN} ${CACHE_OWNER}:${CACHE_GROUP} ${CACHE_DIR} ; \ >X ${CHMOD} ${CACHE_MODE} ${CACHE_DIR} ; \ >X fi >X >X.include <bsd.port.post.mk> >END-of-p5-FreeBSD-Portindex/Makefile >echo x - p5-FreeBSD-Portindex/pkg-plist >sed 's/^X//' >p5-FreeBSD-Portindex/pkg-plist << 'END-of-p5-FreeBSD-Portindex/pkg-plist' >Xbin/cache-init >Xbin/cache-update >Xbin/find-updated >Xbin/portindex >X@unexec if cmp -s %D/etc/portindex.cfg.sample %D/etc/portindex.cfg ; then rm -f %D/etc/portindex.cfg ; fi >Xetc/portindex.cfg.sample >X@exec [ ! -f %B/portindex.cfg ] && cp -p %B/%f %B/portindex.cfg || true >X%%SITE_PERL%%/FreeBSD/Portindex/Config.pm >X%%SITE_PERL%%/FreeBSD/Portindex/Port.pm >X%%SITE_PERL%%/FreeBSD/Portindex/Tree.pm >X%%SITE_PERL%%/%%PERL_ARCH%%/auto/FreeBSD/Portindex/.packlist >X@dirrm %%SITE_PERL%%/FreeBSD/Portindex >X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/FreeBSD/Portindex >X@unexec rmdir %D/%%SITE_PERL%%/FreeBSD 2>/dev/null || true >X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/FreeBSD 2>/dev/null || true >END-of-p5-FreeBSD-Portindex/pkg-plist >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 73612
: 48087