summaryrefslogtreecommitdiff
path: root/textproc/docbook/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/docbook/Makefile')
-rw-r--r--textproc/docbook/Makefile37
1 files changed, 31 insertions, 6 deletions
diff --git a/textproc/docbook/Makefile b/textproc/docbook/Makefile
index d68c6dda0cf..4c67fca24f3 100644
--- a/textproc/docbook/Makefile
+++ b/textproc/docbook/Makefile
@@ -1,14 +1,16 @@
-# $NetBSD: Makefile,v 1.7 2000/06/07 20:32:00 hubertf Exp $
+# $NetBSD: Makefile,v 1.8 2000/06/27 00:51:40 hubertf Exp $
# FreeBSD Id: Makefile,v 1.4 1998/06/27 05:19:35 asami Exp
#
DISTNAME= docbook-4.0
CATEGORIES= textproc
-MASTER_SITES= http://www.oasis-open.org/docbook/sgml/4.0/ \
+MASTER_SITES= \
+ http://www.oasis-open.org/docbook/sgml/4.1/ \
+ http://www.oasis-open.org/docbook/sgml/4.0/ \
http://www.oasis-open.org/docbook/sgml/3.1/ \
http://www.oasis-open.org/docbook/sgml/3.0/ \
http://www.oasis-open.org/docbook/sgml/2.4.1/
-DISTFILES= docbk241.zip docbk30.zip docbk31.zip docbk40.zip
+DISTFILES= docbk241.zip docbk30.zip docbk31.zip docbk40.zip docbk41.zip
MAINTAINER= rh@NetBSD.ORG
HOMEPAGE= http://www.ora.com/davenport/
@@ -29,25 +31,48 @@ pre-install:
@[ -d ${INSTDIR}/3.0 ] || ${MKDIR} ${INSTDIR}/3.0
@[ -d ${INSTDIR}/3.1 ] || ${MKDIR} ${INSTDIR}/3.1
@[ -d ${INSTDIR}/4.0 ] || ${MKDIR} ${INSTDIR}/4.0
+ @[ -d ${INSTDIR}/4.1 ] || ${MKDIR} ${INSTDIR}/4.1
do-install:
+ #
+ # 2.4.1:
+ #
@(cd ${INSTDIR}/2.4.1; unzip ${DISTDIR}/docbk241.zip)
@${RM} -r ${INSTDIR}/2.4.1/iso-*
@${INSTALL_DATA} ${FILESDIR}/catalog241 ${INSTDIR}/2.4.1/catalog
@${ECHO} "CATALOG \"${ISOCAT}\"" >> ${INSTDIR}/2.4.1/catalog
+ @${CHMOD} ${SHAREMODE} ${INSTDIR}/2.4.1/*
+ #
+ # 3.0:
+ #
@(cd ${INSTDIR}/3.0; unzip ${DISTDIR}/docbk30.zip)
@${INSTALL_DATA} ${FILESDIR}/catalog30 ${INSTDIR}/3.0/catalog
@${ECHO} "CATALOG \"${ISOCAT}\"" >> ${INSTDIR}/3.0/catalog
+ @${CHMOD} ${SHAREMODE} ${INSTDIR}/3.0/*
+ #
+ # 3.1:
+ #
@(cd ${INSTDIR}/3.1; unzip ${DISTDIR}/docbk31.zip)
@${INSTALL_DATA} ${FILESDIR}/catalog31 ${INSTDIR}/3.1/catalog
@${ECHO} "CATALOG \"${ISOCAT}\"" >> ${INSTDIR}/3.1/catalog
+ @${CHMOD} ${SHAREMODE} ${INSTDIR}/3.1/*
+ #
+ # 4.0:
+ #
@(cd ${INSTDIR}/4.0; unzip ${DISTDIR}/docbk40.zip)
@${INSTALL_DATA} ${FILESDIR}/catalog40 ${INSTDIR}/4.0/catalog
@${ECHO} "CATALOG \"${ISOCAT}\"" >> ${INSTDIR}/4.0/catalog
- @${CHMOD} ${SHAREMODE} ${INSTDIR}/2.4.1/*
- @${CHMOD} ${SHAREMODE} ${INSTDIR}/3.0/*
- @${CHMOD} ${SHAREMODE} ${INSTDIR}/3.1/*
@${CHMOD} ${SHAREMODE} ${INSTDIR}/4.0/*
+ #
+ # 4.1:
+ #
+ @(cd ${INSTDIR}/4.1; unzip ${DISTDIR}/docbk41.zip)
+ @${EGREP} '^PUBLIC.*(DocBook|Table)' ${INSTDIR}/4.1/docbook.cat >${INSTDIR}/4.1/catalog
+ @${ECHO} "CATALOG \"${ISOCAT}\"" >> ${INSTDIR}/4.1/catalog
+ @${CHMOD} ${SHAREMODE} ${INSTDIR}/4.1/*
+ #
+ # General cleanup
+ #
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
.include "../../mk/bsd.pkg.mk"