summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-text/passivetex/files/digest-passivetex-1.41
-rw-r--r--app-text/passivetex/files/passivetex-1.4-Makefile14
-rw-r--r--app-text/passivetex/passivetex-1.4.ebuild37
-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
6 files changed, 114 insertions, 0 deletions
diff --git a/app-text/passivetex/files/digest-passivetex-1.4 b/app-text/passivetex/files/digest-passivetex-1.4
new file mode 100644
index 000000000000..9320be3f3f6d
--- /dev/null
+++ b/app-text/passivetex/files/digest-passivetex-1.4
@@ -0,0 +1 @@
+MD5 80cf86862ff2a2d92b9a2db90a6a3bf9 passivetex.zip
diff --git a/app-text/passivetex/files/passivetex-1.4-Makefile b/app-text/passivetex/files/passivetex-1.4-Makefile
new file mode 100644
index 000000000000..183224fe38d2
--- /dev/null
+++ b/app-text/passivetex/files/passivetex-1.4-Makefile
@@ -0,0 +1,14 @@
+default:
+
+
+install:
+ (TT=$$DESTDIR/`kpsewhich -expand-var '$$TEXMFMAIN'`; \
+ mkdir -p $$TT/tex/web2c; \
+ mkdir -p $$TT/tex/passivetex; \
+ cp *.xmt *.sty $$TT/tex/passivetex; \
+ cp *.cfg $$TT/tex/web2c)
+
+clean:
+ -rm *.log *.aux *.idx *.pdf *.toc *.dvi
+
+
diff --git a/app-text/passivetex/passivetex-1.4.ebuild b/app-text/passivetex/passivetex-1.4.ebuild
new file mode 100644
index 000000000000..d043c5555f12
--- /dev/null
+++ b/app-text/passivetex/passivetex-1.4.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 Your Name <your email>
+# $Header: /var/cvsroot/gentoo-x86/app-text/passivetex/passivetex-1.4.ebuild,v 1.1 2001/03/17 22:40:54 achim Exp $
+
+A=passivetex.zip
+S=${WORKDIR}/passivetex
+DESCRIPTION="A namespace-aware XML parser written in Tex"
+SRC_URI="http://users.ox.ac.uk/~rahtz/passivetex/${A}"
+HOMEPAGE="http://users.ox.ac.uk/~rahtz/passivetex/"
+
+DEPEND="app-text/tetex
+ app-text/xmltex"
+
+src_unpack() {
+ mkdir ${S}
+ cd ${S}
+ unpack ${A}
+ cp ${FILESDIR}/${P}-Makefile Makefile
+}
+
+src_compile() {
+ try make
+}
+
+src_install () {
+
+ try make DESTDIR=${D} install
+
+}
+
+pkg_postinst() {
+ if [ -e /usr/bin/mktexlsr ]
+ then
+ /usr/bin/mktexlsr
+ fi
+}
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
+}