summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-02-24 15:17:45 +0100
committerAlexis Ballier <aballier@gentoo.org>2017-02-24 15:25:28 +0100
commit04884f5491d5fb6f6783065f3b9fe4e4ed3be9a2 (patch)
tree2f5be3aa4417e8831fd33166910b5e59f39ae556 /dev-tex/hevea/hevea-2.03.ebuild
parentdev-ml/pomap: remove old (diff)
downloadgentoo-04884f5491d5fb6f6783065f3b9fe4e4ed3be9a2.tar.gz
gentoo-04884f5491d5fb6f6783065f3b9fe4e4ed3be9a2.tar.bz2
gentoo-04884f5491d5fb6f6783065f3b9fe4e4ed3be9a2.zip
dev-tex/hevea: remove old
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-tex/hevea/hevea-2.03.ebuild')
-rw-r--r--dev-tex/hevea/hevea-2.03.ebuild58
1 files changed, 0 insertions, 58 deletions
diff --git a/dev-tex/hevea/hevea-2.03.ebuild b/dev-tex/hevea/hevea-2.03.ebuild
deleted file mode 100644
index 42c71d1d1879..000000000000
--- a/dev-tex/hevea/hevea-2.03.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils multilib
-
-IUSE="+ocamlopt"
-
-DESCRIPTION="HeVeA is a quite complete and fast LaTeX to HTML translator"
-HOMEPAGE="http://hevea.inria.fr/"
-SRC_URI="http://hevea.inria.fr/distri/${P}.tar.gz"
-
-LICENSE="QPL"
-SLOT="0"
-KEYWORDS="amd64 ppc ~ppc64 sparc x86"
-
-DEPEND=">=dev-lang/ocaml-3.12:=[ocamlopt?]"
-RDEPEND="${DEPEND}
- dev-texlive/texlive-latexextra"
-
-src_compile() {
- rm -f config.sh
- emake PREFIX=/usr DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)/hevea" LATEXLIBDIR="/usr/share/texmf-site/tex/latex/hevea" config.sh || die "Failed to create config.sh"
- if use ocamlopt; then
- emake PREFIX=/usr || die "Failed to build native code binaries"
- else
- emake PREFIX=/usr TARGET=byte || die "Failed to build bytecode binaries"
- fi
-}
-
-src_install() {
- if use ocamlopt; then
- emake DESTDIR="${D}" PREFIX=/usr install || die "Install failed"
- else
- emake DESTDIR="${D}" PREFIX=/usr TARGET=byte install || die "Install failed"
- fi
-
- dodoc README CHANGES
-}
-
-# If texmf-update is present this means we have a latex install; update it so
-# that hevea.sty can be found
-# Do not (r)depend on latex though because hevea does not need it itself
-# If latex is installed later, it will see hevea.sty
-
-pkg_postinst() {
- if [ "$ROOT" = "/" ] && [ -x /usr/sbin/texmf-update ] ; then
- /usr/sbin/texmf-update
- fi
-}
-
-pkg_postrm() {
- if [ "$ROOT" = "/" ] && [ -x /usr/sbin/texmf-update ] ; then
- /usr/sbin/texmf-update
- fi
-}