blob: fd50d00f7fb20c9b4061a0b991ba650ab22ed863 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/fontforge/fontforge-20040618.ebuild,v 1.5 2004/08/28 15:45:12 usata Exp $
inherit flag-o-matic eutils
DESCRIPTION="postscript font editor and converter"
HOMEPAGE="http://fontforge.sourceforge.net/"
SRC_URI="http://fontforge.sourceforge.net/${PN}_full-${PV}.tgz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="x86 ppc ~amd64 ~sparc"
IUSE="png gif jpeg tiff truetype svg unicode X"
DEPEND="png? ( >=media-libs/libpng-1.2.4 )
gif? ( >=media-libs/libungif-4.1.0-r1 )
jpeg? ( >=media-libs/jpeg-6b-r2 )
tiff? ( >=media-libs/tiff-3.5.7-r1 )
truetype? ( >=media-libs/freetype-2.1.4 )
svg? ( >=dev-libs/libxml2-2.6.7 )
>=media-gfx/autotrace-0.31.1
unicode? ( >=media-libs/libuninameslist-030713 )
!media-gfx/pfaedit"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}.patch
}
src_compile() {
local myconf="--with-multilayer"
use X || myconf="--without-x"
filter-mfpmath "sse" "387"
econf ${myconf} --without-freetype-src || die "econf failed"
make || die
}
src_install() {
# make install fails if this directory doesn't exist
dodir /usr/lib
einstall || die
dodoc AUTHORS README*
}
|