From 47cb5219bb048f9f9609188e0db1a2a4cdb61126 Mon Sep 17 00:00:00 2001 From: jakob Date: Sat, 24 Mar 2001 18:05:53 +0000 Subject: [PATCH] XML version of the DocBook DTD based on FreeBSD port --- textproc/docbook-xml/Makefile | 48 ++++++++++++++++++++++ textproc/docbook-xml/files/catalog.docbook | 28 +++++++++++++ textproc/docbook-xml/files/catalog.tmpl | 1 + textproc/docbook-xml/files/md5 | 3 ++ textproc/docbook-xml/pkg/DESCR | 3 ++ textproc/docbook-xml/pkg/PLIST | 36 ++++++++++++++++ 6 files changed, 119 insertions(+) create mode 100644 textproc/docbook-xml/Makefile create mode 100644 textproc/docbook-xml/files/catalog.docbook create mode 100644 textproc/docbook-xml/files/catalog.tmpl create mode 100644 textproc/docbook-xml/files/md5 create mode 100644 textproc/docbook-xml/pkg/DESCR create mode 100644 textproc/docbook-xml/pkg/PLIST diff --git a/textproc/docbook-xml/Makefile b/textproc/docbook-xml/Makefile new file mode 100644 index 00000000000..86281dec8fb --- /dev/null +++ b/textproc/docbook-xml/Makefile @@ -0,0 +1,48 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2001/03/24 18:05:53 jakob Exp $ + +COMMENT= XML version of the DocBook DTD + +VERSION= 4.1.2 + +PKGNAME= docbook-xml-${VERSION} +DISTNAME= docbkx412 +CATEGORIES= textproc +NEED_VERSION= 1.363 + +HOMEPAGE= http://www.docbook.org/xml/${VERSION}/ + +MAINTAINER= Jakob Schlyter + +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= http://www.docbook.org/xml/${VERSION}/ +EXTRACT_SUFX= .zip + +NO_BUILD= Yesb +WRKSRC= ${WRKDIR} + + +INSTDIR= ${PREFIX}/share/xml +DTDDIR= ${INSTDIR}/docbook +ENTDIR= ${INSTDIR}/docbook/ent +DTDFILES= calstblx.dtd dbcentx.mod dbgenent.mod dbhierx.mod \ + dbnotnx.mod dbpoolx.mod docbookx.dtd soextblx.dtd +MISCFILES= 40chg.txt 41chg.txt readme.txt + +post-extract: + sed -e 's|%%PREFIX%%|${PREFIX}|g' ${FILESDIR}/catalog.tmpl > ${WRKSRC}/catalog + +pre-install: + mkdir -p ${ENTDIR} + +do-install: + @(cd ${WRKSRC}; ${INSTALL_DATA} ${DTDFILES} ${DTDDIR}) + @(cd ${WRKSRC}/ent; ${INSTALL_DATA} *.ent ${ENTDIR}) + @(cd ${WRKSRC}; ${INSTALL_DATA} ${MISCFILES} ${DTDDIR}) + ${INSTALL_DATA} ${WRKSRC}/catalog ${INSTDIR} + ${INSTALL_DATA} ${FILESDIR}/catalog.docbook ${DTDDIR}/catalog + +.include diff --git a/textproc/docbook-xml/files/catalog.docbook b/textproc/docbook-xml/files/catalog.docbook new file mode 100644 index 00000000000..b4dacdcb990 --- /dev/null +++ b/textproc/docbook-xml/files/catalog.docbook @@ -0,0 +1,28 @@ +PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "docbookx.dtd" +PUBLIC "-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" "calstblx.dtd" +PUBLIC "-//OASIS//DTD XML Exchange Table Model 19990315//EN" "soextblx.dtd" +PUBLIC "-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN" "dbpoolx.mod" +PUBLIC "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.1.2//EN" "dbhierx.mod" +PUBLIC "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.1.2//EN" "dbgenent.mod" +PUBLIC "-//OASIS//ENTITIES DocBook XML Notations V4.1.2//EN" "dbnotnx.mod" +PUBLIC "-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" "dbcentx.mod" +PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" "ent/iso-dia.ent" +PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" "ent/iso-num.ent" +PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "ent/iso-pub.ent" +PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" "ent/iso-tech.ent" +PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "ent/iso-lat1.ent" +PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" "ent/iso-lat2.ent" +PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" "ent/iso-grk1.ent" +PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" "ent/iso-grk2.ent" +PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" "ent/iso-grk3.ent" +PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" "ent/iso-grk4.ent" +PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" "ent/iso-amsa.ent" +PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" "ent/iso-amsb.ent" +PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" "ent/iso-amsc.ent" +PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" "ent/iso-amsn.ent" +PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" "ent/iso-amso.ent" +PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" "ent/iso-amsr.ent" +PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" "ent/iso-box.ent" +PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" "ent/iso-cyr1.ent" +PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" "ent/iso-cyr2.ent" +SYSTEM "http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd" "docbookx.dtd" diff --git a/textproc/docbook-xml/files/catalog.tmpl b/textproc/docbook-xml/files/catalog.tmpl new file mode 100644 index 00000000000..b424aedd241 --- /dev/null +++ b/textproc/docbook-xml/files/catalog.tmpl @@ -0,0 +1 @@ +CATALOG "docbook/catalog" diff --git a/textproc/docbook-xml/files/md5 b/textproc/docbook-xml/files/md5 new file mode 100644 index 00000000000..6a49f6b4f2b --- /dev/null +++ b/textproc/docbook-xml/files/md5 @@ -0,0 +1,3 @@ +MD5 (docbkx412.zip) = 900d7609fb7e6d78901b357e4acfbc17 +RMD160 (docbkx412.zip) = 89af805434b21f12f7be7ef58cf52edeb458e0c9 +SHA1 (docbkx412.zip) = b9ae7a41056bfaf885581812d60651b7b5531519 diff --git a/textproc/docbook-xml/pkg/DESCR b/textproc/docbook-xml/pkg/DESCR new file mode 100644 index 00000000000..a022792916c --- /dev/null +++ b/textproc/docbook-xml/pkg/DESCR @@ -0,0 +1,3 @@ +XML version of the DocBook DTD. + +WWW: ${HOMEPAGE} diff --git a/textproc/docbook-xml/pkg/PLIST b/textproc/docbook-xml/pkg/PLIST new file mode 100644 index 00000000000..f5149558514 --- /dev/null +++ b/textproc/docbook-xml/pkg/PLIST @@ -0,0 +1,36 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2001/03/24 18:05:53 jakob Exp $ +share/xml/catalog +share/xml/docbook/40chg.txt +share/xml/docbook/41chg.txt +share/xml/docbook/calstblx.dtd +share/xml/docbook/catalog +share/xml/docbook/dbcentx.mod +share/xml/docbook/dbgenent.mod +share/xml/docbook/dbhierx.mod +share/xml/docbook/dbnotnx.mod +share/xml/docbook/dbpoolx.mod +share/xml/docbook/docbookx.dtd +share/xml/docbook/ent/iso-amsa.ent +share/xml/docbook/ent/iso-amsb.ent +share/xml/docbook/ent/iso-amsc.ent +share/xml/docbook/ent/iso-amsn.ent +share/xml/docbook/ent/iso-amso.ent +share/xml/docbook/ent/iso-amsr.ent +share/xml/docbook/ent/iso-box.ent +share/xml/docbook/ent/iso-cyr1.ent +share/xml/docbook/ent/iso-cyr2.ent +share/xml/docbook/ent/iso-dia.ent +share/xml/docbook/ent/iso-grk1.ent +share/xml/docbook/ent/iso-grk2.ent +share/xml/docbook/ent/iso-grk3.ent +share/xml/docbook/ent/iso-grk4.ent +share/xml/docbook/ent/iso-lat1.ent +share/xml/docbook/ent/iso-lat2.ent +share/xml/docbook/ent/iso-num.ent +share/xml/docbook/ent/iso-pub.ent +share/xml/docbook/ent/iso-tech.ent +share/xml/docbook/readme.txt +share/xml/docbook/soextblx.dtd +@dirrm share/xml/docbook/ent +@dirrm share/xml/docbook +@dirrm share/xml