summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-11-19 21:57:13 +0000
committerMamoru Komachi <usata@gentoo.org>2004-11-19 21:57:13 +0000
commitd42cd6664a951a44ececd3bdf12506b267616b70 (patch)
tree28b159395754e8282e432274dded68814fe247b8 /dev-tex/xmltex
parentversion bump - contributions from Bryan Duff via bug #69865 (diff)
downloadhistorical-d42cd6664a951a44ececd3bdf12506b267616b70.tar.gz
historical-d42cd6664a951a44ececd3bdf12506b267616b70.tar.bz2
historical-d42cd6664a951a44ececd3bdf12506b267616b70.zip
Fixed compilation on tetex-3.
Diffstat (limited to 'dev-tex/xmltex')
-rw-r--r--dev-tex/xmltex/ChangeLog7
-rw-r--r--dev-tex/xmltex/Manifest14
-rw-r--r--dev-tex/xmltex/files/digest-xmltex-1.9-r11
-rw-r--r--dev-tex/xmltex/xmltex-1.9-r1.ebuild74
4 files changed, 94 insertions, 2 deletions
diff --git a/dev-tex/xmltex/ChangeLog b/dev-tex/xmltex/ChangeLog
index 3cd01bd3a286..86fcd4ea1d80 100644
--- a/dev-tex/xmltex/ChangeLog
+++ b/dev-tex/xmltex/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-tex/xmltex
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/xmltex/ChangeLog,v 1.7 2004/10/18 12:31:05 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/xmltex/ChangeLog,v 1.8 2004/11/19 21:57:13 usata Exp $
+
+*xmltex-1.9-r1 (20 Nov 2004)
+
+ 20 Nov 2004; Mamoru KOMACHI <usata@gentoo.org> +xmltex-1.9-r1.ebuild:
+ Fixed compilation on tetex-3.
18 Oct 2004; David Holm <dholm@gentoo.org> xmltex-1.9.ebuild:
Added to ~ppc.
diff --git a/dev-tex/xmltex/Manifest b/dev-tex/xmltex/Manifest
index 939ef1aa3112..3e92e4f41068 100644
--- a/dev-tex/xmltex/Manifest
+++ b/dev-tex/xmltex/Manifest
@@ -1,6 +1,18 @@
-MD5 09752190e954da5307e46ead4bb279e6 ChangeLog 925
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 cbe4c94cf94822ef4d0f7aeefad7b311 ChangeLog 1060
MD5 c472f5fd1646eb8bca71d8df5cb2bdcc metadata.xml 164
MD5 de8e13178f0b80d080f5694f9de0554f xmltex-0.14-r1.ebuild 1276
+MD5 3df7978bc7e0fef5efc3d630e00e991b xmltex-1.9-r1.ebuild 1874
MD5 9112fab5854359fe4c08f22a9c8701de xmltex-1.9.ebuild 1253
+MD5 c6a0e97a7a3e5332e12257c264a585dc files/digest-xmltex-1.9-r1 62
MD5 51fbbde8b0a7a49a9be6c7feb797f4b3 files/digest-xmltex-0.14-r1 68
MD5 c6a0e97a7a3e5332e12257c264a585dc files/digest-xmltex-1.9 62
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFBnmw8VWNWqTUmv+0RAl1SAJ9MCSIcpix1oH5ie4AYMB7G8fojOQCgj+3g
+dZqWKIxMejZKZ7QnD5Ff5Y4=
+=WoZx
+-----END PGP SIGNATURE-----
diff --git a/dev-tex/xmltex/files/digest-xmltex-1.9-r1 b/dev-tex/xmltex/files/digest-xmltex-1.9-r1
new file mode 100644
index 000000000000..97425f1facc0
--- /dev/null
+++ b/dev-tex/xmltex/files/digest-xmltex-1.9-r1
@@ -0,0 +1 @@
+MD5 5dfa86a96ff3b7ccc69181b77409d7d6 xmltex-1.9.tar.gz 110592
diff --git a/dev-tex/xmltex/xmltex-1.9-r1.ebuild b/dev-tex/xmltex/xmltex-1.9-r1.ebuild
new file mode 100644
index 000000000000..c0fc5952627e
--- /dev/null
+++ b/dev-tex/xmltex/xmltex-1.9-r1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/xmltex/xmltex-1.9-r1.ebuild,v 1.1 2004/11/19 21:57:13 usata Exp $
+
+inherit latex-package
+
+IUSE=""
+
+DESCRIPTION="A non validating namespace aware XML parser implemented in TeX"
+HOMEPAGE="http://www.dcarlisle.demon.co.uk/xmltex/manual.html"
+# Taken from: ftp://www.ctan.org/tex-archive/macros/xmltex.tar.gz
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="LPPL-1.2"
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~ppc"
+
+DEPEND="virtual/tetex"
+
+S=${WORKDIR}/${PN}/base
+
+has_tetex_3() {
+ if has_version '>=app-text/tetex-2.96' || has_version '>=app-text/ptex-3.1.4.20041026' ; then
+ true
+ else
+ false
+ fi
+}
+
+src_compile() {
+ if has_tetex_3 ; then
+ latex -ini -progname=xmltex "&latex" xmltex.ini || die "xmltex.ini failed"
+ pdftex -ini -progname=pdfxmltex "&pdflatex" pdfxmltex.ini || die "pdfxmltex.ini failed"
+ else
+ tex -ini -progname=xmltex xmltex.ini || die "xmltex.ini failed"
+ pdftex -ini -progname=pdfxmltex pdfxmltex.ini || die "pdfxmltex.ini failed"
+ fi
+}
+
+src_install() {
+
+ local TEXMF_PATH="$(kpsewhich --expand-var='$TEXMFMAIN')"
+
+ insinto ${TEXMF_PATH}/web2c
+ doins *.fmt || die
+
+ insinto ${TEXMF}/tex/xmltex
+ doins *.{xml,xmt,cfg,tex,ini}
+
+ dodir /usr/bin
+ if has_tetex_3 ; then
+ dosym /usr/bin/latex /usr/bin/xmltex
+ dosym /usr/bin/pdflatex /usr/bin/pdfxmltex
+ else
+ dosym /usr/bin/tex /usr/bin/xmltex
+ dosym /usr/bin/pdftex /usr/bin/pdfxmltex
+ fi
+
+ dohtml *.html
+ dodoc readme.txt
+}
+
+pkg_preinst() {
+
+ local TEXMF_PATH="$(kpsewhich --expand-var='$TEXMFMAIN')"
+
+ if ! grep pdfxmltex ${TEXMF_PATH}/web2c/texmf.cnf > /dev/null 2>&1 ; then
+ cat >>${TEXMF_PATH}/web2c/texmf.cnf<<-EOF
+
+ ! Automatically added by Portage (dev-tex/xmltex)
+ TEXINPUTS.pdfxmltex = .;\$TEXMF/{pdftex,tex}/{xmltex,plain,generic,}//
+ EOF
+ fi
+}