forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pscyr-0.4d_beta9.ebuild
43 lines (32 loc) · 1.06 KB
/
pscyr-0.4d_beta9.ebuild
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-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=4
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"
IUSE=""
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}"
cd "$each"
latex-package_src_install
done
cd "${S}"
insinto "${TEXMF}/fonts/map/dvips/pscyr"
doins dvips/pscyr/pscyr.map || die "doins $i failed"
for each in dvips/pscyr/*.enc; do
insinto "${TEXMF}/fonts/enc/dvips/pscyr"
doins "$each" || die "doins $i failed"
done
insinto /etc/texmf/updmap.d
doins "${FILESDIR}/90pscyr.cfg"
dodoc doc/README.* doc/PROBLEMS ChangeLog
}