# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/media-gfx/gimp-freetype/gimp-freetype-0.2-r3.ebuild,v 1.3 2003/02/13 12:32:57 vapier Exp $ IUSE="nls" S=${WORKDIR}/${P} DESCRIPTION="GIMP freetype text plugin" SRC_URI="http://freetype.gimp.org/${P}.tar.gz" HOMEPAGE="http://freetype.gimp.org/" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86" DEPEND="=media-gfx/gimp-1.3* >=media-libs/freetype-2.0.1" RDEPEND="nls? ( sys-devel/gettext )" src_compile() { local myconf="" use nls || myconf="--disable-nls" econf \ --sysconfdir=/etc/gimp/1.3/ \ --with-gimp-exec-prefix=/usr \ ${myconf} emake || die } src_install() { local GIMP_PLUGIN_DIR=`gimptool --gimpplugindir` einstall bindir=${D}/${GIMP_PLUGIN_DIR}/plug-ins || die dodoc AUTHORS ChangeLog COPYING NEWS README* TODO }