diff --git a/en/copyright/Makefile b/en/copyright/Makefile index 15b231d0eb..026521cc41 100644 --- a/en/copyright/Makefile +++ b/en/copyright/Makefile @@ -1,38 +1,38 @@ -# $FreeBSD: www/en/copyright/Makefile,v 1.9 1999/09/19 11:10:34 wosch Exp $ +# $FreeBSD: www/en/copyright/Makefile,v 1.10 2000/11/07 04:05:13 kuriyama Exp $ .if exists(../Makefile.conf) .include "../Makefile.conf" .endif .if exists(../Makefile.inc) .include "../Makefile.inc" .endif DOCS= license.sgml DOCS+= freebsd-license.sgml DOCS+= daemon.sgml DOCS+= copyright.sgml INDEXLINK= copyright.html CVS_READONLY?= YES CVS_OPT+= -Q .if !empty(CVS_READONLY) CVS_OPT+= -R .endif DATA+= COPYING COPYING.LIB ${LEGAL} # FreeBSD Ports redistribution restrictions LEGAL= LEGAL LEGAL_FILE= ports/LEGAL CLEANFILES+= ${LEGAL} .if defined(NOPORTSCVS) ${LEGAL}: $${PORTSBASE}/${LEGAL_FILE} cp ${PORTSBASE}/${LEGAL_FILE} ${LEGAL} .else -${LEGAL}: $${CVSROOT}/${LEGAL_FILE},v +${LEGAL}: cvs ${CVS_OPT} co -p ${LEGAL_FILE} > ${.TARGET} .endif .include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/en/ports/Makefile b/en/ports/Makefile index 4930b80311..39e139a351 100644 --- a/en/ports/Makefile +++ b/en/ports/Makefile @@ -1,80 +1,76 @@ -# $FreeBSD: www/en/ports/Makefile,v 1.31 2001/01/01 12:33:23 kuriyama Exp $ +# $FreeBSD: www/en/ports/Makefile,v 1.32 2001/04/22 17:44:25 wosch Exp $ .if exists(../Makefile.conf) .include "../Makefile.conf" .endif .if exists(../Makefile.inc) .include "../Makefile.inc" .endif .if exists(Makefile.inc) .include "Makefile.inc" .endif CVS_READONLY?= YES CVS_OPT+= -Q .if !empty(CVS_READONLY) CVS_OPT+= -R .endif # # This hack is allows to build www/ tree for case when ports/ located # in other repository, for example Repository of Translation Project # .if defined(PORTSCVSROOT) && !empty(PORTSCVSROOT) CVS_OPT+= -d ${PORTSCVSROOT} .endif .if defined(NOPORTSCVS) ${INDEX}: $${PORTSBASE}/${PINDEX} cp ${PORTSBASE}/${PINDEX} ${INDEX} .else -${INDEX}: ${cvsindex} +${INDEX}: cvs ${CVS_OPT} co -p ${PINDEX} > ${INDEX} .endif # build the list of available packages only on the # main FreeBSD machines hostname!= hostname # # don't build the packages links if NO_PACKAGES_LINK # is set and not empty. # # XXX: you can set NO_PACKAGES_LINK to your hostname to # test the packages link generation # .if defined(NO_PACKAGES_LINK) && !empty(NO_PACKAGES_LINK) hostname= ${NO_PACKAGES_LINK} .endif -.if defined(NOPORTSCVS) packages.exists: -.else -packages.exists: ${cvsindex} -.endif .if ${hostname} == "hub.freebsd.org" || ${hostname} == "freefall.freebsd.org" @if sh ${.CURDIR}/packages > ${.TARGET}.temp; then \ mv ${.TARGET}.temp ${.TARGET}; \ else \ rm ${.TARGET}.temp; touch ${.TARGET}; \ fi; .else touch ${.TARGET} .endif Makefile.gen: index.sgml .NOTMAIN echo DOCS= *.sgml > Makefile.gen index.sgml: ${INDEX} categories packages.exists portindex ports.inc .NOTMAIN rm -f *.sgml ${PORTINDEX} ${INDEX} ${.CURDIR} install: all all install clean: (cd ${.CURDIR} && ${MAKE} ${MAKEFLAGS} -f Makefile.inc0 ${.TARGET}) .include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/en/ports/Makefile.inc b/en/ports/Makefile.inc index 58a5c5633c..76a899b5f2 100644 --- a/en/ports/Makefile.inc +++ b/en/ports/Makefile.inc @@ -1,17 +1,15 @@ -# $FreeBSD: www/en/ports/Makefile.inc,v 1.4 2001/01/01 12:33:23 kuriyama Exp $ +# $FreeBSD: www/en/ports/Makefile.inc,v 1.5 2001/01/04 22:12:42 wosch Exp $ PORTINDEX= ${PERL} ${.CURDIR}/portindex INDEX= INDEX PINDEX= ports/${INDEX} COOKIE= ${INDEX} Makefile.gen CLEANFILES+= ${INDEX} CLEANFILES+= packages.exists.temp packages.exists CLEANFILES+= ${DOCS} CLEANFILES+= Makefile.gen -cvsindex= $${CVSROOT}/${PINDEX},v - _ALLINSTALL= packages.exists ${INDEX} categories