blob: 6406b1f904b6995c9bef8afe2d0619879f5080e2 (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/ttf2pt1/ttf2pt1-3.4.0.ebuild,v 1.25 2009/09/23 16:41:03 patrick Exp $
inherit eutils
DESCRIPTION="Converts True Type to Type 1 fonts"
HOMEPAGE="http://ttf2pt1.sourceforge.net/"
SRC_URI="mirror://sourceforge/ttf2pt1/${P}.tgz"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ppc sparc x86"
IUSE=""
RDEPEND=">=media-libs/freetype-2.0"
DEPEND="${RDEPEND}
dev-lang/perl"
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/${P}-Makefile-gentoo.diff
epatch ${FILESDIR}/${P}-Makefile-multiline-sed.diff
epatch ${FILESDIR}/${P}-man-pages.diff
}
src_compile() {
make CFLAGS="${CFLAGS}" all || die
}
src_install() {
make INSTDIR=${D}/usr install || die
dodir /usr/share/doc/${PF}/html
cd ${D}/usr/share/ttf2pt1
rm -r app other
mv *.html ../doc/${PF}/html
mv [A-Z]* ../doc/${PF}
prepalldocs
}
|