1 |
1 |
# Copyright 1999-2021 Gentoo Authors
|
2 |
2 |
# Distributed under the terms of the GNU General Public License v2
|
3 |
3 |
|
4 |
|
EAPI=7
|
|
4 |
EAPI=8
|
5 |
5 |
|
6 |
6 |
DESCRIPTION="Gentoo Package Manager Specification"
|
7 |
7 |
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Package_Manager_Specification"
|
8 |
8 |
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
|
9 |
9 |
|
10 |
|
LICENSE="CC-BY-SA-3.0"
|
|
10 |
LICENSE="CC-BY-SA-4.0"
|
11 |
11 |
SLOT="0"
|
12 |
12 |
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
13 |
13 |
IUSE="html twoside"
|
14 |
14 |
|
15 |
|
# texlive-bibtexextra for plainurl.bst
|
16 |
|
# texlive-latexextra for chngcntr, isodate, leaflet, marginnote,
|
|
15 |
# texlive-bibtexextra for unsrturl.bst
|
|
16 |
# texlive-latexextra for chngcntr, gitinfo2, isodate, leaflet, marginnote,
|
17 |
17 |
# paralist, tocbibind
|
18 |
18 |
# texlive-mathscience for algorithm, algorithmic
|
19 |
19 |
BDEPEND="dev-texlive/texlive-bibtexextra
|
20 |
20 |
>=dev-texlive/texlive-latexextra-2020-r2
|
21 |
21 |
dev-texlive/texlive-mathscience
|
22 |
22 |
virtual/latex-base
|
23 |
|
html? (
|
24 |
|
app-text/recode
|
25 |
|
>=dev-tex/tex4ht-20090611_p1038-r11
|
26 |
|
)"
|
|
23 |
html? ( >=dev-tex/tex4ht-20090611_p1038-r11 )"
|
27 |
24 |
RDEPEND="!app-doc/pms-bin"
|
28 |
25 |
|
29 |
|
PATCHES=(
|
30 |
|
"${FILESDIR}/${PN}-7-Makefile.patch"
|
31 |
|
"${FILESDIR}/${PN}-7-parskip.patch"
|
32 |
|
)
|
33 |
|
|
34 |
26 |
src_compile() {
|
35 |
27 |
# just in case; we shouldn't be generating any fonts
|
36 |
28 |
export VARTEXFONTS="${T}/fonts"
|
37 |
|
emake $(usex twoside TWOSIDE=yes "")
|
|
29 |
emake $(usev twoside TWOSIDE=yes)
|
38 |
30 |
use html && emake html
|
39 |
31 |
}
|
40 |
32 |
|