# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-office/scribus/scribus-1.3.3.3.ebuild,v 1.6 2006/09/14 22:21:46 kugelfang Exp $ inherit qt3 eutils DESCRIPTION="Desktop Publishing (DTP) and Layout program for Linux." HOMEPAGE="http://www.scribus.net" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" SLOT="0" LICENSE="GPL-2" KEYWORDS="amd64 ppc ppc64 sparc x86" IUSE="cairo" DEPEND="$(qt_min_version 3.3.4) >=media-libs/freetype-2.1 >=media-libs/lcms-1.09 media-libs/tiff >=media-libs/libart_lgpl-2.3.8 >=sys-devel/gcc-3.0.0 >=dev-libs/libxml2-2.6.0 cairo? ( >=x11-libs/cairo-1.0 )" RDEPEND="${DEPEND} virtual/ghostscript" src_compile() { econf `use_enable cairo` || die emake || die } src_install() { einstall || die dodoc AUTHORS ChangeLog README TODO domenu scribus.desktop doicon scribus/icons/scribusicon.png }