diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-tex/bibtex2html |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-tex/bibtex2html')
-rw-r--r-- | dev-tex/bibtex2html/Manifest | 6 | ||||
-rw-r--r-- | dev-tex/bibtex2html/bibtex2html-1.98.ebuild | 57 | ||||
-rw-r--r-- | dev-tex/bibtex2html/files/bibtex2html-1.88-destdir.patch | 40 | ||||
-rw-r--r-- | dev-tex/bibtex2html/metadata.xml | 12 |
4 files changed, 115 insertions, 0 deletions
diff --git a/dev-tex/bibtex2html/Manifest b/dev-tex/bibtex2html/Manifest new file mode 100644 index 000000000000..3849623b2c59 --- /dev/null +++ b/dev-tex/bibtex2html/Manifest @@ -0,0 +1,6 @@ +AUX bibtex2html-1.88-destdir.patch 1401 SHA256 64da838742f8466670ac9cc5eae87001137e8dafe4e6a5bdfe936bde1eab940a SHA512 34a3f53f08a133f16987cdee2a87a13d767b9b83228996999fc5ee6726a7c99602a3865c6dfbd03ede014dfcada9cc4882e802eff7939083e7c110f1cf0e07e9 WHIRLPOOL f433cacb1ceca0e559776dba2c2ba827e44ef1154b51bb244c3b7bfa77d13b9d288c2d71301f93043f6d3dc622283a7f83e1d5991d27aa86a6c2036d6903caaf +DIST bibtex2html-1.98.tar.gz 92719 SHA256 e925a0b97bf87a14bcbda95cac269835cd5ae0173504261f2c60e3c46a8706d6 SHA512 7d8480ed87bef74a1e0c970446fba4d30b103df3e78f127a051efff875032ac7f52d3d6baab0c6a2fc67ca11f3d558d7be4439311934f99067993b5891ff6ad4 WHIRLPOOL e0a56cf31090012305140e11f46191a50d4949fbee1d179cdb9f56e216e5fcae05f60e4457de88cbc771a512f3b7b054a781ee604a1b25640eb810ff33224f1a +EBUILD bibtex2html-1.98.ebuild 1235 SHA256 c9f89118154a060e6c21fdf05ca38ec0d63fca8d62af484191904e281654da69 SHA512 662693c0f6c952d06fe23a8bf154d2608ceebd008c450555261609805364d0696bc08b5c925e22cf15c29fe09ac071c2e4f7452daca0b7f98c756bcc7fc42fdb WHIRLPOOL 846a9fabc76eb14a7a2fb7f13ad00fee1f5a3ae0585691613212b40e4d7b74d057c8cc308f51addc6a18d2b0ca58def17f2b2720c4038765bb8af07891e45e1a +MISC ChangeLog 2535 SHA256 385d8f5514445954636101ed3bee52e922daf8afbd7b8930e209793ba53f4e85 SHA512 c17d55c0d91a3eceb110911f523f1966cb847a2c4dd6a24bfaf18310ccb7cfe328693c2d222fc1b5283e89c23639fa2e0294342c269ca5c2816b0f065a2c0075 WHIRLPOOL 65c2d463bde59cdc4a39783613576b48c1d12572c854aa63d4a355e5723acf4a8d4750dacb2f999eb46c0a584a8af1a2895f9aa24194b7b976138079028e4b8e +MISC ChangeLog-2015 4496 SHA256 ce8626a6471b726cda3c550e617dcb8174fb4453d0c04b9c9a14eb276aa7d73f SHA512 8cf08a5fed18b124015fb8daff8542cc6de36077cbe3c583c3dca51a379001e919a8612f22f06dcad42bbcf47e05faf31c146fc62be377b45fec3e69674332d8 WHIRLPOOL 73e6b0c419178bab14969b6081de703f8ab7925a691bf7872e972f04a2b6548fd48e6bd7c72011736ca8ab032938d35188733c6be0dc624298eb2a78b6b1c149 +MISC metadata.xml 349 SHA256 9a5ef8686a1a92cd37363bab1ddbae2ef04f19ca0110e54f601fcde4c1d7f6d3 SHA512 31be034c4d00c733eb416ecc772ee220cfb1d1befefbdfca695557e8b482b34948ca1dc08d8def149cb8d4ec4a36cc4ff50b383fb0f658a49a19325c574b0bd7 WHIRLPOOL ca9e5fd8b20e3f79671768304f7abe71d34f69cc0ef21f477301686de6246b279509e9211943ef9cddd429341bdbe6be8496172030be0039d386acaa477ad4df diff --git a/dev-tex/bibtex2html/bibtex2html-1.98.ebuild b/dev-tex/bibtex2html/bibtex2html-1.98.ebuild new file mode 100644 index 000000000000..7e5e4b73a356 --- /dev/null +++ b/dev-tex/bibtex2html/bibtex2html-1.98.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 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="http://www.lri.fr/~filliatr/ftp/bibtex2html/${P}.tar.gz" +HOMEPAGE="http://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 +} diff --git a/dev-tex/bibtex2html/files/bibtex2html-1.88-destdir.patch b/dev-tex/bibtex2html/files/bibtex2html-1.88-destdir.patch new file mode 100644 index 000000000000..4230382ab3ab --- /dev/null +++ b/dev-tex/bibtex2html/files/bibtex2html-1.88-destdir.patch @@ -0,0 +1,40 @@ +Index: bibtex2html-1.88/Makefile.in +=================================================================== +--- bibtex2html-1.88.orig/Makefile.in ++++ bibtex2html-1.88/Makefile.in +@@ -56,24 +56,24 @@ test: bibtex2html bib2bib + make -C bench test + + install-indep: +- mkdir -p $(BINDIR) +- cp aux2bib $(BINDIR)/aux2bib +- mkdir -p $(MANDIR)/man1 +- cp bibtex2html.1 $(MANDIR)/man1/bibtex2html.1 +- cp bibtex2html.1 $(MANDIR)/man1/bib2bib.1 +- cp aux2bib.1 $(MANDIR)/man1/aux2bib.1 ++ mkdir -p $(DESTDIR)$(BINDIR) ++ cp aux2bib $(DESTDIR)$(BINDIR)/aux2bib ++ mkdir -p $(DESTDIR)$(MANDIR)/man1 ++ cp bibtex2html.1 $(DESTDIR)$(MANDIR)/man1/bibtex2html.1 ++ cp bibtex2html.1 $(DESTDIR)$(MANDIR)/man1/bib2bib.1 ++ cp aux2bib.1 $(DESTDIR)$(MANDIR)/man1/aux2bib.1 + + install: install-indep + if test @OCAMLBEST@ = opt ; then \ +- cp bibtex2html bib2bib $(BINDIR) ; \ ++ cp bibtex2html bib2bib $(DESTDIR)$(BINDIR) ; \ + else \ +- cp bibtex2html.byte $(BINDIR)/bibtex2html ; \ +- cp bib2bib.byte $(BINDIR)/bib2bib ; \ ++ cp bibtex2html.byte $(DESTDIR)$(BINDIR)/bibtex2html ; \ ++ cp bib2bib.byte $(DESTDIR)$(BINDIR)/bib2bib ; \ + fi + + install-byte: install-indep +- cp bibtex2html.byte $(BINDIR)/bibtex2html +- cp bib2bib.byte $(BINDIR)/bib2bib ++ cp bibtex2html.byte $(DESTDIR)$(BINDIR)/bibtex2html ++ cp bib2bib.byte $(DESTDIR)$(BINDIR)/bib2bib + + local: bibtex2html bib2bib + cp bibtex2html bib2bib aux2bib $$HOME/bin/$$OSTYPE diff --git a/dev-tex/bibtex2html/metadata.xml b/dev-tex/bibtex2html/metadata.xml new file mode 100644 index 000000000000..372e6f2a2754 --- /dev/null +++ b/dev-tex/bibtex2html/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>tex@gentoo.org</email> + <name>Gentoo TeX Project</name> +</maintainer> +<maintainer type="project"> + <email>ml@gentoo.org</email> + <name>Gentoo ML Project</name> +</maintainer> +</pkgmetadata> |