diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-08-18 15:48:50 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-08-18 15:48:50 +0000 |
commit | a49aff6049b6176db6ead2bfa56ab8233490a782 (patch) | |
tree | 965cd3842ed5de309dea8fc77e63ee095784aca7 /dev-tex/tex4ht | |
parent | stable on alpha and ia64 #59715 (diff) | |
download | historical-a49aff6049b6176db6ead2bfa56ab8233490a782.tar.gz historical-a49aff6049b6176db6ead2bfa56ab8233490a782.tar.bz2 historical-a49aff6049b6176db6ead2bfa56ab8233490a782.zip |
Initial import. Thanks to Maarten Wisse <Maarten.Wisse@urz.uni-heidelberg.de> and Richard Seymour <nutate@yahoo.com> for providing the ebuild. This closes bug #33259.
Diffstat (limited to 'dev-tex/tex4ht')
-rw-r--r-- | dev-tex/tex4ht/ChangeLog | 12 | ||||
-rw-r--r-- | dev-tex/tex4ht/Manifest | 4 | ||||
-rw-r--r-- | dev-tex/tex4ht/files/digest-tex4ht-20040212 | 1 | ||||
-rw-r--r-- | dev-tex/tex4ht/metadata.xml | 5 | ||||
-rw-r--r-- | dev-tex/tex4ht/tex4ht-20040212.ebuild | 83 |
5 files changed, 105 insertions, 0 deletions
diff --git a/dev-tex/tex4ht/ChangeLog b/dev-tex/tex4ht/ChangeLog new file mode 100644 index 000000000000..1314a843a007 --- /dev/null +++ b/dev-tex/tex4ht/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for dev-tex/tex4ht +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/ChangeLog,v 1.1 2004/08/18 15:48:50 usata Exp $ + +*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. + diff --git a/dev-tex/tex4ht/Manifest b/dev-tex/tex4ht/Manifest new file mode 100644 index 000000000000..952a252ffec6 --- /dev/null +++ b/dev-tex/tex4ht/Manifest @@ -0,0 +1,4 @@ +MD5 71401791b95a45ab18174857598aafb6 tex4ht-20040212.ebuild 2041 +MD5 c472f5fd1646eb8bca71d8df5cb2bdcc metadata.xml 164 +MD5 f1f3dc146dab93a74a29d5d8d759c75b ChangeLog 496 +MD5 adab50a28b07bdfe73d29b6d5d285c99 files/digest-tex4ht-20040212 65 diff --git a/dev-tex/tex4ht/files/digest-tex4ht-20040212 b/dev-tex/tex4ht/files/digest-tex4ht-20040212 new file mode 100644 index 000000000000..dde493f76d8e --- /dev/null +++ b/dev-tex/tex4ht/files/digest-tex4ht-20040212 @@ -0,0 +1 @@ +MD5 e1a7ed0666470fce2475d6c495d41238 tex4ht-20040212.zip 2161858 diff --git a/dev-tex/tex4ht/metadata.xml b/dev-tex/tex4ht/metadata.xml new file mode 100644 index 000000000000..06689a1a9114 --- /dev/null +++ b/dev-tex/tex4ht/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>text-markup</herd> +</pkgmetadata> diff --git a/dev-tex/tex4ht/tex4ht-20040212.ebuild b/dev-tex/tex4ht/tex4ht-20040212.ebuild new file mode 100644 index 000000000000..5b39a23d910a --- /dev/null +++ b/dev-tex/tex4ht/tex4ht-20040212.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/tex4ht/tex4ht-20040212.ebuild,v 1.1 2004/08/18 15:48:50 usata Exp $ + +IUSE="" + +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/${P}.zip" + +LICENSE="LPPL-1.2" +KEYWORDS="~x86" +SLOT="0" + +DEPEND="virtual/tetex + app-arch/unzip + >=sys-apps/sed-4" + +RDEPEND="virtual/tetex + virtual/ghostscript + media-gfx/imagemagick" + +S="${WORKDIR}" + +src_unpack() { + + unpack ${P}.zip > /dev/null + cd ${WORKDIR}/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 ${WORKDIR}/temp/ + einfo "Compiling postprocessor sources..." + gcc -o tex4ht tex4ht.c -DENVFILE='"/usr/share/texmf/tex4ht/base/tex4ht.env"' -DHAVE_DIRENT_H \ + -DKPATHSEA -lkpathsea || die "Compiling tex4ht failed" + gcc -o t4ht t4ht.c -DENVFILE='"/usr/share/texmf/tex4ht/base/tex4ht.env"' \ + -DKPATHSEA -lkpathsea || die "Compiling t4ht failed" + +} + +src_install () { + + # install the binaries + exeinto /usr/bin + doexe ${WORKDIR}/temp/tex4ht ${WORKDIR}/temp/t4ht + doexe ${WORKDIR}/bin/unix/* + + # install the .4ht scripts + insinto /usr/share/texmf/tex/generic/tex4ht + doins ${WORKDIR}/texmf/tex/generic/tex4ht/* + + # install the special htf fonts + dodir /usr/share/texmf/tex4ht + cp -a ${WORKDIR}/texmf/tex4ht/ht-fonts ${D}/usr/share/texmf/tex4ht + + # install the env file + insinto /usr/share/texmf/tex4ht/base + newins ${WORKDIR}/texmf/tex4ht/base/unix/tex4ht.env tex4ht.env + + # this dir is 700 in the zip + fperms 755 /usr/share/texmf/tex4ht/ht-fonts + +} + +pkg_postinst () { + + einfo "Running mktexlsr to rebuild file databases..." + mktexlsr + +} + +pkg_postrm () { + + einfo "Running mktexlsr to rebuild file databases..." + mktexlsr + +} |