Make it possible to override the complete path to the INDEX file used
for the ports/ part of the website, by setting the PINDEX_OVERRIDE variable.
This commit is contained in:
parent
8125841e99
commit
a92a2b9942
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=22468
1 changed files with 5 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# $FreeBSD: www/en/ports/Makefile,v 1.35 2002/05/20 13:49:27 phantom Exp $
|
||||
# $FreeBSD: www/en/ports/Makefile,v 1.36 2003/05/11 21:16:56 ceri Exp $
|
||||
|
||||
.if exists(../Makefile.conf)
|
||||
.include "../Makefile.conf"
|
||||
|
@ -24,7 +24,10 @@ CVS_OPT+= -R
|
|||
CVS_OPT+= -d ${PORTSCVSROOT}
|
||||
.endif
|
||||
|
||||
.if defined(NOPORTSCVS)
|
||||
.if defined(PINDEX_OVERRIDE)
|
||||
${INDEX}: ${PINDEX_OVERRIDE}
|
||||
${CP} ${PINDEX_OVERRIDE} ${INDEX}
|
||||
.elif defined(NOPORTSCVS)
|
||||
${INDEX}: $${PORTSBASE}/${PINDEX}
|
||||
${CP} ${PORTSBASE}/${PINDEX} ${INDEX}
|
||||
.else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue