blob: 2e29799b722a8e4f1595b024e5830df7a2a8136e (
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
44
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Maintainer: Felix Kurth <felix@fkurth.de>
# $Header: /var/cvsroot/gentoo-x86/dev-tex/eurosym/eurosym-1.2.ebuild,v 1.2 2003/06/12 20:40:16 msterret Exp $
inherit latex-package
S=${WORKDIR}/eurosym
DESCRIPTION="LaTeX package and fonts used to set the euro (currency) symbol."
SRC_URI="ftp://ftp.dante.de/tex-archive/fonts/eurosym.tar.gz"
HOMEPAGE="ftp://ftp.dante.de/tex-archive/help/Catalogue/entries/eurosym.html"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~x86 ~ppc"
SUPPLIER="public"
src_install() {
cd ${S}
cd src
latex-package_src_doinstall all
cd ${S}
cd tfm
latex-package_src_doinstall all
cd ${S}
cd sty
latex-package_src_doinstall all
cd ${S}
insinto ${TEXMF}/fonts/type1/${SUPPLIER}/latex-eurosym
doins contrib/type1/fonts/type1/eurosym/*
insinto ${TEXMF}/dvips/config/
doins contrib/type1/dvips/eurosym.map
cd ${S}
dodoc README Changes
cd doc
dodoc *
}
pkg_postinst() {
latex-package_pkg_postinst
einfo ""
einfo "Please edit \"/usr/share/texmf/dvips/config/updmap\" and"
einfo "add \"eurosym.map\" on line 24 (extra_modules)"
einfo "Then run \"/usr/share/texmf/dvips/config/updmap\""
einfo ""
}
|