summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tex/biblatex/biblatex-3.10.ebuild')
-rw-r--r--dev-tex/biblatex/biblatex-3.10.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-tex/biblatex/biblatex-3.10.ebuild b/dev-tex/biblatex/biblatex-3.10.ebuild
new file mode 100644
index 000000000000..8a4a70670bbd
--- /dev/null
+++ b/dev-tex/biblatex/biblatex-3.10.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2018 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 ~arm ~x86"
+IUSE="+biber doc examples"
+
+DEPEND="dev-texlive/texlive-bibtexextra
+ dev-texlive/texlive-latexextra
+ || ( dev-texlive/texlive-plaingeneric dev-texlive/texlive-genericextra )"
+RDEPEND="${DEPEND}"
+PDEPEND="biber? ( ~dev-tex/biber-2.10 )"
+
+S="${WORKDIR}"
+TEXMF=/usr/share/texmf-site
+
+src_install() {
+ insinto "${TEXMF}"
+ doins -r bibtex tex
+
+ dodoc doc/latex/biblatex/{README,CHANGES.md}
+ 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
+}