mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-tex/bibtex2html: Drop old
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST bibtex2html-1.98.tar.gz 92719 BLAKE2B d9846c1ee03c7f003fe9acf586a0833715f8fc0a675ca4d3d2b2f070206aa81112ce5de1ce84c17fad4f3f5b5972bc6820b67428c73c56709875b2574b03cf19 SHA512 7d8480ed87bef74a1e0c970446fba4d30b103df3e78f127a051efff875032ac7f52d3d6baab0c6a2fc67ca11f3d558d7be4439311934f99067993b5891ff6ad4
|
||||
DIST bibtex2html-1.99.tar.gz 93073 BLAKE2B 9cf7f98f9f8ef6f82bd54554482ac8130e88b98e845a6b66a52f7c6bfac326136d3c04b60801f4b1e607818bc0516f9ff75e206e31c531ce7a36217534a40d4a SHA512 70f7465bd51ad3ddb40297edd7b50732088d150692f53f33b2dff276a8d223d972f0935f30fc731fdb3bc693275743420eb0d670109054c1e170fbb49015bbeb
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
IUSE="doc +ocamlopt"
|
||||
|
||||
DESCRIPTION="A bibtex to HTML converter"
|
||||
SRC_URI="https://www.lri.fr/~filliatr/ftp/bibtex2html/${P}.tar.gz"
|
||||
HOMEPAGE="https://www.lri.fr/~filliatr/bibtex2html/"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 ppc ~ppc64 x86"
|
||||
RESTRICT="test"
|
||||
|
||||
# With use doc we need a latex compiler to generate manual.pdf
|
||||
# hevea is used for manual.html
|
||||
# manual.tex needs fullpage.sty
|
||||
DEPEND=">=dev-lang/ocaml-3.10:=[ocamlopt?]
|
||||
doc? ( virtual/latex-base
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-tex/hevea )"
|
||||
# We need tex-base for bibtex but also some bibtex styles, so we use latex-base
|
||||
RDEPEND="virtual/latex-base"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-1.88-destdir.patch"
|
||||
# Avoid pre-stripped files
|
||||
sed -i -e "s/strip/true/" Makefile.in
|
||||
# For make install
|
||||
use ocamlopt || sed -i 's/= opt /= noopt /' Makefile.in
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export VARTEXFONTS="${T}/fonts"
|
||||
if use ocamlopt ; then
|
||||
emake opt
|
||||
else
|
||||
emake byte
|
||||
fi
|
||||
if use doc; then
|
||||
emake doc
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc README CHANGES
|
||||
if use doc; then
|
||||
dodoc manual.pdf
|
||||
dohtml manual.html
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user