summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-03-17 22:40:54 +0000
committerAchim Gottinger <achim@gentoo.org>2001-03-17 22:40:54 +0000
commit40cad749f97a2bbcf2ee85206fded59c6af0f47b (patch)
tree59284d463eeb13229e5d8d25fcc90a15c0301765 /app-text/xmltex
parent*** empty log message *** (diff)
downloadgentoo-2-40cad749f97a2bbcf2ee85206fded59c6af0f47b.tar.gz
gentoo-2-40cad749f97a2bbcf2ee85206fded59c6af0f47b.tar.bz2
gentoo-2-40cad749f97a2bbcf2ee85206fded59c6af0f47b.zip
*** empty log message ***
Diffstat (limited to 'app-text/xmltex')
-rw-r--r--app-text/xmltex/files/digest-xmltex-1.01
-rw-r--r--app-text/xmltex/files/xmltex-1.0-Makefile23
-rw-r--r--app-text/xmltex/xmltex-1.0.ebuild38
3 files changed, 62 insertions, 0 deletions
diff --git a/app-text/xmltex/files/digest-xmltex-1.0 b/app-text/xmltex/files/digest-xmltex-1.0
new file mode 100644
index 000000000000..9aa6628f052a
--- /dev/null
+++ b/app-text/xmltex/files/digest-xmltex-1.0
@@ -0,0 +1 @@
+MD5 782802256979ef440f6b7871bff97364 base.tar.gz
diff --git a/app-text/xmltex/files/xmltex-1.0-Makefile b/app-text/xmltex/files/xmltex-1.0-Makefile
new file mode 100644
index 000000000000..9dd88615d468
--- /dev/null
+++ b/app-text/xmltex/files/xmltex-1.0-Makefile
@@ -0,0 +1,23 @@
+default: xmltex.fmt pdfxmltex.fmt
+
+xmltex.fmt:
+ tex -ini "&latex" -progname=xmltex xmltex.ini
+
+pdfxmltex.fmt:
+ pdftex -ini "&pdflatex" -progname=pdfxmltex pdfxmltex.ini
+
+install: xmltex.fmt pdfxmltex.fmt
+ (TT=$$DESTDIR/`kpsewhich -expand-var '$$TEXMFMAIN'`; \
+ mkdir -p $$TT/web2c; \
+ cp pdfxmltex.fmt $$TT/web2c; \
+ cp xmltex.fmt $$TT/web2c; \
+ mkdir -p $$TT/tex/xmltex; \
+ cp *.xmt $$TT/tex/xmltex)
+
+realclean: clean
+ -rm xmltex.fmt pdfxmltex.fmt
+
+clean:
+ -rm *.log *.aux *.idx *.pdf *.toc *.dvi
+
+
diff --git a/app-text/xmltex/xmltex-1.0.ebuild b/app-text/xmltex/xmltex-1.0.ebuild
new file mode 100644
index 000000000000..4f8a69711838
--- /dev/null
+++ b/app-text/xmltex/xmltex-1.0.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 Your Name <your email>
+# $Header: /var/cvsroot/gentoo-x86/app-text/xmltex/xmltex-1.0.ebuild,v 1.1 2001/03/17 22:40:54 achim Exp $
+
+#P=
+A=base.tar.gz
+S=${WORKDIR}/base
+DESCRIPTION="A namespace-aware XML parser written in Tex"
+SRC_URI="ftp://ftp.tex.ac.uk/tex-archive/macros/xmltex/${A}"
+HOMEPAGE="http://users.ox.ac.uk/~rahtz/passivetex/"
+
+DEPEND="app-text/tetex"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ cp ${FILESDIR}/${P}-Makefile Makefile
+}
+
+src_compile() {
+ try make
+}
+
+src_install () {
+
+ try make DESTDIR=${D} install
+ cd ${D}/usr/bin
+ ln -sf virtex xmltext
+ ln -sf pdfvirtex pdfxmltex
+}
+
+pkg_postinst() {
+ if [ -e /usr/bin/mktexlsr ]
+ then
+ /usr/bin/mktexlsr
+ fi
+}