summaryrefslogtreecommitdiff
blob: cbe9eb3be8b10e9ce3f5c69861f9f9f2352dbf03 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/pfaedit/pfaedit-20040310.ebuild,v 1.1 2004/10/09 20:56:31 usata Exp $

inherit flag-o-matic

DESCRIPTION="postscript font editor and converter"
HOMEPAGE="http://pfaedit.sourceforge.net/oldindex.html"
SRC_URI="mirror://sourceforge/${PN}/${PN}_full-${PV:2:6}.tgz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="x86 alpha ppc ~amd64"
IUSE="png gif jpeg tiff truetype 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.2 )
	!media-gfx/fontforge"

S=${WORKDIR}/${PN}-${PV:2:6}

src_compile() {
	local myconf=""
	use X || myconf="--without-x"

	filter-mfpmath "sse" "387"

	econf ${myconf} --without-freetype-src || die "econf failed"
	make || die
}

src_install() {
	einstall || die
	dodoc AUTHORS COPYING LICENSE README
}