- Fetch bzip2 compressed copy of INDEX instead of plain one
This commit is contained in:
parent
a26ee79eb7
commit
2001e6662b
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=26493
2 changed files with 5 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
# $FreeBSD: www/en/ports/Makefile,v 1.42 2005/11/15 10:09:26 osa Exp $
|
# $FreeBSD: www/en/ports/Makefile,v 1.43 2005/11/30 22:41:54 pav Exp $
|
||||||
|
|
||||||
.if exists(../Makefile.conf)
|
.if exists(../Makefile.conf)
|
||||||
.include "../Makefile.conf"
|
.include "../Makefile.conf"
|
||||||
|
@ -27,7 +27,8 @@ ${INDEX}: $${PORTSBASE}/${PINDEX}
|
||||||
${CP} ${PORTSBASE}/${PINDEX} ${INDEX}
|
${CP} ${PORTSBASE}/${PINDEX} ${INDEX}
|
||||||
.else
|
.else
|
||||||
${INDEX}:
|
${INDEX}:
|
||||||
${FETCH} ${FETCH_OPT} ${INDEXURI}
|
${FETCH} ${FETCH_OPT} -o ${INDEX}.bz2 ${INDEXURI}.bz2
|
||||||
|
${BUNZIP2} ${INDEX}.bz2
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
HOSTNAME!= hostname
|
HOSTNAME!= hostname
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $FreeBSD: www/en/ports/Makefile.inc,v 1.6 2001/06/14 03:09:56 dd Exp $
|
# $FreeBSD: www/en/ports/Makefile.inc,v 1.7 2005/11/15 10:09:26 osa Exp $
|
||||||
|
|
||||||
PORTINDEX= ${PERL} ${.CURDIR}/portindex
|
PORTINDEX= ${PERL} ${.CURDIR}/portindex
|
||||||
INDEX= INDEX
|
INDEX= INDEX
|
||||||
|
@ -6,7 +6,7 @@ PINDEX= ports/${INDEX}
|
||||||
|
|
||||||
COOKIE= ${INDEX} Makefile.gen
|
COOKIE= ${INDEX} Makefile.gen
|
||||||
|
|
||||||
CLEANFILES+= ${INDEX}
|
CLEANFILES+= ${INDEX} ${INDEX}.bz2
|
||||||
CLEANFILES+= packages.exists.temp packages.exists
|
CLEANFILES+= packages.exists.temp packages.exists
|
||||||
CLEANFILES+= ${DOCS}
|
CLEANFILES+= ${DOCS}
|
||||||
CLEANFILES+= Makefile.gen
|
CLEANFILES+= Makefile.gen
|
||||||
|
|
Loading…
Reference in a new issue