1 |
commit: c609cb8e320e87075ed73c6704be2d810b4933e4 |
2 |
Author: Johannes Huber <johu <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 5 12:06:53 2020 +0000 |
4 |
Commit: Johannes Huber <johu <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 5 12:06:53 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c609cb8e |
7 |
|
8 |
dev-tex/bibtex2html: Version bump 1.99 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/704108 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/14239 |
12 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
13 |
Signed-off-by: Johannes Huber <johu <AT> gentoo.org> |
14 |
Reviewed-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
15 |
|
16 |
dev-tex/bibtex2html/Manifest | 1 + |
17 |
dev-tex/bibtex2html/bibtex2html-1.99.ebuild | 55 +++++++++++++++++++++++++++++ |
18 |
2 files changed, 56 insertions(+) |
19 |
|
20 |
diff --git a/dev-tex/bibtex2html/Manifest b/dev-tex/bibtex2html/Manifest |
21 |
index 2f37c73af86..ce81f299e2c 100644 |
22 |
--- a/dev-tex/bibtex2html/Manifest |
23 |
+++ b/dev-tex/bibtex2html/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
DIST bibtex2html-1.98.tar.gz 92719 BLAKE2B d9846c1ee03c7f003fe9acf586a0833715f8fc0a675ca4d3d2b2f070206aa81112ce5de1ce84c17fad4f3f5b5972bc6820b67428c73c56709875b2574b03cf19 SHA512 7d8480ed87bef74a1e0c970446fba4d30b103df3e78f127a051efff875032ac7f52d3d6baab0c6a2fc67ca11f3d558d7be4439311934f99067993b5891ff6ad4 |
26 |
+DIST bibtex2html-1.99.tar.gz 93073 BLAKE2B 9cf7f98f9f8ef6f82bd54554482ac8130e88b98e845a6b66a52f7c6bfac326136d3c04b60801f4b1e607818bc0516f9ff75e206e31c531ce7a36217534a40d4a SHA512 70f7465bd51ad3ddb40297edd7b50732088d150692f53f33b2dff276a8d223d972f0935f30fc731fdb3bc693275743420eb0d670109054c1e170fbb49015bbeb |
27 |
|
28 |
diff --git a/dev-tex/bibtex2html/bibtex2html-1.99.ebuild b/dev-tex/bibtex2html/bibtex2html-1.99.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..8ebac2b7cc6 |
31 |
--- /dev/null |
32 |
+++ b/dev-tex/bibtex2html/bibtex2html-1.99.ebuild |
33 |
@@ -0,0 +1,55 @@ |
34 |
+# Copyright 1999-2020 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+IUSE="doc +ocamlopt" |
40 |
+ |
41 |
+DESCRIPTION="A bibtex to HTML converter" |
42 |
+HOMEPAGE="https://www.lri.fr/~filliatr/bibtex2html/" |
43 |
+SRC_URI="https://www.lri.fr/~filliatr/ftp/bibtex2html/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="GPL-2" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
48 |
+RESTRICT="test" |
49 |
+ |
50 |
+# With use doc we need a latex compiler to generate manual.pdf |
51 |
+# hevea is used for manual.html |
52 |
+# manual.tex needs fullpage.sty |
53 |
+DEPEND=">=dev-lang/ocaml-3.10:=[ocamlopt?] |
54 |
+ doc? ( virtual/latex-base |
55 |
+ dev-texlive/texlive-latexextra |
56 |
+ dev-tex/hevea )" |
57 |
+# We need tex-base for bibtex but also some bibtex styles, so we use latex-base |
58 |
+RDEPEND="virtual/latex-base" |
59 |
+ |
60 |
+PATCHES=( "${FILESDIR}/${PN}-1.88-destdir.patch" ) |
61 |
+ |
62 |
+src_prepare() { |
63 |
+ default |
64 |
+ # Avoid pre-stripped files |
65 |
+ sed -i -e "s/strip/true/" Makefile.in || die |
66 |
+ # For make install |
67 |
+ use ocamlopt || sed -i 's/= opt /= noopt /' Makefile.in || die |
68 |
+} |
69 |
+ |
70 |
+src_compile() { |
71 |
+ export VARTEXFONTS="${T}/fonts" |
72 |
+ if use ocamlopt ; then |
73 |
+ emake opt |
74 |
+ else |
75 |
+ emake byte |
76 |
+ fi |
77 |
+ if use doc; then |
78 |
+ emake doc |
79 |
+ fi |
80 |
+} |
81 |
+ |
82 |
+src_install() { |
83 |
+ emake DESTDIR="${D}" install |
84 |
+ dodoc README CHANGES |
85 |
+ if use doc; then |
86 |
+ dodoc -r manual.{pdf,html} |
87 |
+ fi |
88 |
+} |