diff options
35 files changed, 855 insertions, 0 deletions
diff --git a/app-text/aspell/aspell-0.33.ebuild b/app-text/aspell/aspell-0.33.ebuild new file mode 100644 index 000000000000..b4e6d46017ce --- /dev/null +++ b/app-text/aspell/aspell-0.33.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-text/aspell/aspell-0.33.ebuild,v 1.1 2001/03/20 05:53:12 achim Exp $ + + +A=${PN}-.33.tar.gz +S=${WORKDIR}/${PN}-.33 +DESCRIPTION="A spell checker replacement for ispell" +SRC_URI="http://download.sourceforge.net/aspell/${A}" +HOMEPAGE="http://aspell.sourceforge.net" + +DEPEND=">=app-text/pspell-0.12 + >=sys-libs/ncurses-5.2" + +src_compile() { + + if [ "`use gpm`" ] + then + myldflags="-lgpm" + fi + try LDFLAGS=\"$myldflags\" ./configure --prefix=/usr --sysconfdir=/etc --host=${CHOST} --enable-doc-dir=/usr/share/doc/${P} + try make + +} + +src_install () { + + try make DESTDIR=${D} install + cd ${D}/usr/share/doc/${P} + mv man-html html + mv man-text txt + prepalldocs + cd ${S} + + dodoc README* TODO + +} + diff --git a/app-text/aspell/files/digest-aspell-0.33 b/app-text/aspell/files/digest-aspell-0.33 new file mode 100644 index 000000000000..b12ae2573ce2 --- /dev/null +++ b/app-text/aspell/files/digest-aspell-0.33 @@ -0,0 +1 @@ +MD5 189073d9a29e924db41fc2aa8ac72ec7 aspell-.33.tar.gz diff --git a/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.64.ebuild b/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.64.ebuild new file mode 100644 index 000000000000..4bb8e94f99bb --- /dev/null +++ b/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.64.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-1.64.ebuild,v 1.1 2001/03/20 05:53:12 achim Exp $ + +A="db164.zip" +S=${WORKDIR}/docbook +DESCRIPTION="" +SRC_URI="http://www.nwalsh.com/docbook/dsssl/${A}" +HOMEPAGE="http://www.nwalsh.com/docbook/dsssl/" + +DEPEND=">=app-arch/unzip-5.41 + app-text/sgml-common" + +src_unpack() { + + unpack ${A} + cp ${FILESDIR}/${P}.Makefile ${S}/Makefile + +} + +src_install () { + + try make DESTDIR=${D}/usr/share/sgml/docbook/dsssl-stylesheets-${PV} install + +} + +pkg_postinst() { + install-catalog --add /etc/sgml/dsssl-docbook-stylesheets.cat /usr/share/sgml/docbook/dsssl-stylesheets-${PV}/catalog + install-catalog --add /etc/sgml/sgml-docbook.cat /etc/sgml/dsssl-docbook-stylesheets.cat +} + +pkg_prerm() { + install-catalog --remove /etc/sgml/dsssl-docbook-stylesheets.cat /usr/share/sgml/docbook/dsssl-stylesheets-${PV}/catalog + install-catalog --remove /etc/sgml/sgml-docbook.cat /etc/sgml/dsssl-docbook-stylesheets.cat +} diff --git a/app-text/docbook-dsssl-stylesheets/files/digest-docbook-dsssl-stylesheets-1.64 b/app-text/docbook-dsssl-stylesheets/files/digest-docbook-dsssl-stylesheets-1.64 new file mode 100644 index 000000000000..d4096685143c --- /dev/null +++ b/app-text/docbook-dsssl-stylesheets/files/digest-docbook-dsssl-stylesheets-1.64 @@ -0,0 +1 @@ +MD5 07a93d468ddf2efca1d2aa92132b38bf db164.zip diff --git a/app-text/docbook-dsssl-stylesheets/files/docbook-dsssl-stylesheets-1.64.Makefile b/app-text/docbook-dsssl-stylesheets/files/docbook-dsssl-stylesheets-1.64.Makefile new file mode 100644 index 000000000000..128c26bb914c --- /dev/null +++ b/app-text/docbook-dsssl-stylesheets/files/docbook-dsssl-stylesheets-1.64.Makefile @@ -0,0 +1,28 @@ +BINDIR = /usr/bin +DESTDIR = /usr/share/sgml/docbook/dsssl-stylesheets-1.64 + +all: install + +install: + mkdir -p $(BINDIR) + mkdir -p $(DESTDIR)/dtds/decls + mkdir -p $(DESTDIR)/lib + mkdir -p $(DESTDIR)/common + mkdir -p $(DESTDIR)/html + mkdir -p $(DESTDIR)/print + mkdir -p $(DESTDIR)/test + mkdir -p $(DESTDIR)/images + install bin/collateindex.pl $(BINDIR) + cp catalog $(DESTDIR) + cp VERSION $(DESTDIR) + cp dtds/decls/docbook.dcl $(DESTDIR)/dtds/decls + cp lib/dblib.dsl $(DESTDIR)/lib + cp common/*.dsl $(DESTDIR)/common + cp common/*.ent $(DESTDIR)/common + cp html/*.dsl $(DESTDIR)/html + cp lib/*.dsl $(DESTDIR)/lib + cp print/*.dsl $(DESTDIR)/print + cp test/*.dsl $(DESTDIR)/test + cp test/*.sgm $(DESTDIR)/test + cp test/*.css $(DESTDIR)/test + cp images/*.gif $(DESTDIR)/images diff --git a/app-text/docbook-sgml-dtd/docbook-sgml-dtd-3.0.ebuild b/app-text/docbook-sgml-dtd/docbook-sgml-dtd-3.0.ebuild new file mode 100644 index 000000000000..5a6cec95119d --- /dev/null +++ b/app-text/docbook-sgml-dtd/docbook-sgml-dtd-3.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-sgml-dtd/docbook-sgml-dtd-3.0.ebuild,v 1.1 2001/03/20 05:53:12 achim Exp $ + +A="docbk30.zip" +S=${WORKDIR}/${P} +DESCRIPTION="Docbook SGML DTD 3.0" +SRC_URI="http://www.oasis-open.org/docbook/sgml/${PV}/${A}" + +HOMEPAGE="http://www.oasis-open.org/docbook/sgml/${PV}/index.html" + +DEPEND=">=app-arch/unzip-5.41 + app-text/sgml-common" + +src_unpack() { + mkdir ${S} + cd ${S} + unpack ${A} + cp ${FILESDIR}/${P}.Makefile Makefile + patch -b docbook.cat ${FILESDIR}/${P}-catalog.diff +} + +src_install () { + + try make DESTDIR=${D}/usr/share/sgml/docbook/sgml-dtd-${PV} install + dodoc *.txt +} + +pkg_postinst() { + install-catalog --add /etc/sgml/sgml-docbook-${PV}.cat /usr/share/sgml/docbook/sgml-dtd-${PV}/catalog + install-catalog --add /etc/sgml/sgml-docbook-${PV}.cat /etc/sgml/sgml-docbook.cat +} +pkg_prerm() { + install-catalog --remove /etc/sgml/sgml-docbook-${PV}.cat /usr/share/sgml/docbook/sgml-dtd-${PV}/catalog + install-catalog --remove /etc/sgml/sgml-docbook-${PV}.cat /etc/sgml/sgml-docbook.cat +} diff --git a/app-text/docbook-sgml-dtd/docbook-sgml-dtd-3.1.ebuild b/app-text/docbook-sgml-dtd/docbook-sgml-dtd-3.1.ebuild new file mode 100644 index 000000000000..c04b1d169b73 --- /dev/null +++ b/app-text/docbook-sgml-dtd/docbook-sgml-dtd-3.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-sgml-dtd/docbook-sgml-dtd-3.1.ebuild,v 1.1 2001/03/20 05:53:12 achim Exp $ + +A="docbk31.zip" +S=${WORKDIR}/${P} +DESCRIPTION="Docbook SGML DTD 3.1" +SRC_URI="http://www.oasis-open.org/docbook/sgml/${PV}/${A}" + +HOMEPAGE="http://www.oasis-open.org/docbook/sgml/${PV}/index.html" + +DEPEND=">=app-arch/unzip-5.41 + app-text/sgml-common" + + +src_unpack() { + mkdir ${S} + cd ${S} + unpack ${A} + cp ${FILESDIR}/${P}.Makefile Makefile + patch -b docbook.cat ${FILESDIR}/${P}-catalog.diff +} + +src_install () { + + try make DESTDIR=${D}/usr/share/sgml/docbook/sgml-dtd-${PV} install + dodoc *.txt +} + +pkg_postinst() { + install-catalog --add /etc/sgml/sgml-docbook-${PV}.cat /usr/share/sgml/docbook/sgml-dtd-${PV}/catalog + install-catalog --add /etc/sgml/sgml-docbook-${PV}.cat /etc/sgml/sgml-docbook.cat +} +pkg_prerm() { + install-catalog --remove /etc/sgml/sgml-docbook-${PV}.cat /usr/share/sgml/docbooke/sgml-dtd-${PV}/catalog + install-catalog --remove /etc/sgml/sgml-docbook-${PV}.cat /etc/sgml/sgml-docbook.cat +} diff --git a/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.0.ebuild b/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.0.ebuild new file mode 100644 index 000000000000..2d8f7db97465 --- /dev/null +++ b/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.0.ebuild,v 1.1 2001/03/20 05:53:12 achim Exp $ + +A="docbk40.zip" +S=${WORKDIR}/${P} +DESCRIPTION="Docbook SGML DTD 4.0" +SRC_URI="http://www.oasis-open.org/docbook/sgml/${PV}/${A}" + +HOMEPAGE="http://www.oasis-open.org/docbook/sgml/${PV}/index.html" + +DEPEND=">=app-arch/unzip-5.41 + app-text/sgml-common" + +src_unpack() { + mkdir ${S} + cd ${S} + unpack ${A} + cp ${FILESDIR}/${P}.Makefile Makefile + patch -b docbook.cat ${FILESDIR}/${P}-catalog.diff +} + +src_install () { + + try make DESTDIR=${D}/usr/share/sgml/docbook/sgml-dtd-${PV} install + dodoc *.txt +} + +pkg_postinst() { + install-catalog --add /etc/sgml/sgml-docbook-${PV}.cat /usr/share/sgml/docbook/sgml-dtd-${PV}/catalog + install-catalog --add /etc/sgml/sgml-docbook-${PV}.cat /etc/sgml/sgml-docbook.cat +} +pkg_prerm() { + install-catalog --remove /etc/sgml/sgml-docbook-${PV}.cat /usr/share/sgml/docbook/sgml-dtd-${PV}/catalog + install-catalog --remove /etc/sgml/sgml-docbook-${PV}.cat /etc/sgml/sgml-docbook.cat +} diff --git a/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.1.ebuild b/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.1.ebuild new file mode 100644 index 000000000000..4ce7eba10ed2 --- /dev/null +++ b/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-sgml-dtd/docbook-sgml-dtd-4.1.ebuild,v 1.1 2001/03/20 05:53:12 achim Exp $ + +A="docbk41.zip" +S=${WORKDIR}/${P} +DESCRIPTION="Docbook SGML DTD 4.1" +SRC_URI="http://www.oasis-open.org/docbook/sgml/${PV}/${A}" + +HOMEPAGE="http://www.oasis-open.org/docbook/sgml/${PV}/index.html" + +DEPEND=">=app-arch/unzip-5.41 + app-text/sgml-common" + +src_unpack() { + mkdir ${S} + cd ${S} + unpack ${A} + cp ${FILESDIR}/${P}.Makefile Makefile + patch -b docbook.cat ${FILESDIR}/${P}-catalog.diff +} + +src_install () { + + try make DESTDIR=${D}/usr/share/sgml/docbook/sgml-dtd-${PV} install + dodoc *.txt +} + +pkg_postinst() { + install-catalog --add /etc/sgml/sgml-docbook-${PV}.cat /usr/share/sgml/docbook/sgml-dtd-${PV}/catalog + install-catalog --add /etc/sgml/sgml-docbook-${PV}.cat /etc/sgml/sgml-docbook.cat +} +pkg_prerm() { + install-catalog --remove /etc/sgml/sgml-docbook-${PV}.cat /usr/share/sgml/docbook/sgml-dtd-${PV}/catalog + install-catalog --remove /etc/sgml/sgml-docbook-${PV}.cat /etc/sgml/sgml-docbook.cat +} diff --git a/app-text/docbook-sgml-dtd/files/digest-docbook-sgml-dtd-3.0 b/app-text/docbook-sgml-dtd/files/digest-docbook-sgml-dtd-3.0 new file mode 100644 index 000000000000..825aef411fc9 --- /dev/null +++ b/app-text/docbook-sgml-dtd/files/digest-docbook-sgml-dtd-3.0 @@ -0,0 +1 @@ +MD5 9a7f5b1b7dd52d0ca4fb080619f0459c docbk30.zip diff --git a/app-text/docbook-sgml-dtd/files/digest-docbook-sgml-dtd-3.1 b/app-text/docbook-sgml-dtd/files/digest-docbook-sgml-dtd-3.1 new file mode 100644 index 000000000000..b5de823af703 --- /dev/null +++ b/app-text/docbook-sgml-dtd/files/digest-docbook-sgml-dtd-3.1 @@ -0,0 +1 @@ +MD5 432749c0c806dbae81c8bcb70da3b5d3 docbk31.zip diff --git a/app-text/docbook-sgml-dtd/files/digest-docbook-sgml-dtd-4.0 b/app-text/docbook-sgml-dtd/files/digest-docbook-sgml-dtd-4.0 new file mode 100644 index 000000000000..5add463f404a --- /dev/null +++ b/app-text/docbook-sgml-dtd/files/digest-docbook-sgml-dtd-4.0 @@ -0,0 +1 @@ +MD5 fabcf7dd1d88b94797b7e5344389eab9 docbk40.zip diff --git a/app-text/docbook-sgml-dtd/files/digest-docbook-sgml-dtd-4.1 b/app-text/docbook-sgml-dtd/files/digest-docbook-sgml-dtd-4.1 new file mode 100644 index 000000000000..34bcfead3fc5 --- /dev/null +++ b/app-text/docbook-sgml-dtd/files/digest-docbook-sgml-dtd-4.1 @@ -0,0 +1 @@ +MD5 489f6ff2a2173eb1e14216c10533ede2 docbk41.zip diff --git a/app-text/docbook-sgml-dtd/files/docbook-sgml-dtd-3.0-catalog.diff b/app-text/docbook-sgml-dtd/files/docbook-sgml-dtd-3.0-catalog.diff new file mode 100644 index 000000000000..6319fecfc9a3 --- /dev/null +++ b/app-text/docbook-sgml-dtd/files/docbook-sgml-dtd-3.0-catalog.diff @@ -0,0 +1,41 @@ +--- docbook.cat Tue Dec 10 16:35:22 1996 ++++ catalog Mon Jun 5 11:08:34 2000 +@@ -27,7 +27,7 @@ + -- ...................................................................... --
+ -- SGML declaration associated with DocBook ............................. --
+
+-DTDDECL "-//Davenport//DTD DocBook V3.0//EN" "docbook.dcl"
++SGMLDECL "docbook.dcl"
+
+ -- ...................................................................... --
+ -- DocBook driver file .................................................. --
+@@ -41,29 +41,6 @@ + PUBLIC "-//Davenport//ELEMENTS DocBook Information Pool V3.0//EN" "dbpool.mod"
+ PUBLIC "-//Davenport//ELEMENTS DocBook Document Hierarchy V3.0//EN" "dbhier.mod"
+ PUBLIC "-//Davenport//ENTITIES DocBook Additional General Entities V3.0//EN" "dbgenent.mod"
+-
+- -- ...................................................................... --
+- -- ISO entity sets ...................................................... --
+-
+-PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" "iso-dia.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" "iso-num.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "iso-pub.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" "iso-tech.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "iso-lat1.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" "iso-lat2.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" "iso-grk1.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" "iso-grk2.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" "iso-grk3.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" "iso-grk4.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" "iso-amsa.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" "iso-amsb.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" "iso-amsc.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" "iso-amsn.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" "iso-amso.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" "iso-amsr.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" "iso-box.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" "iso-cyr1.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" "iso-cyr2.gml"
+
+ -- End of catalog data for DocBook V3.0 ................................. --
+ -- ...................................................................... --
diff --git a/app-text/docbook-sgml-dtd/files/docbook-sgml-dtd-3.0.Makefile b/app-text/docbook-sgml-dtd/files/docbook-sgml-dtd-3.0.Makefile new file mode 100644 index 000000000000..7de1fbedf768 --- /dev/null +++ b/app-text/docbook-sgml-dtd/files/docbook-sgml-dtd-3.0.Makefile @@ -0,0 +1,10 @@ +DESTDIR = /usr/share/sgml/docbook/sgml/dtd/3.0 + +all: install + +install: + mkdir -p $(DESTDIR) + install *.dcl $(DESTDIR) + install docbook.cat $(DESTDIR)/catalog + install *.dtd $(DESTDIR) + install *.mod $(DESTDIR) diff --git a/app-text/docbook-sgml-dtd/files/docbook-sgml-dtd-3.1-catalog.diff b/app-text/docbook-sgml-dtd/files/docbook-sgml-dtd-3.1-catalog.diff new file mode 100644 index 000000000000..7e52e89a9386 --- /dev/null +++ b/app-text/docbook-sgml-dtd/files/docbook-sgml-dtd-3.1-catalog.diff @@ -0,0 +1,41 @@ +--- docbook.cat Tue Feb 2 06:53:32 1999 ++++ catalog Thu May 25 11:45:01 2000 +@@ -19,7 +19,7 @@ + -- ...................................................................... --
+ -- SGML declaration associated with DocBook ............................. --
+
+-DTDDECL "-//OASIS//DTD DocBook V3.1//EN" "docbook.dcl"
++SGMLDECL "docbook.dcl"
+
+ -- ...................................................................... --
+ -- DocBook driver file .................................................. --
+@@ -35,29 +35,6 @@ + PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V3.1//EN" "dbgenent.mod"
+ PUBLIC "-//OASIS//ENTITIES DocBook Notations V3.1//EN" "dbnotn.mod"
+ PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V3.1//EN" "dbcent.mod"
+-
+- -- ...................................................................... --
+- -- ISO entity sets ...................................................... --
+-
+-PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" "iso-dia.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" "iso-num.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "iso-pub.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" "iso-tech.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "iso-lat1.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" "iso-lat2.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" "iso-grk1.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" "iso-grk2.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" "iso-grk3.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" "iso-grk4.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" "iso-amsa.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" "iso-amsb.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" "iso-amsc.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" "iso-amsn.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" "iso-amso.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" "iso-amsr.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" "iso-box.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" "iso-cyr1.gml"
+-PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" "iso-cyr2.gml"
+
+ -- End of catalog data for DocBook V3.1 ................................. --
+ -- ...................................................................... --
diff --git a/app-text/docbook-sgml-dtd/files/docbook-sgml-dtd-3.1.Makefile b/app-text/docbook-sgml-dtd/files/docbook-sgml-dtd-3.1.Makefile new file mode 100644 index 000000000000..3b610d8a5a4b --- /dev/null +++ b/app-text/docbook-sgml-dtd/files/docbook-sgml-dtd-3.1.Makefile @@ -0,0 +1,10 @@ +DESTDIR = /usr/share/sgml/docbook/sgml/dtd/3.1 + +all: install + +install: + mkdir -p $(DESTDIR) + install *.dcl $(DESTDIR) + install docbook.cat $(DESTDIR)/catalog + install *.dtd $(DESTDIR) + install *.mod $(DESTDIR) diff --git a/app-text/docbook-sgml-dtd/files/docbook-sgml-dtd-4.0-catalog.diff b/app-text/docbook-sgml-dtd/files/docbook-sgml-dtd-4.0-catalog.diff new file mode 100644 index 000000000000..d8125b752c6d --- /dev/null +++ b/app-text/docbook-sgml-dtd/files/docbook-sgml-dtd-4.0-catalog.diff @@ -0,0 +1,41 @@ +--- docbook.cat Mon May 22 22:38:05 2000 ++++ catalog Mon May 22 22:12:36 2000 +@@ -19,7 +19,7 @@ + -- ...................................................................... -- + -- SGML declaration associated with DocBook ............................. -- + +-DTDDECL "-//OASIS//DTD DocBook V4.0//EN" "docbook.dcl" ++SGMLDECL "docbook.dcl" + + -- ...................................................................... -- + -- DocBook driver file .................................................. -- +@@ -35,29 +35,6 @@ + PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.0//EN" "dbgenent.mod" + PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.0//EN" "dbnotn.mod" + PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.0//EN" "dbcent.mod" +- +- -- ...................................................................... -- +- -- ISO entity sets ...................................................... -- +- +-PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" "iso-dia.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" "iso-num.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "iso-pub.gml" +-PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" "iso-tech.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "iso-lat1.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" "iso-lat2.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" "iso-grk1.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" "iso-grk2.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" "iso-grk3.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" "iso-grk4.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" "iso-amsa.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" "iso-amsb.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" "iso-amsc.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" "iso-amsn.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" "iso-amso.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" "iso-amsr.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" "iso-box.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" "iso-cyr1.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" "iso-cyr2.gml" + + -- End of catalog data for DocBook V4.0 ................................. -- + -- ...................................................................... -- diff --git a/app-text/docbook-sgml-dtd/files/docbook-sgml-dtd-4.0.Makefile b/app-text/docbook-sgml-dtd/files/docbook-sgml-dtd-4.0.Makefile new file mode 100644 index 000000000000..a04686c72cc9 --- /dev/null +++ b/app-text/docbook-sgml-dtd/files/docbook-sgml-dtd-4.0.Makefile @@ -0,0 +1,10 @@ +DESTDIR = /usr/share/sgml/docbook/sgml/dtd/4.0 + +all: install + +install: + mkdir -p $(DESTDIR) + install *.dcl $(DESTDIR) + install docbook.cat $(DESTDIR)/catalog + install *.dtd $(DESTDIR) + install *.mod $(DESTDIR) diff --git a/app-text/docbook-sgml-dtd/files/docbook-sgml-dtd-4.1-catalog.diff b/app-text/docbook-sgml-dtd/files/docbook-sgml-dtd-4.1-catalog.diff new file mode 100644 index 000000000000..c08243a574fd --- /dev/null +++ b/app-text/docbook-sgml-dtd/files/docbook-sgml-dtd-4.1-catalog.diff @@ -0,0 +1,41 @@ +--- docbook.cat Mon May 22 22:38:05 2000 ++++ catalog Mon May 22 22:12:36 2000 +@@ -19,7 +19,7 @@ + -- ...................................................................... -- + -- SGML declaration associated with DocBook ............................. -- + +-DTDDECL "-//OASIS//DTD DocBook V4.1//EN" "docbook.dcl" ++SGMLDECL "docbook.dcl" + + -- ...................................................................... -- + -- DocBook driver file .................................................. -- +@@ -35,29 +35,6 @@ + PUBLIC "-//OASIS//ENTITIES DocBook Additional General Entities V4.1//EN" "dbgenent.mod" + PUBLIC "-//OASIS//ENTITIES DocBook Notations V4.1//EN" "dbnotn.mod" + PUBLIC "-//OASIS//ENTITIES DocBook Character Entities V4.1//EN" "dbcent.mod" +- +- -- ...................................................................... -- +- -- ISO entity sets ...................................................... -- +- +-PUBLIC "ISO 8879:1986//ENTITIES Diacritical Marks//EN" "iso-dia.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" "iso-num.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "iso-pub.gml" +-PUBLIC "ISO 8879:1986//ENTITIES General Technical//EN" "iso-tech.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "iso-lat1.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Added Latin 2//EN" "iso-lat2.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Greek Letters//EN" "iso-grk1.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Monotoniko Greek//EN" "iso-grk2.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Greek Symbols//EN" "iso-grk3.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Alternative Greek Symbols//EN" "iso-grk4.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Arrow Relations//EN" "iso-amsa.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Binary Operators//EN" "iso-amsb.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Delimiters//EN" "iso-amsc.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Negated Relations//EN" "iso-amsn.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Ordinary//EN" "iso-amso.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Added Math Symbols: Relations//EN" "iso-amsr.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Box and Line Drawing//EN" "iso-box.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Russian Cyrillic//EN" "iso-cyr1.gml" +-PUBLIC "ISO 8879:1986//ENTITIES Non-Russian Cyrillic//EN" "iso-cyr2.gml" + + -- End of catalog data for DocBook V4.1 ................................. -- + -- ...................................................................... -- diff --git a/app-text/docbook-sgml-dtd/files/docbook-sgml-dtd-4.1.Makefile b/app-text/docbook-sgml-dtd/files/docbook-sgml-dtd-4.1.Makefile new file mode 100644 index 000000000000..02e461b787d2 --- /dev/null +++ b/app-text/docbook-sgml-dtd/files/docbook-sgml-dtd-4.1.Makefile @@ -0,0 +1,10 @@ +DESTDIR = /usr/share/sgml/docbook/sgml/dtd/4.1 + +all: install + +install: + mkdir -p $(DESTDIR) + install *.dcl $(DESTDIR) + install docbook.cat $(DESTDIR)/catalog + install *.dtd $(DESTDIR) + install *.mod $(DESTDIR) diff --git a/app-text/docbook-xml-dtd/docbook-xml-dtd-4.1.2.ebuild b/app-text/docbook-xml-dtd/docbook-xml-dtd-4.1.2.ebuild new file mode 100644 index 000000000000..7ba62273535f --- /dev/null +++ b/app-text/docbook-xml-dtd/docbook-xml-dtd-4.1.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xml-dtd/docbook-xml-dtd-4.1.2.ebuild,v 1.1 2001/03/20 05:53:12 achim Exp $ + +A="docbkx412.zip" +S=${WORKDIR}/${P} +DESCRIPTION="Docbook DTD for XML" +SRC_URI="http://www.oasis-open.org/docbook/xml/${PV}/${A}" + +HOMEPAGE="http://www.oasis-open.org/docbook/" + +DEPEND=">=app-arch/unzip-5.41 + app-text/sgml-common" + +src_unpack() { + mkdir ${S} + cd ${S} + unpack ${A} +} + +src_install() { + + insinto /usr/share/sgml/docbook/xml-dtd-${PV} + doins *.dtd *.mod + doins docbook.cat + insinto /usr/share/sgml/docbook/xml-dtd-${PV}/ent + doins ent/*.ent + + dodoc ChangeLog *.txt +} + diff --git a/app-text/docbook-xml-dtd/files/digest-docbook-xml-dtd-4.1.2 b/app-text/docbook-xml-dtd/files/digest-docbook-xml-dtd-4.1.2 new file mode 100644 index 000000000000..c46282bfe52e --- /dev/null +++ b/app-text/docbook-xml-dtd/files/digest-docbook-xml-dtd-4.1.2 @@ -0,0 +1 @@ +MD5 0d5a4a999a2d7b2e77a46bd069301caf docbkx412.zip diff --git a/app-text/docbook-xml-simple-dtd/docbook-xml-simple-dtd-4.1.2.4.ebuild b/app-text/docbook-xml-simple-dtd/docbook-xml-simple-dtd-4.1.2.4.ebuild new file mode 100644 index 000000000000..0c7de50bc31f --- /dev/null +++ b/app-text/docbook-xml-simple-dtd/docbook-xml-simple-dtd-4.1.2.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xml-simple-dtd/docbook-xml-simple-dtd-4.1.2.4.ebuild,v 1.1 2001/03/20 05:53:12 achim Exp $ + +A="sdb4124.zip" +S=${WORKDIR}/${P} +DESCRIPTION="Docbook DTD for XML" +SRC_URI="http://www.nwalsh.com/docbook/simple/${PV}/${A}" + +HOMEPAGE="http://www.oasis-open.org/docbook/" + +DEPEND=">=app-arch/unzip-5.41" + +src_unpack() { + mkdir ${S} + cd ${S} + unpack ${A} +} + +src_install() { + + insinto /usr/share/sgml/docbook/xml-simple-dtd-${PV} + doins *.dtd *.mod *.css + newins ${FILESDIR}/${P}.catalog catalog + insinto /usr/share/sgml/docbook/xml-simple-dtd-${PV}/ent + doins ent/*.ent + + dodoc README ChangeLog LostLog COPYRIGHT +} + +pkg_postinst() { + install-catalog --add /etc/sgml/xml-docbook.cat /usr/share/sgml/docbook/xml-simple-dtd-${PV}/catalog + install-catalog --add /etc/sgml/xml-simple-docbook-${PV}.cat /usr/share/sgml/docbook/xml-simple-dtd-${PV}/catalog +} + +pkg_prerm() { + install-catalog --remove /etc/sgml/xml-docbook.cat /usr/share/sgml/docbook/xml-simple-dtd-${PV}/catalog + install-catalog --remove /etc/sgml/xml-simple-docbook-${PV}.cat /usr/share/sgml/docbook/xml-simple-dtd-${PV}/catalog +} diff --git a/app-text/docbook-xml-simple-dtd/files/digest-docbook-xml-simple-dtd-4.1.2.4 b/app-text/docbook-xml-simple-dtd/files/digest-docbook-xml-simple-dtd-4.1.2.4 new file mode 100644 index 000000000000..e7d17dd29d0b --- /dev/null +++ b/app-text/docbook-xml-simple-dtd/files/digest-docbook-xml-simple-dtd-4.1.2.4 @@ -0,0 +1 @@ +MD5 64e9d808dfa2aee7315136dbe5ee6fdd sdb4124.zip diff --git a/app-text/docbook-xml-simple-dtd/files/docbook-xml-simple-dtd-4.1.2.4.catalog b/app-text/docbook-xml-simple-dtd/files/docbook-xml-simple-dtd-4.1.2.4.catalog new file mode 100644 index 000000000000..d0809355c795 --- /dev/null +++ b/app-text/docbook-xml-simple-dtd/files/docbook-xml-simple-dtd-4.1.2.4.catalog @@ -0,0 +1,30 @@ + -- ...................................................................... -- + -- Catalog data for Simplified DocBook XML V4.1.2.4 .................................... -- + -- File catalog ..................................................... -- + + + -- + + -- ...................................................................... -- + -- Simplified DocBook driver file .................................................. -- + +PUBLIC "-//Norman Walsh//DTD Simplified DocBook XML V4.1.2.4//EN" "sdocbook.dtd" + + -- ...................................................................... -- + -- Simplified DocBook modules ...................................................... -- + +PUBLIC "-//Norman Walsh//DTD Simplified DocBook XML RefEntry V4.1.2.4//EN" "sdocbookref.dtd" +PUBLIC "-//Norman Walsh//ELEMENTS Simplified DocBook XML Document Hierarchy V4.1.2.4//EN" "sdbhier.mod" +PUBLIC "-//Norman Walsh//ELEMENTS Simplified DocBook XML Information Pool V4.1.2.4//EN" "sdbpool.mod" +PUBLIC "-//Norman Walsh//ENTITIES Simplified DocBook XML Inclusions V4.1.2.4//EN" "sinclist.mod" +PUBLIC "-//Norman Walsh//ENTITIES Simplified DocBook XML Character Entity Sets V4.1.2.4//EN" "sdbcent.mod" + + -- ...................................................................... -- + -- ISO entity sets ...................................................... -- + +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 Added Latin 1//EN" "ent/iso-lat1.ent" + + -- End of catalog data for Simplified DocBook XML V4.1.2.4 ............................. -- + -- ...................................................................... -- diff --git a/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.29.ebuild b/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.29.ebuild new file mode 100644 index 000000000000..5722f7a89080 --- /dev/null +++ b/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.29.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.29.ebuild,v 1.1 2001/03/20 05:53:12 achim Exp $ + +A="dbx129.zip" +S=${WORKDIR}/docbook +DESCRIPTION="XSL Stylesheets for Docbook" +SRC_URI="http://www.nwalsh.com/docbook/xsl/${A}" + +HOMEPAGE="http://www.oasis-open.org/docbook/" + +DEPEND=">=app-arch/unzip-5.41" + +src_install() { + + DEST="/usr/share/sgml/docbook/xsl-stylesheets-${PV}" + dodir ${DEST} + dodir /usr/share/doc/${P} + cp -af doc ${D}/usr/share/doc/${P}/html + cp VERSION ${D}/${DEST} + for i in bin common contrib fo html images indexing lib template xhtml test + do + cd ${S} + cp -af ${i} ${D}/${DEST} + cd ${D}/${DEST}/${i} + for j in ChangeLog LostLog README + do + if [ -e ${j} ] + then + mv ${j} ${D}/usr/share/doc/${P}/${j}.${i} + fi + done + done + cd ${D}/${DEST}/test + for i in *.xml + do + mv ${i} ${i}.orig + sed -e "s:/share/doctypes/docbook/xml/:/usr/share/sgml/docbook/xml-dtd-4.1.2/:" ${i}.orig > ${i} + rm ${i}.orig + done + prepalldocs + cd ${S} + dodoc BUGS TODO WhatsNew +} + diff --git a/app-text/docbook-xsl-stylesheets/files/digest-docbook-xsl-stylesheets-1.29 b/app-text/docbook-xsl-stylesheets/files/digest-docbook-xsl-stylesheets-1.29 new file mode 100644 index 000000000000..3c7f171b0c81 --- /dev/null +++ b/app-text/docbook-xsl-stylesheets/files/digest-docbook-xsl-stylesheets-1.29 @@ -0,0 +1 @@ +MD5 182b35832fc8ab18d112c380ebb23f6c dbx129.zip diff --git a/app-text/jadetex/files/jadetex-2.20-Makefile-gentoo.diff b/app-text/jadetex/files/jadetex-2.20-Makefile-gentoo.diff new file mode 100644 index 000000000000..82b7c972a2ae --- /dev/null +++ b/app-text/jadetex/files/jadetex-2.20-Makefile-gentoo.diff @@ -0,0 +1,25 @@ +--- Makefile Thu Aug 3 14:31:22 2000 ++++ Makefile.new Thu Aug 3 14:55:17 2000 +@@ -4,16 +4,17 @@ + tex jadetex.ins + + jadetex.fmt: basic +- tex -ini "&hugelatex" -progname=jadetex jadetex.ini ++ tex -ini "&latex" -progname=jadetex jadetex.ini + + pdfjadetex.fmt: basic + pdftex -ini "&pdflatex" -progname=pdfjadetex pdfjadetex.ini + + install: jadetex.fmt pdfjadetex.fmt +- (TT=`kpsewhich -expand-var '$$TEXMFMAIN'`;cp pdfjadetex.fmt $$TT/web2c) +- (TT=`kpsewhich -expand-var '$$TEXMFMAIN'`;cp jadetex.fmt $$TT/web2c) +- -(TT=`kpsewhich -expand-var '$$TEXMFMAIN'`;\ +- mkdir -p $$TT/tex/jadetex ; \ ++ (TT=$$DESTDIR/`kpsewhich -expand-var '$$TEXMFMAIN'`; \ ++ mkdir -p $$TT/web2c; \ ++ cp pdfjadetex.fmt $$TT/web2c; \ ++ cp jadetex.fmt $$TT/web2c; \ ++ mkdir -p $$TT/tex/jadetex; \ + cp dsssl.def jadetex.ltx $$TT/tex/jadetex) + + realclean: clean diff --git a/app-text/openjade/files/openjade-1.3.catalog b/app-text/openjade/files/openjade-1.3.catalog new file mode 100644 index 000000000000..fa4eb0932e0d --- /dev/null +++ b/app-text/openjade/files/openjade-1.3.catalog @@ -0,0 +1,5 @@ +PUBLIC "-//James Clark//DTD DSSSL Flow Object Tree//EN" "fot.dtd" +PUBLIC "ISO/IEC 10179:1996//DTD DSSSL Architecture//EN" "dsssl.dtd" +PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" "style-sheet.dtd" +PUBLIC "-//OpenJade//DTD DSSSL Style Sheet//EN" "style-sheet.dtd" +SYSTEM "builtins.dsl" "builtins.dsl" diff --git a/app-text/openjade/files/openjade-1.3.dsssl-catalog b/app-text/openjade/files/openjade-1.3.dsssl-catalog new file mode 100644 index 000000000000..11bc0425afe0 --- /dev/null +++ b/app-text/openjade/files/openjade-1.3.dsssl-catalog @@ -0,0 +1,4 @@ +PUBLIC "-//James Clark//DTD DSSSL Flow Object Tree//EN" "fot.dtd" +PUBLIC "ISO/IEC 10179:1996//DTD DSSSL Architecture//EN" "dsssl.dtd" +PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" "style-sheet.dtd" +PUBLIC "-//OpenJade//DTD DSSSL Style Sheet//EN" "style-sheet.dtd" diff --git a/app-text/pspell/files/digest-pspell-0.12 b/app-text/pspell/files/digest-pspell-0.12 new file mode 100644 index 000000000000..9f02f4a0028e --- /dev/null +++ b/app-text/pspell/files/digest-pspell-0.12 @@ -0,0 +1 @@ +MD5 1eefb06d0287697036534b009992602a pspell-.12.tar.gz diff --git a/app-text/pspell/pspell-0.12.ebuild b/app-text/pspell/pspell-0.12.ebuild new file mode 100644 index 000000000000..de84b8107da9 --- /dev/null +++ b/app-text/pspell/pspell-0.12.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-text/pspell/pspell-0.12.ebuild,v 1.1 2001/03/20 05:53:12 achim Exp $ + +A=${PN}-.12.tar.gz +S=${WORKDIR}/${PN}-.12 +DESCRIPTION="A spell checker frontend for aspell and ispell" +SRC_URI="http://download.sourceforge.net/pspell/${A}" +HOMEPAGE="http://pspell.sourceforge.net" + +DEPEND="virtual/glibc" + + +src_compile() { + + try ./configure --prefix=/usr --enable-doc-dir=/usr/share/doc/${P} --host=${CHOST} + try make + +} + +src_install () { + + try make DESTDIR=${D} install + cd ${D}/usr/share/doc/${P} + mv man-html html + mv man-text txt + cd ${S} + dodoc README* + +} + + diff --git a/app-text/sgml-common/files/sgml-common-0.6.1-ent-Makefile.in-gentoo.diff b/app-text/sgml-common/files/sgml-common-0.6.1-ent-Makefile.in-gentoo.diff new file mode 100644 index 000000000000..e9dbb572a10a --- /dev/null +++ b/app-text/sgml-common/files/sgml-common-0.6.1-ent-Makefile.in-gentoo.diff @@ -0,0 +1,11 @@ +--- iso-entities/Makefile.in~ Tue Jan 30 15:43:34 2001 ++++ iso-entities/Makefile.in Sun Mar 18 22:43:13 2001 +@@ -62,7 +62,7 @@ + VERSION = @VERSION@ + docdir = @docdir@ + +-isoentdir = $(prefix)/share/sgml/sgml-iso-entities-8879.1986 ++isoentdir = $(prefix)/share/sgml/sgml/ent/iso-8879.1986 + isoent_DATA = ISOamsa.ent ISOamsb.ent ISOamsc.ent ISOamsn.ent ISOamso.ent ISOamsr.ent ISObox.ent ISOcyr1.ent ISOcyr2.ent ISOdia.ent ISOgrk1.ent ISOgrk2.ent ISOgrk3.ent ISOgrk4.ent ISOlat1.ent ISOlat2.ent ISOnum.ent ISOpub.ent ISOtech.ent catalog + + diff --git a/app-text/sgml-common/files/sgml-common-0.6.1-install-catalog.in b/app-text/sgml-common/files/sgml-common-0.6.1-install-catalog.in new file mode 100755 index 000000000000..ad0d8b988db8 --- /dev/null +++ b/app-text/sgml-common/files/sgml-common-0.6.1-install-catalog.in @@ -0,0 +1,163 @@ +#!/bin/sh +# Script to install a catalog in the centralized SGML catalog +# Send any comments to Eric Bischoff <eric@caldera.de> +# This program is under GPL license. See LICENSE file for details. + +# Set help message +SGML_HELP_MESSAGE="Usage: `basename $0` [<option>] <action>\n\ +where <option> is:\n\ +\040 -d|--delegate: \t\t\t Use DELEGATE instead of CATALOG\n\ +and where <action> is:\n\ +\040 -a|--add <centralized> <ordinary>: \t Declare ordinary catalog in the centralized catalog\n\ +\040 -r|--remove <centralized> <ordinary>:\t Remove ordinary catalog from the centralized catalog\n\ +\040 -h, --help: \t\t\t\t Print this help message and exit\n\ +\040 -v, --version: \t\t\t Print the version number and exit\n" + +# Set version message +SGML_VERSION_MESSAGE="sgml-common version @VERSION@ (install-catalog version 1.0)" + +# Set type of pointer +SGML_POINTER="CATALOG" + +# Set action to be performed +SGML_ACTION="" + +# Set catalogs +SGML_CENTRALIZED="" +SGML_ORDINARY="" + +# Process options +case $1 in + -d|--delegate) SGML_POINTER="DELEGATE" + shift 1 + ;; +esac + +# Process actions +case $1 in + -a|--add) SGML_ACTION="addition" + SGML_CENTRALIZED=$2 + SGML_ORDINARY=$3 + ;; + -r|--remove) if [ -z "$3" -o "$3" = "--version" ] + then + echo "install-catalog: Old syntax; doing nothing" + exit 0 + fi + SGML_ACTION="removal" + SGML_CENTRALIZED=$2 + SGML_ORDINARY=$3 + ;; + -h|--help) echo -e $SGML_HELP_MESSAGE + exit 0 + ;; + -v|--version) echo -e $SGML_VERSION_MESSAGE + exit 0 + ;; + --install) echo "install-catalog: Old syntax; doing nothing" + exit 0 + ;; + *) echo -e $SGML_HELP_MESSAGE >&2 + exit 1 + ;; +esac + +# Check that the super catalog can be created and changed and deleted +if [ ! -w ${ROOT}etc/sgml ] +then + echo "`basename $0`: unable to write in ${ROOT}etc/sgml." >&2 + exit 2 +fi +case $SGML_ACTION in + addition) + if [ -e ${ROOT}etc/sgml/catalog -a ! -w ${ROOT}etc/sgml/catalog ] + then + echo "`basename $0`: can not modify \"${ROOT}etc/sgml/catalog\"." >&2 + exit 2 + fi + ;; + removal) + if [ ! -w ${ROOT}etc/sgml/catalog ] + then + echo "`basename $0`: can not modify \"${ROOT}etc/sgml/catalog\"." >&2 + exit 2 + fi + ;; +esac + +# Check that the centralized catalog can be created, changed and deleted +if [ -z "$SGML_CENTRALIZED" ] +then + echo -e $SGML_HELP_MESSAGE >&2 + exit 1 +fi +case $SGML_ACTION in + addition) + if [ -e $SGML_CENTRALIZED -a ! -w $SGML_CENTRALIZED ] + then + echo "`basename $0`: can not modify \"$SGML_CENTRALIZED\"." >&2 + exit 2 + fi + ;; + removal) + if [ ! -w $SGML_CENTRALIZED ] + then + echo "`basename $0`: can not modify \"$SGML_CENTRALIZED\"." >&2 + exit 2 + fi + ;; +esac + +# Check that we have at least one ordinary package to process +if [ -z "$SGML_ORDINARY" ] +then + echo -e $SGML_HELP_MESSAGE >&2 + exit 1 +fi +case $SGML_ACTION in + addition) + if [ ! -s $SGML_ORDINARY ] + then + echo "`basename $0`: \"$SGML_ORDINARY\" does not exist or is empty." >&2 + exit 2 + fi + ;; +esac + +# Installation or removal of pointers +case $SGML_ACTION in + addition) + echo "`basename $0`: addition of $SGML_ORDINARY in $SGML_CENTRALIZED" + if grep -q $SGML_ORDINARY $SGML_CENTRALIZED 2>/dev/null + then + echo "Warning: $SGML_ORDINARY is already installed in the centralized catalog $SGML_CENTRALIZED" >&2 + else + echo "$SGML_POINTER $SGML_ORDINARY" >> $SGML_CENTRALIZED + fi + grep -q $SGML_CENTRALIZED ${ROOT}etc/sgml/catalog 2>/dev/null + if [ $? -ne 0 ] + then + echo "`basename $0`: addition of $SGML_CENTRALIZED in ${ROOT}etc/sgml/catalog" + echo "$SGML_POINTER $SGML_CENTRALIZED" >> ${ROOT}etc/sgml/catalog + fi + ;; + removal) + echo "`basename $0`: removal of $SGML_ORDINARY from $SGML_CENTRALIZED" + if grep -q $SGML_ORDINARY $SGML_CENTRALIZED 2>/dev/null + then + sed -e "\:$SGML_POINTER $SGML_ORDINARY:d" < $SGML_CENTRALIZED > ${SGML_CENTRALIZED}.new + mv ${SGML_CENTRALIZED}.new $SGML_CENTRALIZED + else + echo "Warning: $SGML_ORDINARY was not found in the centralized catalog $SGML_CENTRALIZED" >&2 + fi + if [ ! -s $SGML_CENTRALIZED ] + then + rm $SGML_CENTRALIZED + echo "`basename $0`: removal of $SGML_CENTRALIZED from ${ROOT}etc/sgml/catalog" + sed -e "\:$SGML_POINTER $SGML_CENTRALIZED:d" < ${ROOT}etc/sgml/catalog > ${ROOT}etc/sgml/catalog.new + mv ${ROOT}etc/sgml/catalog.new ${ROOT}etc/sgml/catalog + fi + ;; +esac + +exit 0 |