Read www/en/ports/packages.exists if available - don't ask
ftp.freebsd.org again for the package list.
This commit is contained in:
parent
48350df160
commit
77056e1473
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=4955
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
# $Id: Makefile,v 1.14 1999-05-06 15:15:19 motoyuki Exp $
|
# $Id: Makefile,v 1.15 1999-05-27 08:58:19 wosch Exp $
|
||||||
# The FreeBSD Japanese Documentation Project
|
# The FreeBSD Japanese Documentation Project
|
||||||
# Original revision: 1.22
|
# Original revision: 1.22
|
||||||
|
|
||||||
|
@ -49,7 +49,11 @@ packages.exists:
|
||||||
packages.exists: ${cvsindex} ${cvsy2k}
|
packages.exists: ${cvsindex} ${cvsy2k}
|
||||||
.endif
|
.endif
|
||||||
.if ${hostname} == "hub.freebsd.org" || ${hostname} == "freefall.freebsd.org"
|
.if ${hostname} == "hub.freebsd.org" || ${hostname} == "freefall.freebsd.org"
|
||||||
|
.if exists(${.CURDIR}/../../en/ports/packages.exists)
|
||||||
|
cp ${.CURDIR}/../../en/ports/${.TARGET} .
|
||||||
|
.else
|
||||||
sh ${.CURDIR}/../../en/ports/packages > ${.TARGET}
|
sh ${.CURDIR}/../../en/ports/packages > ${.TARGET}
|
||||||
|
.endif
|
||||||
.else
|
.else
|
||||||
touch ${.TARGET}
|
touch ${.TARGET}
|
||||||
.endif
|
.endif
|
||||||
|
|
Loading…
Reference in a new issue