diff --git a/en/ports/Makefile b/en/ports/Makefile index 8e193fa531..bbaa9de5ae 100644 --- a/en/ports/Makefile +++ b/en/ports/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.16 1998-08-25 00:00:34 wosch Exp $ +# $Id: Makefile,v 1.17 1999-03-11 19:42:24 scrappy Exp $ .if exists(../Makefile.conf) .include "../Makefile.conf" @@ -7,25 +7,37 @@ PORTINDEX= perl ${.CURDIR}/portindex INDEX= INDEX PINDEX= ports/${INDEX} +Y2K= YEAR2000 +PY2K= ports/${Y2K} +WWW= WWW_SITE +PWWW= ports/${WWW} COOKIE= ${INDEX} Makefile.gen .if exists(Makefile.gen) .include "Makefile.gen" .endif -CLEANFILES+= ${DOCS} Makefile.gen ${INDEX} packages.exists +CLEANFILES+= ${DOCS} Makefile.gen ${INDEX} ${Y2K} ${WWW} packages.exists cvsindex= $${CVSROOT}/${PINDEX},v -_ALLINSTALL= packages.exists ${INDEX} +cvsy2k= $${CVSROOT}/${PY2K},v +cvswww= $${CVSROOT}/${PWWW},v +_ALLINSTALL= packages.exists ${INDEX} ${Y2K} ${WWW} ${INDEX}: ${cvsindex} cvs -QR co -p ${PINDEX} > ${INDEX} +${Y2K}: ${cvsy2k} + cvs -QR co -p ${PY2K} > ${Y2K} + +${WWW}: ${cvswww} + cvs -QR co -p ${PWWW} > ${WWW} + # build the list of available packages only on the # main FreeBSD machines hostname!= hostname -packages.exists: ${cvsindex} +packages.exists: ${cvsindex} ${cvsy2k} ${cvswww} .if ${hostname} == "hub.freebsd.org" || ${hostname} == "freefall.freebsd.org" sh ${.CURDIR}/packages > ${.TARGET} .else @@ -36,7 +48,7 @@ Makefile.gen: index.sgml .NOTMAIN echo DOCS= *.sgml > Makefile.gen ${MAKE} ${MAKEFLAGS} ${.IMPSRC} -index.sgml: ${INDEX} packages.exists portindex ports.inc .NOTMAIN +index.sgml: ${INDEX} ${Y2K} ${WWW} packages.exists portindex ports.inc .NOTMAIN rm -f *.sgml ${PORTINDEX} ${INDEX}