blob: e9d3b15e720a605788815c7ae4792ff5e793fc50 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit latex-package
DESCRIPTION="Type1 cyrillic fonts collection"
HOMEPAGE="ftp://scon155.phys.msu.su/pub/russian/psfonts/"
SRC_URI="ftp://scon155.phys.msu.su/pub/russian/psfonts/0.4d-beta/PSCyr-0.4-beta9-tex.tar.gz
ftp://scon155.phys.msu.su/pub/russian/psfonts/0.4d-beta/PSCyr-0.4-beta9-type1.tar.gz"
LICENSE="LPPL-1.2"
SLOT="0"
KEYWORDS="amd64 x86"
SUPPLIER="public"
S="${WORKDIR}/PSCyr"
src_install() {
for each in dvips/pscyr tex/latex/pscyr fonts/tfm/public/pscyr \
fonts/vf/public/pscyr fonts/type1/public/pscyr fonts/afm/public/pscyr; do
cd "${S}" || die
cd "$each" || die
latex-package_src_install
done
cd "${S}" || die
insinto "${TEXMF}/fonts/map/dvips/pscyr"
doins dvips/pscyr/pscyr.map
for each in dvips/pscyr/*.enc; do
insinto "${TEXMF}/fonts/enc/dvips/pscyr"
doins "${each}"
done
insinto /etc/texmf/updmap.d
doins "${FILESDIR}/90pscyr.cfg"
dodoc doc/README.* doc/PROBLEMS ChangeLog
}
|