diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-12-01 01:05:38 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-12-01 01:05:38 +0000 |
commit | 19997da7f71d9c009f5f3e345e458e3eccc700bb (patch) | |
tree | f2f96ac19b5de0f363632d29a3701e0e526e8881 /Makefile | |
parent | 16430c8e85969ca84f2103e8494f930b571cae26 (diff) | |
download | ports-19997da7f71d9c009f5f3e345e458e3eccc700bb.tar.gz ports-19997da7f71d9c009f5f3e345e458e3eccc700bb.zip |
Notes
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -65,14 +65,17 @@ index: @cd ${.CURDIR} && make ${.CURDIR}/INDEX ${.CURDIR}/INDEX: - @echo -n "Generating INDEX - please wait.." - @cd ${.CURDIR} && make describe ECHO_MSG="echo > /dev/null" | \ - perl ${.CURDIR}/Tools/make_index > ${.CURDIR}/INDEX + @echo -n "Generating INDEX - please wait.."; \ + export LOCALBASE=/nonexistentlocal; \ + export X11BASE=/nonexistentx; \ + cd ${.CURDIR} && make describe ECHO_MSG="echo > /dev/null" | \ + perl ${.CURDIR}/Tools/make_index | \ + sed -e 's/ */ /g' -e 's/| */|/g' -e 's/ *|/|/g' -e "s,${LOCALBASE},/usr/local," -e "s,${X11BASE},/usr/X11R6," > INDEX .if !defined(INDEX_NOSORT) @sed -e 's./..g' ${.CURDIR}/INDEX | \ sort -t '|' +1 -2 | \ - sed -e 's../.g' > ${.CURDIR}/INDEX.tmp - @mv -f ${.CURDIR}/INDEX.tmp ${.CURDIR}/INDEX + sed -e 's../.g' > ${.CURDIR}/INDEX.tmp; \ + mv -f ${.CURDIR}/INDEX.tmp ${.CURDIR}/INDEX .endif @echo " Done." |