35 lines
888 B
Bash
35 lines
888 B
Bash
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=5
|
|
|
|
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="doc examples"
|
|
|
|
RDEPEND="dev-texlive/texlive-bibtexextra
|
|
dev-texlive/texlive-latexextra
|
|
dev-texlive/texlive-genericextra"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
S=${WORKDIR}
|
|
TEXMF=/usr/share/texmf-site
|
|
|
|
src_install() {
|
|
insinto "${TEXMF}"
|
|
doins -r bibtex tex
|
|
|
|
dodoc doc/latex/biblatex/{README,CHANGES.org}
|
|
use doc && { pushd doc/ ; latex-package_src_doinstall doc ; popd ; }
|
|
if use examples ; then
|
|
docinto examples
|
|
dodoc -r doc/latex/biblatex/examples
|
|
fi
|
|
}
|