From 1a6c5dbb3d0649c5420572c0c47c39ff96959d17 Mon Sep 17 00:00:00 2001 From: avsm Date: Wed, 28 May 2003 00:10:56 +0000 Subject: [PATCH] update to docbook-4.2; the new one is the XML version --- textproc/docbook/Makefile | 14 ++++++---- textproc/docbook/distinfo | 3 +++ textproc/docbook/files/xml_db42_catalog | 28 ++++++++++++++++++++ textproc/docbook/files/xml_db_catalog | 1 + textproc/docbook/pkg/PLIST | 34 ++++++++++++++++++++++++- 5 files changed, 74 insertions(+), 6 deletions(-) create mode 100644 textproc/docbook/files/xml_db42_catalog diff --git a/textproc/docbook/Makefile b/textproc/docbook/Makefile index 6df38498295..a046638b932 100644 --- a/textproc/docbook/Makefile +++ b/textproc/docbook/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.16 2002/10/28 22:43:46 naddy Exp $ +# $OpenBSD: Makefile,v 1.17 2003/05/28 00:10:56 avsm Exp $ COMMENT= "technical documentation XML/SGML definitions" -DISTNAME= docbook-4.1.2 +DISTNAME= docbook-4.2 DIST_SUBDIR= docbook CATEGORIES= textproc @@ -17,9 +17,10 @@ MASTER_SITES3= ${ROOT_SITE}/sgml/4.0/ ${MIRROR_SITE}/sgml/4.0/ MASTER_SITES4= ${ROOT_SITE}/sgml/4.1/ ${MIRROR_SITE}/sgml/4.1/ MASTER_SITES5= ${ROOT_SITE}/xml/4.1/ ${MIRROR_SITE}/xml/4.1/ MASTER_SITES6= ${ROOT_SITE}/xml/4.1.2/ ${MIRROR_SITE}/xml/4.1.2/ -MASTER_SITES7= http://www.docbook.org/tdg/ +MASTER_SITES7= ${ROOT_SITE}/xml/4.2/ ${MIRROR_SITE}/xml/4.2/ +MASTER_SITES8= http://www.docbook.org/tdg/ -DISTFILES= docbk241.zip:0 docbk30.zip:1 docbk31.zip:2 docbk40.zip:3 docbk41.zip:4 docbkx41.zip:5 docbkx412.zip:6 examples.zip:7 +DISTFILES= docbk241.zip:0 docbk30.zip:1 docbk31.zip:2 docbk40.zip:3 docbk41.zip:4 docbkx41.zip:5 docbkx412.zip:6 docbook-xml-4.2.zip:7 examples.zip:8 MAINTAINER= Anil Madhavapeddy @@ -34,7 +35,7 @@ NO_REGRESS= Yes SEPARATE_BUILD= concurrent SGML_VERSIONS= 2.4.1 3.0 3.1 4.0 4.1 -XML_VERSIONS= 4.1 4.1.2 +XML_VERSIONS= 4.1 4.1.2 4.2 SGML_INSTDIR= ${PREFIX}/share/sgml/docbook XML_INSTDIR= ${PREFIX}/share/xml/docbook @@ -46,6 +47,9 @@ RUN_DEPENDS= ::textproc/iso8879 \ EXTRACT_CASES+= *docbk${i:S/.//g}.zip) unzip -qa ${FULLDISTDIR}/$$archive -d ${WRKDIR}/$i;; .endfor +# new naming system for recent docbook versions +EXTRACT_CASES+= *docbook-xml-4.2.zip) unzip -qa ${FULLDISTDIR}/$$archive -d ${WRKDIR}/x4.2;; + do-install: ${INSTALL_DATA_DIR} ${SGML_INSTDIR} ${XML_INSTDIR} ${INSTALL_DATA} ${FILESDIR}/sgml_catalog ${PREFIX}/share/sgml/catalog diff --git a/textproc/docbook/distinfo b/textproc/docbook/distinfo index dfd613fdcf1..c3c86bb73fd 100644 --- a/textproc/docbook/distinfo +++ b/textproc/docbook/distinfo @@ -5,6 +5,7 @@ MD5 (docbook/docbk40.zip) = fabcf7dd1d88b94797b7e5344389eab9 MD5 (docbook/docbk41.zip) = 489f6ff2a2173eb1e14216c10533ede2 MD5 (docbook/docbkx41.zip) = 90afec959a2a8c8636b121c198a30de8 MD5 (docbook/docbkx412.zip) = 0d5a4a999a2d7b2e77a46bd069301caf +MD5 (docbook/docbook-xml-4.2.zip) = 73fe50dfe74ca631c1602f558ed8961f MD5 (docbook/examples.zip) = eebcf7cb154ed760d1537a7ea4a31f7c RMD160 (docbook/docbk241.zip) = 8a78758d40da64bb0cc010ac713634d071e90394 RMD160 (docbook/docbk30.zip) = 29f2360c0eeef0f167ceb02dd91ef7e12f004136 @@ -13,6 +14,7 @@ RMD160 (docbook/docbk40.zip) = c479d08b1de3b8bab75fba9e89790a455973f7b2 RMD160 (docbook/docbk41.zip) = 4d6f5636ad6e22fec53bc7c211b8133f8d657b56 RMD160 (docbook/docbkx41.zip) = 574e68b6c59025f1e386f24871d198229a1a1a41 RMD160 (docbook/docbkx412.zip) = 34da80da408e3643d21b649c9442293002ee020e +RMD160 (docbook/docbook-xml-4.2.zip) = 3ba17bf96ab2ab8fe6dc9ff82da8e22aaf9ce5e0 RMD160 (docbook/examples.zip) = c0ea55453979e1a20d9b390ccaf9847e8933f79d SHA1 (docbook/docbk241.zip) = fb314ca2a1eddef2c1e2db3eb3ffd15feff2f865 SHA1 (docbook/docbk30.zip) = 83b22b248ed17e686df3a04494ac696b9710e5af @@ -21,4 +23,5 @@ SHA1 (docbook/docbk40.zip) = 95f9c7d3d339d7d3889bd1f0dabaa6ca55445f26 SHA1 (docbook/docbk41.zip) = 3009fcc364511d186da40e828bf0d5d1556c020e SHA1 (docbook/docbkx41.zip) = 0b4c6d8228f4526185de51b8afbcfe0ec8939849 SHA1 (docbook/docbkx412.zip) = 7b5c006402a84c0ea7321d2af8e82663e44dbce4 +SHA1 (docbook/docbook-xml-4.2.zip) = 5e3a35663cd028c5c5fbb959c3858fec2d7f8b9e SHA1 (docbook/examples.zip) = f6cff1f835bb8a8134e85e35d56f1ebecc976f23 diff --git a/textproc/docbook/files/xml_db42_catalog b/textproc/docbook/files/xml_db42_catalog new file mode 100644 index 00000000000..569bb8cbcef --- /dev/null +++ b/textproc/docbook/files/xml_db42_catalog @@ -0,0 +1,28 @@ +PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" +PUBLIC "-//OASIS//DTD DocBook CALS Table Model V4.2//EN" "calstblx.dtd" +PUBLIC "-//OASIS//DTD XML Exchange Table Model 19990315//EN" "soextblx.dtd" +PUBLIC "-//OASIS//ELEMENTS DocBook Information Pool V4.2//EN" "dbpoolx.mod" +PUBLIC "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.2//EN" "dbhierx.mod" +PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.2//EN" "dbgenent.mod" +PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.2//EN" "dbnotnx.mod" +PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.2//EN" "dbcentx.mod" +PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN//XML" "ent/iso-dia.ent" +PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN//XML" "ent/iso-num.ent" +PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN//XML" "ent/iso-pub.ent" +PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN//XML" "ent/iso-tech.ent" +PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN//XML" "ent/iso-lat1.ent" +PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN//XML" "ent/iso-lat2.ent" +PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN//XML" "ent/iso-grk1.ent" +PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN//XML" "ent/iso-grk2.ent" +PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN//XML" "ent/iso-grk3.ent" +PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN//XML" "ent/iso-grk4.ent" +PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN//XML" "ent/iso-amsa.ent" +PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN//XML" "ent/iso-amsb.ent" +PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN//XML" "ent/iso-amsc.ent" +PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN//XML" "ent/iso-amsn.ent" +PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN//XML" "ent/iso-amso.ent" +PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN//XML" "ent/iso-amsr.ent" +PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN//XML" "ent/iso-box.ent" +PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN//XML" "ent/iso-cyr1.ent" +PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN//XML" "ent/iso-cyr2.ent" +SYSTEM "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" "docbookx.dtd" diff --git a/textproc/docbook/files/xml_db_catalog b/textproc/docbook/files/xml_db_catalog index 5c6ea006645..d8f34a2f91c 100644 --- a/textproc/docbook/files/xml_db_catalog +++ b/textproc/docbook/files/xml_db_catalog @@ -1,2 +1,3 @@ CATALOG "4.1/catalog" CATALOG "4.1.2/catalog" +CATALOG "4.2/catalog" diff --git a/textproc/docbook/pkg/PLIST b/textproc/docbook/pkg/PLIST index 8040a94b830..d2e9359f96e 100644 --- a/textproc/docbook/pkg/PLIST +++ b/textproc/docbook/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.5 2001/04/16 02:31:21 avsm Exp $ +@comment $OpenBSD: PLIST,v 1.6 2003/05/28 00:10:56 avsm Exp $ share/sgml/catalog share/sgml/docbook/2.4.1/241chg.txt share/sgml/docbook/2.4.1/announce.txt @@ -149,7 +149,39 @@ share/xml/docbook/4.1/ent/iso-pub.ent share/xml/docbook/4.1/ent/iso-tech.ent share/xml/docbook/4.1/readme.txt share/xml/docbook/4.1/soextblx.dtd +share/xml/docbook/4.2/calstblx.dtd +share/xml/docbook/4.2/catalog +share/xml/docbook/4.2/catalog.xml +share/xml/docbook/4.2/dbcentx.mod +share/xml/docbook/4.2/dbgenent.mod +share/xml/docbook/4.2/dbhierx.mod +share/xml/docbook/4.2/dbnotnx.mod +share/xml/docbook/4.2/dbpoolx.mod +share/xml/docbook/4.2/docbook.cat +share/xml/docbook/4.2/docbookx.dtd +share/xml/docbook/4.2/ent/iso-amsa.ent +share/xml/docbook/4.2/ent/iso-amsb.ent +share/xml/docbook/4.2/ent/iso-amsc.ent +share/xml/docbook/4.2/ent/iso-amsn.ent +share/xml/docbook/4.2/ent/iso-amso.ent +share/xml/docbook/4.2/ent/iso-amsr.ent +share/xml/docbook/4.2/ent/iso-box.ent +share/xml/docbook/4.2/ent/iso-cyr1.ent +share/xml/docbook/4.2/ent/iso-cyr2.ent +share/xml/docbook/4.2/ent/iso-dia.ent +share/xml/docbook/4.2/ent/iso-grk1.ent +share/xml/docbook/4.2/ent/iso-grk2.ent +share/xml/docbook/4.2/ent/iso-grk3.ent +share/xml/docbook/4.2/ent/iso-grk4.ent +share/xml/docbook/4.2/ent/iso-lat1.ent +share/xml/docbook/4.2/ent/iso-lat2.ent +share/xml/docbook/4.2/ent/iso-num.ent +share/xml/docbook/4.2/ent/iso-pub.ent +share/xml/docbook/4.2/ent/iso-tech.ent +share/xml/docbook/4.2/soextblx.dtd share/xml/docbook/catalog +@dirrm share/xml/docbook/4.2/ent +@dirrm share/xml/docbook/4.2 @dirrm share/xml/docbook/4.1/ent @dirrm share/xml/docbook/4.1.2/ent @dirrm share/xml/docbook/4.1.2