# 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-031123.ebuild,v 1.8 2004/06/24 22:46:17 agriffis Exp $ inherit flag-o-matic DESCRIPTION="postscript font editor and converter" HOMEPAGE="http://pfaedit.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/pfaedit_full-${PV}.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" 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() { # make install fails if this directory doesn't exist dodir /usr/lib einstall dodoc AUTHORS COPYING LICENSE README }