summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2005-04-09 04:01:27 +0000
committerMamoru Komachi <usata@gentoo.org>2005-04-09 04:01:27 +0000
commitf189afe2790ccf163325136b0df3447e3945d25e (patch)
tree5e06a36097ea8ff6da382f98edcff6c6bbec67e1 /dev-tex/tex4ht
parentVersion bump for bug 88424. Added static support for bug 81279. Use make inst... (diff)
downloadgentoo-2-f189afe2790ccf163325136b0df3447e3945d25e.tar.gz
gentoo-2-f189afe2790ccf163325136b0df3447e3945d25e.tar.bz2
gentoo-2-f189afe2790ccf163325136b0df3447e3945d25e.zip
Added 50tex4ht.cnf. This closes bug #76864. Thanks to Stefan Kamphausen <mail@skamphausen.de>.
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-tex/tex4ht')
-rw-r--r--dev-tex/tex4ht/ChangeLog9
-rw-r--r--dev-tex/tex4ht/Manifest18
-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, 14 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..8739bfba8ccc 100644
--- a/dev-tex/tex4ht/Manifest
+++ b/dev-tex/tex4ht/Manifest
@@ -1,16 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 82070b7b5f37c9711a8af0d2468b76c0 tex4ht-20040212.ebuild 2056
-MD5 c472f5fd1646eb8bca71d8df5cb2bdcc metadata.xml 164
MD5 7f422fabe0823f9a9ec3259aff21f17f ChangeLog 1017
-MD5 65231f7613ed2465daaae71529316ad7 tex4ht-20050406_p1623.ebuild 2047
+MD5 c472f5fd1646eb8bca71d8df5cb2bdcc metadata.xml 164
+MD5 82070b7b5f37c9711a8af0d2468b76c0 tex4ht-20040212.ebuild 2056
+MD5 c98f239f7dd8719e28ebf3a29a173c01 tex4ht-20050406_p1623-r1.ebuild 1946
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
+}