summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-tex/tex4ht/ChangeLog9
-rw-r--r--dev-tex/tex4ht/Manifest17
-rw-r--r--dev-tex/tex4ht/files/50tex4ht.cnf4
-rw-r--r--dev-tex/tex4ht/files/digest-tex4ht-20050406_p1623-r11
-rw-r--r--dev-tex/tex4ht/tex4ht-20050406_p1623-r1.ebuild76
5 files changed, 94 insertions, 13 deletions
diff --git a/dev-tex/tex4ht/ChangeLog b/dev-tex/tex4ht/ChangeLog
index 99987b0f1d42..e12697d60f86 100644
--- a/dev-tex/tex4ht/ChangeLog
+++ b/dev-tex/tex4ht/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-tex/tex4ht
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/ChangeLog,v 1.4 2005/04/07 05:28:11 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/ChangeLog,v 1.5 2005/04/09 04:01:27 usata Exp $
+
+*tex4ht-20050406_p1623-r1 (09 Apr 2005)
+
+ 09 Apr 2005; Mamoru KOMACHI <usata@gentoo.org> +files/50tex4ht.cnf,
+ +tex4ht-20050406_p1623-r1.ebuild:
+ Added 50tex4ht.cnf. This closes bug #76864. Thanks to Stefan
+ Kamphausen <mail@skamphausen.de>.
*tex4ht-20050406_p1623 (07 Apr 2005)
diff --git a/dev-tex/tex4ht/Manifest b/dev-tex/tex4ht/Manifest
index 9eb2202ca899..79f11645ebf7 100644
--- a/dev-tex/tex4ht/Manifest
+++ b/dev-tex/tex4ht/Manifest
@@ -1,16 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 82070b7b5f37c9711a8af0d2468b76c0 tex4ht-20040212.ebuild 2056
+MD5 dc62e6b7f3d2bdee2bd1acc9c7cc4af8 ChangeLog 1264
MD5 c472f5fd1646eb8bca71d8df5cb2bdcc metadata.xml 164
-MD5 7f422fabe0823f9a9ec3259aff21f17f ChangeLog 1017
+MD5 82070b7b5f37c9711a8af0d2468b76c0 tex4ht-20040212.ebuild 2056
MD5 65231f7613ed2465daaae71529316ad7 tex4ht-20050406_p1623.ebuild 2047
+MD5 214724bb12b91ed0c0ba056a397bc42a tex4ht-20050406_p1623-r1.ebuild 1949
MD5 adab50a28b07bdfe73d29b6d5d285c99 files/digest-tex4ht-20040212 65
MD5 23c9d4148df0e7017992652f4943ef36 files/digest-tex4ht-20050406_p1623 79
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCVMKJVWNWqTUmv+0RApeoAJ9WvfDmwX35h2Vf0a5NoWrGMLPMygCfS/ju
-4o2taEGJhp2nwgI6THPtkW4=
-=vLKC
------END PGP SIGNATURE-----
+MD5 bbc7251880379fc4bafa2cb781922fe8 files/50tex4ht.cnf 192
+MD5 23c9d4148df0e7017992652f4943ef36 files/digest-tex4ht-20050406_p1623-r1 79
diff --git a/dev-tex/tex4ht/files/50tex4ht.cnf b/dev-tex/tex4ht/files/50tex4ht.cnf
new file mode 100644
index 000000000000..a6adf9281c87
--- /dev/null
+++ b/dev-tex/tex4ht/files/50tex4ht.cnf
@@ -0,0 +1,4 @@
+% -- tex4ht configuration params added by texmf-update --
+TEX4HTINPUTS=.;$TEXMF/tex4ht/base//;$TEXMF/tex4ht/ht-fonts//
+T4HTINPUTS=.;$TEXMF/tex4ht/base//
+% -- tex4ht configuration ends here --
diff --git a/dev-tex/tex4ht/files/digest-tex4ht-20050406_p1623-r1 b/dev-tex/tex4ht/files/digest-tex4ht-20050406_p1623-r1
new file mode 100644
index 000000000000..e62b3695aab6
--- /dev/null
+++ b/dev-tex/tex4ht/files/digest-tex4ht-20050406_p1623-r1
@@ -0,0 +1 @@
+MD5 f268ecf754a13b45ced49e99f81d0d7b tex4ht-1.0.2005_04_06_1623.tar.gz 1137268
diff --git a/dev-tex/tex4ht/tex4ht-20050406_p1623-r1.ebuild b/dev-tex/tex4ht/tex4ht-20050406_p1623-r1.ebuild
new file mode 100644
index 000000000000..242731230b38
--- /dev/null
+++ b/dev-tex/tex4ht/tex4ht-20050406_p1623-r1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/tex4ht-20050406_p1623-r1.ebuild,v 1.1 2005/04/09 04:01:27 usata Exp $
+
+inherit latex-package toolchain-funcs
+
+IUSE=""
+
+# tex4ht-20050331_p2350 -> tex4ht-1.0.2005_03_31_2350
+MY_P="${PN}-1.0.${PV:0:4}_${PV:4:2}_${PV:6:2}_${PV/*_p/}"
+
+DESCRIPTION="Converts (La)TeX to (X)HTML, XML and OO.org"
+HOMEPAGE="http://www.cse.ohio-state.edu/~gurari/TeX4ht/"
+SRC_URI="http://www.cse.ohio-state.edu/~gurari/TeX4ht/fix/${MY_P}.tar.gz"
+
+LICENSE="LPPL-1.2"
+KEYWORDS="~x86 ~ppc ~amd64"
+SLOT="0"
+
+DEPEND=">=sys-apps/sed-4"
+
+RDEPEND="virtual/ghostscript
+ media-gfx/imagemagick"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}/texmf/tex4ht/base/unix
+ sed -i -e \
+ 's#~/tex4ht.dir#/usr/share#' tex4ht.env || die
+ sed -i -e \
+ 's#tpath/tex/texmf/fonts/tfm/!#t/usr/share/texmf/fonts/tfm/!\nt/usr/local/share/texmf/fonts/tfm/!\nt/var/cache/fonts/tfm/!#' tex4ht.env || die
+
+}
+
+src_compile() {
+
+ cd ${S}/src/
+ einfo "Compiling postprocessor sources..."
+ for f in tex4ht t4ht htcmd ; do
+ $(tc-getCC) -o $f $f.c \
+ -DENVFILE='"/usr/share/texmf/tex4ht/base/tex4ht.env"' \
+ -DHAVE_DIRENT_H -DKPATHSEA -lkpathsea \
+ || die "Compiling $f failed"
+ done
+
+}
+
+src_install () {
+
+ # install the binaries
+ dobin ${S}/src/tex4ht ${S}/src/t4ht ${S}/src/htcmd
+ dobin ${S}/bin/unix/*
+
+ # install the .4ht scripts
+ insinto /usr/share/texmf/tex/generic/tex4ht
+ doins ${S}/texmf/tex/generic/tex4ht/*
+
+ # install the special htf fonts
+ dodir /usr/share/texmf/tex4ht
+ cp -a ${S}/texmf/tex4ht/ht-fonts ${D}/usr/share/texmf/tex4ht
+
+ # install the env file
+ insinto /usr/share/texmf/tex4ht/base
+ newins ${S}/texmf/tex4ht/base/unix/tex4ht.env tex4ht.env
+
+ # this dir is 700 in the zip
+ fperms 755 /usr/share/texmf/tex4ht/ht-fonts
+
+ if has_tetex_3 ; then
+ insinto /etc/texmf/texmf.d
+ doins ${FILESDIR}/50tex4ht.cnf
+ fi
+}