summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik v. Raven <hendrik@consetetur.de>2017-05-19 15:35:31 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-05-30 10:01:05 +0200
commit8a031c5294eb9b1d488400cd3850a17f0f833e92 (patch)
tree2ff4ddd01ae7fcca24d0388067e1fc0710abee5f /dev-tex/biblatex
parentdev-python/jmespath: Bump to 0.9.3 (diff)
downloadgentoo-8a031c5294eb9b1d488400cd3850a17f0f833e92.tar.gz
gentoo-8a031c5294eb9b1d488400cd3850a17f0f833e92.tar.bz2
gentoo-8a031c5294eb9b1d488400cd3850a17f0f833e92.zip
dev-tex/biblatex: add biber use flag
biber is the default backend for biblatex for several versions now and supersedes the old bibtex and bibtex8 backends. Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-tex/biblatex')
-rw-r--r--dev-tex/biblatex/biblatex-3.7-r1.ebuild40
-rw-r--r--dev-tex/biblatex/metadata.xml3
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-tex/biblatex/biblatex-3.7-r1.ebuild b/dev-tex/biblatex/biblatex-3.7-r1.ebuild
new file mode 100644
index 000000000000..bae095886e18
--- /dev/null
+++ b/dev-tex/biblatex/biblatex-3.7-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit latex-package
+
+DESCRIPTION="Reimplementation of the bibliographic facilities provided by LaTeX"
+HOMEPAGE="http://www.ctan.org/tex-archive/macros/latex/contrib/biblatex https://github.com/plk/biblatex/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tds.tgz"
+
+LICENSE="LPPL-1.3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+biber doc examples"
+
+DEPEND="dev-texlive/texlive-bibtexextra
+ dev-texlive/texlive-latexextra
+ dev-texlive/texlive-genericextra"
+RDEPEND="${DEPEND}
+ biber? ( ~dev-tex/biber-2.7 )"
+
+S="${WORKDIR}"
+TEXMF=/usr/share/texmf-site
+
+src_install() {
+ insinto "${TEXMF}"
+ doins -r bibtex tex
+
+ dodoc doc/latex/biblatex/{README,CHANGES.org}
+ if use doc ; then
+ pushd doc || die
+ latex-package_src_doinstall doc
+ popd || die
+ fi
+
+ if use examples ; then
+ dodoc -r doc/latex/biblatex/examples
+ fi
+}
diff --git a/dev-tex/biblatex/metadata.xml b/dev-tex/biblatex/metadata.xml
index da3be4fdc721..594b23863aae 100644
--- a/dev-tex/biblatex/metadata.xml
+++ b/dev-tex/biblatex/metadata.xml
@@ -13,6 +13,9 @@
<email>tex@gentoo.org</email>
<name>Gentoo TeX Project</name>
</maintainer>
+ <use>
+ <flag name="biber">Install the unicode compatible backend processor</flag>
+ </use>
<upstream>
<remote-id type="github">plk/biblatex</remote-id>
<remote-id type="sourceforge">biblatex</remote-id>