Bandaid for the removal of ports/INDEX; better solutions are welcomed.
This commit is contained in:
parent
3cc0fc6652
commit
0f0cc533d3
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=22934
5 changed files with 23 additions and 52 deletions
|
@ -1,4 +1,4 @@
|
||||||
# $FreeBSD: www/en/ports/Makefile,v 1.37 2004/09/25 11:59:58 simon Exp $
|
# $FreeBSD: www/en/ports/Makefile,v 1.38 2004/11/05 12:47:07 simon Exp $
|
||||||
|
|
||||||
.if exists(../Makefile.conf)
|
.if exists(../Makefile.conf)
|
||||||
.include "../Makefile.conf"
|
.include "../Makefile.conf"
|
||||||
|
@ -10,11 +10,7 @@
|
||||||
.include "Makefile.inc"
|
.include "Makefile.inc"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
CVS_READONLY?= YES
|
FETCH_OPT?= -am
|
||||||
CVS_OPT+= -Q
|
|
||||||
.if !empty(CVS_READONLY)
|
|
||||||
CVS_OPT+= -R
|
|
||||||
.endif
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Force NO_TIDY for the ports web pages, since it takes a long time to
|
# Force NO_TIDY for the ports web pages, since it takes a long time to
|
||||||
|
@ -23,23 +19,15 @@ CVS_OPT+= -R
|
||||||
#
|
#
|
||||||
NO_TIDY= YES
|
NO_TIDY= YES
|
||||||
|
|
||||||
#
|
|
||||||
# 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(PINDEX_OVERRIDE)
|
.if defined(PINDEX_OVERRIDE)
|
||||||
${INDEX}: ${PINDEX_OVERRIDE}
|
${INDEX}: ${PINDEX_OVERRIDE}
|
||||||
${CP} ${PINDEX_OVERRIDE} ${INDEX}
|
${CP} ${PINDEX_OVERRIDE} ${INDEX}
|
||||||
.elif defined(NOPORTSCVS)
|
.elif defined(NOPORTSNET)
|
||||||
${INDEX}: $${PORTSBASE}/${PINDEX}
|
${INDEX}: $${PORTSBASE}/${PINDEX}
|
||||||
${CP} ${PORTSBASE}/${PINDEX} ${INDEX}
|
${CP} ${PORTSBASE}/${PINDEX} ${INDEX}
|
||||||
.else
|
.else
|
||||||
${INDEX}:
|
${INDEX}:
|
||||||
${CVS} ${CVS_OPT} co -p ${PINDEX} > ${INDEX}
|
${FETCH} ${FETCH_OPT} ${INDEXURI}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
# build the list of available packages only on the
|
# build the list of available packages only on the
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $FreeBSD: www/es/ports/Makefile,v 1.10 2001/12/06 12:28:23 phantom Exp $
|
# $FreeBSD: www/es/ports/Makefile,v 1.11 2001/12/12 11:57:37 phantom Exp $
|
||||||
|
|
||||||
.if exists(../Makefile.conf)
|
.if exists(../Makefile.conf)
|
||||||
.include "../Makefile.conf"
|
.include "../Makefile.conf"
|
||||||
|
@ -10,12 +10,14 @@
|
||||||
.include "Makefile.inc"
|
.include "Makefile.inc"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
FETCH_OPT?= -am
|
||||||
|
|
||||||
.if defined(NOPORTSCVS)
|
.if defined(NOPORTSCVS)
|
||||||
${INDEX}: $${PORTSBASE}/${PINDEX}
|
${INDEX}: $${PORTSBASE}/${PINDEX}
|
||||||
cp ${PORTSBASE}/${PINDEX} ${INDEX}
|
cp ${PORTSBASE}/${PINDEX} ${INDEX}
|
||||||
.else
|
.else
|
||||||
${INDEX}:
|
${INDEX}:
|
||||||
cvs -QR co -p ${PINDEX} > ${INDEX}
|
${FETCH} ${FETCH_OPT} ${INDEXURI}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
# build the list of available packages only on the
|
# build the list of available packages only on the
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $FreeBSD: www/ja/ports/Makefile,v 1.25 2001/11/19 15:35:42 hrs Exp $
|
# $FreeBSD: www/ja/ports/Makefile,v 1.26 2004/11/01 06:36:22 rushani Exp $
|
||||||
# The FreeBSD Japanese Documentation Project
|
# The FreeBSD Japanese Documentation Project
|
||||||
# Original revision: 1.37
|
# Original revision: 1.37
|
||||||
|
|
||||||
|
@ -12,29 +12,17 @@
|
||||||
.include "../../en/ports/Makefile.inc"
|
.include "../../en/ports/Makefile.inc"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
CVS_READONLY?= YES
|
FETCH_OPT?= -am
|
||||||
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(PINDEX_OVERRIDE)
|
.if defined(PINDEX_OVERRIDE)
|
||||||
${INDEX}: ${PINDEX_OVERRIDE}
|
${INDEX}: ${PINDEX_OVERRIDE}
|
||||||
${CP} ${PINDEX_OVERRIDE} ${INDEX}
|
${CP} ${PINDEX_OVERRIDE} ${INDEX}
|
||||||
.elif defined(NOPORTSCVS)
|
.elif defined(NOPORTSNET)
|
||||||
${INDEX}: $${PORTSBASE}/${PINDEX}
|
${INDEX}: $${PORTSBASE}/${PINDEX}
|
||||||
${CP} ${PORTSBASE}/${PINDEX} ${INDEX}
|
${CP} ${PORTSBASE}/${PINDEX} ${INDEX}
|
||||||
.else
|
.else
|
||||||
${INDEX}:
|
${INDEX}:
|
||||||
${CVS} ${CVS_OPT} co -p ${PINDEX} > ${INDEX}
|
${FETCH} ${FETCH_OPT} ${INDEXURI}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
# build the list of available packages only on the
|
# build the list of available packages only on the
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#
|
#
|
||||||
# The FreeBSD Russian Documentation Project
|
# The FreeBSD Russian Documentation Project
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD: www/ru/ports/Makefile,v 1.7 2004/03/23 23:04:23 phantom Exp $
|
||||||
# $FreeBSDru: frdp/www/ru/ports/Makefile,v 1.9 2004/03/23 21:09:19 phantom Exp $
|
# $FreeBSDru: frdp/www/ru/ports/Makefile,v 1.9 2004/03/23 21:09:19 phantom Exp $
|
||||||
#
|
#
|
||||||
# Original revision: 1.36
|
# Original revision: 1.36
|
||||||
|
@ -17,27 +17,14 @@
|
||||||
.include "Makefile.inc"
|
.include "Makefile.inc"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
CVS_READONLY?= YES
|
FETCH_OPT?= -am
|
||||||
CVS_OPT+= -Q
|
|
||||||
.if !empty(CVS_READONLY)
|
|
||||||
CVS_OPT+= -R
|
|
||||||
.endif
|
|
||||||
|
|
||||||
#
|
.if defined(NOPORTSNET)
|
||||||
# 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}
|
${INDEX}: $${PORTSBASE}/${PINDEX}
|
||||||
${CP} ${PORTSBASE}/${PINDEX} ${INDEX}
|
${CP} ${PORTSBASE}/${PINDEX} ${INDEX}
|
||||||
.else
|
.else
|
||||||
${INDEX}:
|
${INDEX}:
|
||||||
${CVS} ${CVS_OPT} co -p ${PINDEX} > ${INDEX} || \
|
${FETCH} ${FETCH_OPT} ${INDEXURI} || (${RM} -f ${INDEX} && false)
|
||||||
(${RM} -f ${INDEX} && false)
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
# build the list of available packages only on the
|
# build the list of available packages only on the
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# bsd.web.mk
|
# bsd.web.mk
|
||||||
# $FreeBSD: www/share/mk/web.site.mk,v 1.61 2004/06/27 06:22:31 hrs Exp $
|
# $FreeBSD: www/share/mk/web.site.mk,v 1.62 2004/06/27 14:40:04 simon Exp $
|
||||||
|
|
||||||
#
|
#
|
||||||
# Build and install a web site.
|
# Build and install a web site.
|
||||||
|
@ -30,6 +30,7 @@ CGIMODE?= 775
|
||||||
CP?= /bin/cp
|
CP?= /bin/cp
|
||||||
CVS?= /usr/bin/cvs
|
CVS?= /usr/bin/cvs
|
||||||
ECHO_CMD?= echo
|
ECHO_CMD?= echo
|
||||||
|
FETCH?= /usr/bin/fetch
|
||||||
FIND?= /usr/bin/find
|
FIND?= /usr/bin/find
|
||||||
SETENV?= /usr/bin/env
|
SETENV?= /usr/bin/env
|
||||||
LN?= /bin/ln
|
LN?= /bin/ln
|
||||||
|
@ -107,6 +108,11 @@ COPY= -C
|
||||||
#
|
#
|
||||||
PORTSBASE?= /usr
|
PORTSBASE?= /usr
|
||||||
|
|
||||||
|
#
|
||||||
|
# URL where INDEX can be found (define NOPORTSNET to disable)
|
||||||
|
#
|
||||||
|
INDEXURI?= http://www.FreeBSD.org/ports/INDEX
|
||||||
|
|
||||||
#
|
#
|
||||||
# Instruct bsd.subdir.mk to NOT to process SUBDIR directive. It is not
|
# Instruct bsd.subdir.mk to NOT to process SUBDIR directive. It is not
|
||||||
# neccessary since web.site.mk do it using own rules.
|
# neccessary since web.site.mk do it using own rules.
|
||||||
|
|
Loading…
Reference in a new issue