Changeset - 8536beef7f06
[Not reviewed]
default
0 0 5
Nathan Brink (binki) - 14 years ago 2010-12-30 18:48:52
ohnobinki@ohnopublishing.net
dev-tex/tex4ht: Initial import from Gentoo's Portage
5 files changed with 477 insertions and 0 deletions:
0 comments (0 inline, 0 general)
dev-tex/tex4ht/ChangeLog
Show inline comments
 
new file 100644
 
# ChangeLog for dev-tex/tex4ht
 
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/ChangeLog,v 1.76 2010/07/18 12:35:15 aballier Exp $
 

	
 
  18 Jul 2010; Alexis Ballier <aballier@gentoo.org>
 
  -tex4ht-20090611_p1038.ebuild:
 
  remove old
 

	
 
  18 Jul 2010; <nixnut@gentoo.org> tex4ht-20090611_p1038-r1.ebuild:
 
  ppc stable #316143
 

	
 
  12 Jun 2010; Alexis Ballier <aballier@gentoo.org>
 
  -tex4ht-20081103_p0302.ebuild, -tex4ht-20090513_p1511.ebuild:
 
  remove old
 

	
 
  19 May 2010; Raúl Porcel <armin76@gentoo.org>
 
  tex4ht-20090611_p1038-r1.ebuild:
 
  alpha/arm/ia64/s390/sh/sparc wrt #316143
 

	
 
  11 May 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
 
  tex4ht-20090611_p1038-r1.ebuild:
 
  x86 stable wrt bug #316143
 

	
 
  23 Apr 2010; Pacho Ramos <pacho@gentoo.org>
 
  tex4ht-20090611_p1038-r1.ebuild:
 
  amd64 stable, bug 316143
 

	
 
  20 Apr 2010; Jeroen Roovers <jer@gentoo.org>
 
  tex4ht-20090611_p1038-r1.ebuild:
 
  Stable for HPPA (bug #316143).
 

	
 
  10 Jan 2010; Brent Baude <ranger@gentoo.org> tex4ht-20090611_p1038.ebuild:
 
  stable ppc64, bug 286622
 

	
 
  06 Jan 2010; Brent Baude <ranger@gentoo.org>
 
  tex4ht-20090611_p1038-r1.ebuild:
 
  Marking tex4ht-20090611_p1038-r1 ppc64 for bug 286622
 

	
 
  26 Dec 2009; Peter Volkov <pva@gentoo.org> tex4ht-20081103_p0302.ebuild,
 
  tex4ht-20090513_p1511.ebuild, tex4ht-20090611_p1038.ebuild,
 
  tex4ht-20090611_p1038-r1.ebuild:
 
  virtual/ghostscript->app-text/ghostscript-gpl: ghostscript-gpl is the only
 
  implementation left in the tree.
 

	
 
  24 Oct 2009; Jeroen Roovers <jer@gentoo.org> tex4ht-20090611_p1038.ebuild:
 
  Stable for HPPA (bug #286622).
 

	
 
*tex4ht-20090611_p1038-r1 (22 Oct 2009)
 

	
 
  22 Oct 2009; Alexis Ballier <aballier@gentoo.org>
 
  +tex4ht-20090611_p1038-r1.ebuild:
 
  install scripts in the texmf tree, tell people to use mk4ht, this fixes a
 
  bunche of collision problems
 

	
 
  17 Oct 2009; Raúl Porcel <armin76@gentoo.org>
 
  tex4ht-20090611_p1038.ebuild:
 
  arm/ia64/s390/sh/sparc stable wrt #286622
 

	
 
  05 Oct 2009; Christian Faulhammer <fauli@gentoo.org>
 
  tex4ht-20090611_p1038.ebuild:
 
  stable x86, bug 286622
 

	
 
  04 Oct 2009; Tobias Klausmann <klausman@gentoo.org>
 
  tex4ht-20090611_p1038.ebuild:
 
  Stable on alpha, bug #286622
 

	
 
  27 Sep 2009; Thomas Anderson <tanderson@gentoo.org>
 
  tex4ht-20090611_p1038.ebuild:
 
  stable amd64, bug 286622
 

	
 
  27 Sep 2009; nixnut <nixnut@gentoo.org> tex4ht-20090611_p1038.ebuild:
 
  ppc stable #286622
 

	
 
  26 Sep 2009; Brent Baude <ranger@gentoo.org> tex4ht-20090513_p1511.ebuild:
 
  Marking tex4ht-20090513_p1511 ppc64 for bug 274741
 

	
 
  06 Jul 2009; Raúl Porcel <armin76@gentoo.org>
 
  tex4ht-20090513_p1511.ebuild:
 
  arm/ia64/s390/sh/sparc stable wrt #274741
 

	
 
  05 Jul 2009; Markus Meier <maekke@gentoo.org>
 
  tex4ht-20090513_p1511.ebuild:
 
  amd64 stable, bug #274741
 

	
 
  28 Jun 2009; Tobias Klausmann <klausman@gentoo.org>
 
  tex4ht-20090513_p1511.ebuild:
 
  Stable on alpha, bug #274741
 

	
 
  27 Jun 2009; Christian Faulhammer <fauli@gentoo.org>
 
  tex4ht-20090513_p1511.ebuild:
 
  stable x86, bug 274741
 

	
 
  25 Jun 2009; Jeroen Roovers <jer@gentoo.org> tex4ht-20090513_p1511.ebuild:
 
  Stable for HPPA (bug #274741).
 

	
 
*tex4ht-20090611_p1038 (19 Jun 2009)
 

	
 
  19 Jun 2009; Alexis Ballier <aballier@gentoo.org>
 
  +tex4ht-20090611_p1038.ebuild:
 
  version bump
 

	
 
  19 Jun 2009; Alexis Ballier <aballier@gentoo.org>
 
  -tex4ht-20090428_p1436.ebuild:
 
  remove old
 

	
 
*tex4ht-20090513_p1511 (14 May 2009)
 

	
 
  14 May 2009; Alexis Ballier <aballier@gentoo.org>
 
  +tex4ht-20090513_p1511.ebuild:
 
  version bump
 

	
 
  14 May 2009; Alexis Ballier <aballier@gentoo.org>
 
  -tex4ht-20090115_p0029.ebuild, -tex4ht-20090223_p2217.ebuild:
 
  remove old
 

	
 
*tex4ht-20090428_p1436 (30 Apr 2009)
 

	
 
  30 Apr 2009; Alexis Ballier <aballier@gentoo.org>
 
  +tex4ht-20090428_p1436.ebuild:
 
  version bump
 

	
 
  18 Mar 2009; Raúl Porcel <armin76@gentoo.org>
 
  tex4ht-20081103_p0302.ebuild, tex4ht-20090115_p0029.ebuild:
 
  arm/s390/sh stable wrt #253551
 

	
 
  11 Mar 2009; Raúl Porcel <armin76@gentoo.org>
 
  tex4ht-20090223_p2217.ebuild:
 
  Add ~arm/~s390/~sh
 

	
 
*tex4ht-20090223_p2217 (25 Feb 2009)
 

	
 
  25 Feb 2009; Alexis Ballier <aballier@gentoo.org>
 
  +tex4ht-20090223_p2217.ebuild:
 
  version bump
 

	
 
*tex4ht-20090115_p0029 (15 Jan 2009)
 

	
 
  15 Jan 2009; Alexis Ballier <aballier@gentoo.org>
 
  +tex4ht-20090115_p0029.ebuild:
 
  version bump
 

	
 
  11 Jan 2009; Alexis Ballier <aballier@gentoo.org>
 
  -tex4ht-20071024_p0140.ebuild:
 
  remove old
 

	
 
  10 Jan 2009; Raúl Porcel <armin76@gentoo.org>
 
  tex4ht-20081103_p0302.ebuild:
 
  ia64/sparc stable wrt #254065
 

	
 
  10 Jan 2009; Markus Meier <maekke@gentoo.org>
 
  tex4ht-20081103_p0302.ebuild:
 
  amd64/x86 stable, bug #254065
 

	
 
  10 Jan 2009; Tobias Klausmann <klausman@gentoo.org>
 
  tex4ht-20081103_p0302.ebuild:
 
  Stable on alpha, bug #254065
 

	
 
  09 Jan 2009; Joseph Jezak <josejx@gentoo.org>
 
  tex4ht-20081103_p0302.ebuild:
 
  Marked ppc stable for bug #254065.
 

	
 
  08 Jan 2009; Jeroen Roovers <jer@gentoo.org> tex4ht-20081103_p0302.ebuild:
 
  Stable for HPPA (bug #254065).
 

	
 
  07 Jan 2009; Brent Baude <ranger@gentoo.org> tex4ht-20081103_p0302.ebuild:
 
  stable ppc64, bug 254065
 

	
 
  14 Nov 2008; Alexis Ballier <aballier@gentoo.org>
 
  -tex4ht-20080807_p1635.ebuild, -tex4ht-20080902_p1753.ebuild:
 
  remove unused versions
 

	
 
*tex4ht-20081103_p0302 (03 Nov 2008)
 

	
 
  03 Nov 2008; Alexis Ballier <aballier@gentoo.org>
 
  -tex4ht-20081030_p1336.ebuild, +tex4ht-20081103_p0302.ebuild:
 
  version bump; 1030 was removed upstream... bug #245127
 

	
 
*tex4ht-20081030_p1336 (01 Nov 2008)
 

	
 
  01 Nov 2008; Alexis Ballier <aballier@gentoo.org>
 
  +tex4ht-20081030_p1336.ebuild:
 
  version bump
 

	
 
  03 Sep 2008; Alexis Ballier <aballier@gentoo.org>
 
  -tex4ht-20080829_p0203.ebuild:
 
  remove version affected by bug #236369
 

	
 
*tex4ht-20080902_p1753 (03 Sep 2008)
 

	
 
  03 Sep 2008; Alexis Ballier <aballier@gentoo.org>
 
  +tex4ht-20080902_p1753.ebuild:
 
  version bump, fixing bug #236369
 

	
 
*tex4ht-20080829_p0203 (01 Sep 2008)
 

	
 
  01 Sep 2008; Alexis Ballier <aballier@gentoo.org>
 
  +tex4ht-20080829_p0203.ebuild:
 
  version bump
 

	
 
  12 Aug 2008; Alexis Ballier <aballier@gentoo.org>
 
  -tex4ht-20080711_p0635.ebuild:
 
  remove unused version
 

	
 
*tex4ht-20080807_p1635 (09 Aug 2008)
 

	
 
  09 Aug 2008; Alexis Ballier <aballier@gentoo.org>
 
  +tex4ht-20080807_p1635.ebuild:
 
  version bump
 

	
 
  09 Aug 2008; Alexis Ballier <aballier@gentoo.org>
 
  -tex4ht-20080125_p0949.ebuild, -tex4ht-20080510_p2222.ebuild:
 
  remove old
 

	
 
*tex4ht-20080711_p0635 (11 Jul 2008)
 

	
 
  11 Jul 2008; Alexis Ballier <aballier@gentoo.org>
 
  +tex4ht-20080711_p0635.ebuild:
 
  version bump
 

	
 
*tex4ht-20080510_p2222 (12 May 2008)
 

	
 
  12 May 2008; Alexis Ballier <aballier@gentoo.org>
 
  +tex4ht-20080510_p2222.ebuild:
 
  version bump
 

	
 
  16 Mar 2008; Santiago M. Mola <coldwind@gentoo.org>
 
  tex4ht-20071024_p0140.ebuild:
 
  amd64 stable wrt bug #208763
 

	
 
*tex4ht-20080125_p0949 (10 Feb 2008)
 

	
 
  10 Feb 2008; Alexis Ballier <aballier@gentoo.org>
 
  +tex4ht-20080125_p0949.ebuild:
 
  version bump and keyword ~x86-fbsd
 

	
 
  10 Feb 2008; Alexis Ballier <aballier@gentoo.org>
 
  -tex4ht-20050406_p1623-r1.ebuild, -tex4ht-20050701_p1825.ebuild:
 
  remove old
 

	
 
  09 Feb 2008; Brent Baude <ranger@gentoo.org> tex4ht-20071024_p0140.ebuild:
 
  Marking tex4ht-20071024_p0140 ppc64 for bug 208763
 

	
 
  08 Feb 2008; Tobias Scherbaum <dertobi123@gentoo.org>
 
  tex4ht-20071024_p0140.ebuild:
 
  ppc stable, bug #208763
 

	
 
  07 Feb 2008; Raúl Porcel <armin76@gentoo.org>
 
  tex4ht-20071024_p0140.ebuild:
 
  alpha/ia64 stable wrt #208763
 

	
 
  05 Feb 2008; Ferris McCormick <fmccor@gentoo.org>
 
  tex4ht-20071024_p0140.ebuild:
 
  Sparc stable --- Bug #208763 --- required for texlive.
 

	
 
  04 Feb 2008; Jeroen Roovers <jer@gentoo.org> tex4ht-20071024_p0140.ebuild:
 
  Stable for HPPA (bug #208763).
 

	
 
  03 Feb 2008; Christian Faulhammer <opfer@gentoo.org>
 
  tex4ht-20071024_p0140.ebuild:
 
  stable x86, bug 208763
 

	
 
  18 Dec 2007; Jeroen Roovers <jer@gentoo.org> tex4ht-20071024_p0140.ebuild:
 
  Marked ~hppa (bug #195815).
 

	
 
  06 Nov 2007; Markus Rothe <corsair@gentoo.org>
 
  tex4ht-20071024_p0140.ebuild:
 
  Added ~ppc64; bug #197543
 

	
 
  01 Nov 2007; Raúl Porcel <armin76@gentoo.org>
 
  tex4ht-20071024_p0140.ebuild:
 
  Add ~alpha/~ia64 wrt #197543
 

	
 
  30 Oct 2007; Alexis Ballier <aballier@gentoo.org>
 
  tex4ht-20050406_p1623-r1.ebuild, tex4ht-20050701_p1825.ebuild:
 
  quote variables
 

	
 
*tex4ht-20071024_p0140 (30 Oct 2007)
 

	
 
  30 Oct 2007; Alexis Ballier <aballier@gentoo.org>
 
  +tex4ht-20071024_p0140.ebuild:
 
  version bump, bug #153028, thanks to Gerard Vermeulen for the ebuild and
 
  wltjr for the help with java
 

	
 
  13 Mar 2007; Alexandre Buisse <nattfodd@gentoo.org> metadata.xml:
 
  Replaced text-markup by tex as maintaining herd (text-markup split).
 

	
 
  09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
 
  Regenerate digest in Manifest2 format.
 

	
 
  15 Nov 2005; Gustavo Zacarias <gustavoz@gentoo.org>
 
  tex4ht-20050406_p1623-r1.ebuild:
 
  Stable on sparc
 

	
 
  14 Oct 2005; Gustavo Zacarias <gustavoz@gentoo.org>
 
  tex4ht-20050406_p1623-r1.ebuild, tex4ht-20050701_p1825.ebuild:
 
  Keyworded ~sparc
 

	
 
  24 Aug 2005; Leonardo Boshell <leonardop@gentoo.org>
 
  -tex4ht-20040212.ebuild, tex4ht-20050406_p1623-r1.ebuild,
 
  tex4ht-20050701_p1825.ebuild:
 
  Modified calls to 'cp -a' as described on bug #103487.
 

	
 
*tex4ht-20050701_p1825 (02 Jul 2005)
 

	
 
  02 Jul 2005; Mamoru KOMACHI <usata@gentoo.org>
 
  -tex4ht-20050406_p1623.ebuild, tex4ht-20050406_p1623-r1,
 
  +tex4ht-20050701_p1825.ebuild:
 
  Version bumped. This closes bug #97099.
 

	
 
*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)
 

	
 
  07 Apr 2005; Mamoru KOMACHI <usata@gentoo.org>
 
  -tex4ht-20050331_p2350.ebuild, +tex4ht-20050406_p1623.ebuild:
 
  Added new snapshot and mirror it on Gentoo distfiles server.
 
  This closes bug #88083.
 

	
 
*tex4ht-20050331_p2350 (02 Apr 2005)
 

	
 
  02 Apr 2005; Mamoru KOMACHI <usata@gentoo.org>
 
  +tex4ht-20050331_p2350.ebuild:
 
  Version bumped. Thanks to Martin Diers <martin@diers.us>; bug #85301.
 

	
 
  31 Aug 2004; David Holm <dholm@gentoo.org> tex4ht-20040212.ebuild:
 
  Added to ~ppc.
 

	
 
*tex4ht-20040212 (19 Aug 2004)
 

	
 
  19 Aug 2004; Mamoru KOMACHI <usata@gentoo.org> +metadata.xml,
 
  +tex4ht-20040212.ebuild:
 
  Initial import. Thanks to Maarten Wisse <Maarten.Wisse@urz.uni-heidelberg.de>
 
  and Richard Seymour <nutate@yahoo.com> for providing an ebuild. This closes
 
  bug #33259.
 

	
dev-tex/tex4ht/Manifest
Show inline comments
 
new file 100644
 
-----BEGIN PGP SIGNED MESSAGE-----
 
Hash: SHA1
 

	
 
AUX 50tex4ht.cnf 192 RMD160 5b1858ef986eee4d9cc353e2147bee99938d7529 SHA1 6e7e561eb5bbf86dcd32b058e55cd5947e59e783 SHA256 5c9659aad7091b763e4a1363d78629a1ad8e1fe5ba679c151b95c69f4de9d9c1
 
DIST tex4ht-1.0.2009_06_11_1038.tar.gz 2576719 RMD160 09bce74e23058d02bc251305632cea4a4ee6595d SHA1 7d46488059316dec3234b6478cd0d2ca8f4d110f SHA256 9f3e259641bb7d5f32b8efaa85cb7c1a9f1a17f5fc6a859c81449d9984ec91a3
 
EBUILD tex4ht-20090611_p1038-r1.ebuild 3349 RMD160 9c01b16453ed2ca0717fd640763e1b494b81dee5 SHA1 0453c84550a548dfc2166e78c05f0203610b2861 SHA256 8887a20622a17d6b4559769eefd027df7ef8ea28ce1afdcf29ba93a037a41e8c
 
MISC ChangeLog 10490 RMD160 78e0092be853cab3d2df86f10d2116e85b6effa2 SHA1 1716e5d0f7b6b462628f895be65ec05fb23883e0 SHA256 9bc3c785ad6dfdf0734823356bcfd3192fc5861b1f6063ad25a7658a09b1307f
 
MISC metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 SHA1 e9260cd53905d8569cf3327ded4c6d01653fc389 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6
 
-----BEGIN PGP SIGNATURE-----
 
Version: GnuPG v2.0.15 (GNU/Linux)
 

	
 
iEYEARECAAYFAkxC9QEACgkQvFcC4BYPU0qLpgCfYDpHK8HqhdLWqDgOAGlOMIyY
 
WdgAn2ySb8A14LDE0IoPdrUuW1+CKvSp
 
=+Zhu
 
-----END PGP SIGNATURE-----
dev-tex/tex4ht/files/50tex4ht.cnf
Show inline comments
 
new file 100644
 
% -- tex4ht configuration params added by texmf-update --
 
TEX4HTINPUTS=.;$TEXMF/tex4ht/base//;$TEXMF/tex4ht/ht-fonts//
 
T4HTINPUTS=.;$TEXMF/tex4ht/base//
 
% -- tex4ht configuration ends here --
dev-tex/tex4ht/metadata.xml
Show inline comments
 
new file 100644
 
<?xml version="1.0" encoding="UTF-8"?>
 
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 
<pkgmetadata>
 
<herd>tex</herd>
 
</pkgmetadata>
dev-tex/tex4ht/tex4ht-20090611_p1038-r1.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2010 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/tex4ht-20090611_p1038-r1.ebuild,v 1.8 2010/07/18 12:25:15 nixnut Exp $
 

	
 
inherit latex-package toolchain-funcs java-pkg-opt-2
 

	
 
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/
 
	http://www.cse.ohio-state.edu/~gurari/TeX4ht/bugfixes.html"
 
SRC_URI="http://www.cse.ohio-state.edu/~gurari/TeX4ht/fix/${MY_P}.tar.gz"
 

	
 
LICENSE="LPPL-1.2"
 
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
 
SLOT="0"
 

	
 
DEPEND=">=sys-apps/sed-4
 
	java? ( >=virtual/jdk-1.5 )"
 

	
 
RDEPEND="app-text/ghostscript-gpl
 
	media-gfx/imagemagick
 
	java? ( >=virtual/jre-1.5 )"
 

	
 
IUSE="java"
 

	
 
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
 
	sed -i -e \
 
	's#%%~/texmf-dist#/usr/share/texmf#g' tex4ht.env || die
 

	
 
	einfo "Removing precompiled java stuff"
 
	find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -print -delete
 
}
 

	
 
src_compile() {
 
	cd "${S}/src/"
 
	einfo "Compiling postprocessor sources..."
 
	for f in tex4ht t4ht htcmd ; do
 
		$(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o $f $f.c \
 
			-DENVFILE='"/usr/share/texmf/tex4ht/base/tex4ht.env"' \
 
			-DHAVE_DIRENT_H -DKPATHSEA -lkpathsea \
 
			|| die "Compiling $f failed"
 
	done
 
	if use java; then
 
		einfo "Compiling java files..."
 
		cd java
 
		ejavac *.java */*.java */*/*.java -d ../../texmf/tex4ht/bin
 
		cd "${S}/texmf/tex4ht/bin"
 
		# Create the jar needed by oolatex
 
		jar -cf "${S}/${PN}.jar" * || die "failed to create jar"
 
	fi
 
}
 

	
 
src_install () {
 
	# install the binaries
 
	dobin "${S}/src/tex4ht" "${S}/src/t4ht" "${S}/src/htcmd"
 
	# install the scripts
 
	if ! use java; then
 
		rm -f "${S}"/bin/unix/oo*
 
		rm -f "${S}"/bin/unix/jh*
 
	fi
 
	dobin "${S}"/bin/unix/mk4ht || die
 

	
 
	# install the .4ht scripts
 
	insinto /usr/share/texmf/tex/generic/tex4ht
 
	doins "${S}"/texmf/tex/generic/tex4ht/* || die
 

	
 
	# install the special htf fonts
 
	insinto /usr/share/texmf/tex4ht
 
	doins -r "${S}/texmf/tex4ht/ht-fonts" || die
 

	
 
	if use java; then
 
		# install the java files
 
		doins -r "${S}/texmf/tex4ht/bin"
 
		java-pkg_jarinto /usr/share/texmf/tex4ht/bin
 
		java-pkg_dojar "${S}/${PN}.jar"
 
	fi
 

	
 
	# install the .4xt files
 
	doins -r "${S}/texmf/tex4ht/xtpipes" || die
 

	
 
	# install the env file
 
	insinto /usr/share/texmf/tex4ht/base
 
	newins "${S}/texmf/tex4ht/base/unix/tex4ht.env" tex4ht.env || die
 

	
 
	if latex-package_has_tetex_3 ; then
 
		insinto /etc/texmf/texmf.d
 
		doins "${FILESDIR}/50tex4ht.cnf" || die
 
	fi
 

	
 
	insinto /usr/share/texmf/tex/generic/${PN}
 
	insopts -m755
 
	doins "${S}"/bin/ht/unix/* || die
 
}
 

	
 
pkg_postinst() {
 
	use java ||	elog 'ODF converters (oolatex & friends) require the java use flag'
 
	latex-package_pkg_postinst
 
	elog "In order to avoid collisions with multiple packages"
 
	elog "We are not installing the scripts in /usr/bin anymore"
 
	elog "If you want to use, say, htlatex, you can use 'mk4ht htlatex file'"
 
}
0 comments (0 inline, 0 general)