pkgsrc/textproc/docbook/Makefile

91 lines
2.9 KiB
Makefile
Raw Normal View History

2002-09-21 12:46:45 +02:00
# $NetBSD: Makefile,v 1.17 2002/09/21 10:48:55 jlam Exp $
# FreeBSD Id: Makefile,v 1.4 1998/06/27 05:19:35 asami Exp
#
DISTNAME= docbook-4.2
CATEGORIES= textproc
MASTER_SITES= \
http://www.oasis-open.org/docbook/sgml/4.2/ \
http://www.oasis-open.org/docbook/sgml/4.1/ \
http://www.oasis-open.org/docbook/sgml/4.0/ \
Update to DocBook V4.0. Changes from DocBook V3.1 to DocBook V4.0: Markup: - RFE 17: Added a common attribute 'Condition' for generic effectivity - RFE 38: The nav.class elements (ToC|LoT|Index|Glossary|Bibliography) are now allowed at the beginning and end of components and sections - RFE 58: The 'optmult' and 'reqmult' attribute values have been removed from Group - RFE 65: Added several class attribute values to Filename and SystemItem at the request of the Linux community - RFE 73: Removed BookBiblio and SeriesInfo - RFE 81: Added SidebarInfo to Sidebar - RFE 87: Added 'xmlpi' and 'emptytag' as class values of SGMLTag - RFE 92: Added 'CO' to Synopsis and LiteralLayout - RFE 99: Added SimpleMsgEntry as an alternative to MsgEntry in order to provide a simpler MsgSet construct - RFE 103: Added RevDescription as an alternative to RevRemark in RevHistory; this allows longer descriptive text in a revision - RFE 104: Added 'Specification' to the list of document classes on Article - RFE 108: Allow admonitions in Answers - RFE 110: Allow a RevHistory on QandAEntry - RFE 115: Allow optional Title on OrderedList and ItemizedList - RFE 116: Added LineNumbering attribute to linespecific environments for presentation of line numbers - Added a common attribute 'Security' for effectivity - Added synopsis markup for modern programming languages (e.g, object oriented languages like Java, C++, and IDL) - Renamed DocInfo to PrefaceInfo, ChapterInfo, AppendixInfo, etc. Other: - RFE 88: Added PEs to include/ignore dbnotn.mod and dbcent.mod - RFE 102: Fixed some outstanding namecase problems - RFE 105: Added PNG notation - RFE 106: Removed some odd *.content PEs that interfered with customization layers - RFE 109: Added FPI to content of dbgenent.mod (for consistency) - RFE 111: Added the Euro symbol - Fixed bug in cals-tbl.dtd; a model group was used for the element declaration, but the attlist declaration used "Table" literally.
2000-06-07 22:32:00 +02:00
http://www.oasis-open.org/docbook/sgml/3.1/ \
2000-05-12 20:18:18 +02:00
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 docbk41.zip \
docbook-4.2.zip
MAINTAINER= rh@NetBSD.ORG
HOMEPAGE= http://www.ora.com/davenport/
COMMENT= SGML DTD designed for computer documentation
BUILD_DEPENDS= unzip-[0-9]*:../../archivers/unzip
DEPENDS+= iso8879-1986:../../textproc/iso8879
NO_MTREE= yes
2002-09-21 12:46:45 +02:00
USE_BUILDLINK2= yes
EXTRACT_ONLY= # empty
NO_BUILD= yes
WRKSRC= ${WRKDIR}
INSTDIR= ${PREFIX}/share/sgml/docbook
ISOCAT= ${PREFIX}/share/sgml/iso8879/catalog
pre-install:
${INSTALL_DATA_DIR} ${INSTDIR}/2.4.1
2002-09-21 12:46:45 +02:00
@[ -d ${INSTDIR}/3.0 ] || ${INSTALL_DATA_DIR} ${INSTDIR}/3.0
@[ -d ${INSTDIR}/3.1 ] || ${INSTALL_DATA_DIR} ${INSTDIR}/3.1
@[ -d ${INSTDIR}/4.0 ] || ${INSTALL_DATA_DIR} ${INSTDIR}/4.0
@[ -d ${INSTDIR}/4.1 ] || ${INSTALL_DATA_DIR} ${INSTDIR}/4.1
@[ -d ${INSTDIR}/4.2 ] || ${INSTALL_DATA_DIR} ${INSTDIR}/4.2
do-install:
#
# 2.4.1:
2000-09-03 15:34:42 +02:00
#
@(cd ${INSTDIR}/2.4.1; unzip ${DISTDIR}/docbk241.zip)
2000-02-05 07:57:11 +01:00
@${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:
2000-09-03 15:34:42 +02:00
#
@(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:
2000-09-03 15:34:42 +02:00
#
@(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:
2000-09-03 15:34:42 +02:00
#
Update to DocBook V4.0. Changes from DocBook V3.1 to DocBook V4.0: Markup: - RFE 17: Added a common attribute 'Condition' for generic effectivity - RFE 38: The nav.class elements (ToC|LoT|Index|Glossary|Bibliography) are now allowed at the beginning and end of components and sections - RFE 58: The 'optmult' and 'reqmult' attribute values have been removed from Group - RFE 65: Added several class attribute values to Filename and SystemItem at the request of the Linux community - RFE 73: Removed BookBiblio and SeriesInfo - RFE 81: Added SidebarInfo to Sidebar - RFE 87: Added 'xmlpi' and 'emptytag' as class values of SGMLTag - RFE 92: Added 'CO' to Synopsis and LiteralLayout - RFE 99: Added SimpleMsgEntry as an alternative to MsgEntry in order to provide a simpler MsgSet construct - RFE 103: Added RevDescription as an alternative to RevRemark in RevHistory; this allows longer descriptive text in a revision - RFE 104: Added 'Specification' to the list of document classes on Article - RFE 108: Allow admonitions in Answers - RFE 110: Allow a RevHistory on QandAEntry - RFE 115: Allow optional Title on OrderedList and ItemizedList - RFE 116: Added LineNumbering attribute to linespecific environments for presentation of line numbers - Added a common attribute 'Security' for effectivity - Added synopsis markup for modern programming languages (e.g, object oriented languages like Java, C++, and IDL) - Renamed DocInfo to PrefaceInfo, ChapterInfo, AppendixInfo, etc. Other: - RFE 88: Added PEs to include/ignore dbnotn.mod and dbcent.mod - RFE 102: Fixed some outstanding namecase problems - RFE 105: Added PNG notation - RFE 106: Removed some odd *.content PEs that interfered with customization layers - RFE 109: Added FPI to content of dbgenent.mod (for consistency) - RFE 111: Added the Euro symbol - Fixed bug in cals-tbl.dtd; a model group was used for the element declaration, but the attlist declaration used "Table" literally.
2000-06-07 22:32:00 +02:00
@(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}/4.0/*
#
# 4.1:
2000-09-03 15:34:42 +02:00
#
@(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/*
#
# 4.2:
#
@(cd ${INSTDIR}/4.2; unzip ${DISTDIR}/docbook-4.2.zip)
@${EGREP} '^PUBLIC.*(DocBook|Table)' ${INSTDIR}/4.2/docbook.cat >${INSTDIR}/4.2/catalog
@${ECHO} "CATALOG \"${ISOCAT}\"" >> ${INSTDIR}/4.2/catalog
@${CHMOD} ${SHAREMODE} ${INSTDIR}/4.2/*
#
# General cleanup
#
1999-04-23 14:33:19 +02:00
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
.include "../../mk/bsd.pkg.mk"