You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.2 KiB
47 lines
1.2 KiB
3 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
7 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
4 years ago
|
EAPI=7
|
||
7 years ago
|
|
||
|
MY_P="${PN}-${PV%%_*}"
|
||
|
DESCRIPTION="Gentoo Package Manager Specification"
|
||
|
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Package_Manager_Specification"
|
||
4 years ago
|
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${MY_P}.tar.xz"
|
||
7 years ago
|
|
||
|
LICENSE="CC-BY-SA-3.0"
|
||
|
SLOT="${PV#*_p}"
|
||
3 years ago
|
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||
4 years ago
|
IUSE="html"
|
||
7 years ago
|
|
||
4 years ago
|
BDEPEND="dev-texlive/texlive-bibtexextra
|
||
|
>=dev-texlive/texlive-latexextra-2020-r2
|
||
4 years ago
|
dev-texlive/texlive-mathscience
|
||
3 years ago
|
virtual/latex-base
|
||
4 years ago
|
html? (
|
||
|
app-text/recode
|
||
4 years ago
|
>=dev-tex/tex4ht-20090611_p1038-r11
|
||
7 years ago
|
)"
|
||
4 years ago
|
RDEPEND="!app-doc/pms-bin"
|
||
7 years ago
|
|
||
|
S="${WORKDIR}/${MY_P}"
|
||
3 years ago
|
PATCHES=(
|
||
|
"${FILESDIR}/${PN}-5-Makefile.patch"
|
||
|
"${FILESDIR}/${PN}-5-parskip.patch"
|
||
|
)
|
||
7 years ago
|
|
||
|
src_compile() {
|
||
4 years ago
|
# just in case; we shouldn't be generating any fonts
|
||
|
export VARTEXFONTS="${T}/fonts"
|
||
|
emake
|
||
|
use html && emake html
|
||
7 years ago
|
}
|
||
|
|
||
|
src_install() {
|
||
|
dodoc pms.pdf eapi-cheatsheet.pdf
|
||
|
if use html; then
|
||
|
docinto html
|
||
|
dodoc *.html pms.css
|
||
|
dosym {..,/usr/share/doc/${PF}/html}/eapi-cheatsheet.pdf
|
||
|
fi
|
||
|
}
|