diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-12-04 17:17:48 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-12-04 17:17:48 +0000 |
commit | f9992608f9cd9f5af9641b2aabd67573e2ccbaea (patch) | |
tree | 06875a37a4d36ed3bfa0d4e1109c122811581487 /Mk/bsd.port.subdir.mk | |
parent | 80afc7818f699f0c2bd3c1164f9c8d88ea85ef19 (diff) | |
download | ports-f9992608f9cd9f5af9641b2aabd67573e2ccbaea.tar.gz ports-f9992608f9cd9f5af9641b2aabd67573e2ccbaea.zip |
Add the INDEXFILE variable, that defaults to INDEX-5 on 5.0 (500036) and
later, and INDEX on earlier systems. Use this in the 'make index' and
associated targets. This is necessary to deal with the substantially
different dependencies of ports between 4.x and 5.0 (e.g. ports that
depend on perl).
Notes
Notes:
svn path=/head/; revision=71366
Diffstat (limited to 'Mk/bsd.port.subdir.mk')
-rw-r--r-- | Mk/bsd.port.subdir.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Mk/bsd.port.subdir.mk b/Mk/bsd.port.subdir.mk index e7523af8a6b9..584d5213b5fc 100644 --- a/Mk/bsd.port.subdir.mk +++ b/Mk/bsd.port.subdir.mk @@ -205,6 +205,11 @@ README= ${TEMPLATES}/README.category .endif COMMENT?= ${.CURDIR}/pkg/COMMENT DESCR?= ${.CURDIR}/pkg/DESCR +.if ${OSVERSION} >= 500036 +INDEXFILE?= INDEX-5 +.else +INDEXFILE?= INDEX +.endif HTMLIFY= sed -e 's/&/\&/g' -e 's/>/\>/g' -e 's/</\</g' |