summaryrefslogtreecommitdiff
blob: 5d7dd49c7b101dcd757c9b87151dc7d5d7fccc9f (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
45
46
47
48
49
50
51
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-fonts/ec-fonts-mftraced/ec-fonts-mftraced-1.0.8.ebuild,v 1.8 2005/08/23 20:36:31 gustavoz Exp $

DESCRIPTION="EC Fonts for Lilypond"
SRC_URI="http://lilypond.org/download/fonts/${P}.tar.gz"
HOMEPAGE="http://lilypond.org/"
LICENSE="public-domain"

SLOT="0"
KEYWORDS="x86 sparc ~ppc amd64 ia64 alpha"
IUSE=""

RDEPEND=">=dev-util/guile-1.6.4
	virtual/ghostscript
	virtual/tetex
	>=dev-lang/python-2.2.3-r1"

DEPEND="${RDEPEND}
	>=sys-devel/make-3.80
	>=app-text/mftrace-1.0.27
	>=media-gfx/potrace-1.5"

src_unpack() {
	unpack ${A} || die "unpack failed"
}

src_compile() {
	addwrite /dev/stderr
	addwrite /var/cache/fonts
	addwrite /usr/share/texmf
	addwrite /root/.PfaEdit

	# no need for econf.. this isn't an autoconf-generated configure
	./configure
	make all builddir=${S} prefix=${D}/usr/
}

src_install () {
	addwrite /dev/stderr
	addwrite /var/cache/fonts
	addwrite /usr/share/texmf
	addwrite /root/.PfaEdit

	make install builddir=${S} prefix=${D}/usr/
	mv ${D}/usr/share/doc/{${PN},${P}}
}

pkg_postinst() {
	texhash
}