36 lines
858 B
Bash
36 lines
858 B
Bash
# Copyright 1999-2018 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=0
|
|
|
|
inherit latex-package
|
|
|
|
DESCRIPTION="xcolor -- easy driver-independent access to colors"
|
|
HOMEPAGE="http://www.ukern.de/tex/xcolor.html"
|
|
SRC_URI="http://www.ukern.de/tex/xcolor/ctan/${P//[.-]/}.zip"
|
|
|
|
LICENSE="LPPL-1.2"
|
|
SLOT="0"
|
|
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
|
IUSE="doc"
|
|
|
|
RDEPEND="dev-texlive/texlive-latex"
|
|
|
|
DEPEND="${RDEPEND}
|
|
doc? (
|
|
dev-texlive/texlive-pstricks
|
|
dev-texlive/texlive-latexextra
|
|
)
|
|
app-arch/unzip"
|
|
|
|
S="${WORKDIR}/${PN}"
|
|
|
|
TEXMF="/usr/share/texmf-site"
|
|
|
|
src_install() {
|
|
export VARTEXFONTS="${T}/fonts"
|
|
|
|
latex-package_src_install || die
|
|
|
|
dodoc README ChangeLog
|
|
}
|