# Copyright (C) 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/app-office/passepartout/passepartout-0.2.ebuild,v 1.0 2003/09/12 00:00:00 xxxxxx Exp $ DESCRIPTION="Passepartout is GTK-based DTP-application" HOMEPAGE="http://www.stacken.kth.se/project/pptout" SRC_URI="http://www.stacken.kth.se/project/pptout/files/${P}.tar.bz2 http://www.stacken.kth.se/project/pptout/files/${P}-assert.patch http://www.stacken.kth.se/project/pptout/files/${P}-thread.patch" LICENSE="BSD" SLOT="0" IUSE="" KEYWORDS="~x86" DEPEND=">=dev-cpp/libxmlpp-0.25.0 >=dev-cpp/gtkmm-2.2.7" RDEPEND="${DEPEND} dev-libs/libxslt app-text/ghostscript" src_unpack() { unpack ${A} epatch ${DISTDIR}/${P}-assert.patch || die "Failed to assert apply patch" epatch ${DISTDIR}/${P}-thread.patch || die "Failed to thread apply patch" } src_install() { einstall install || die "Install failed" dodoc AUTHORS BUGS COPYING NEWS README mv ${D}/usr/share/doc/passepartout ${D}/usr/share/doc/${P}/doc dosym /usr/share/xml/passepartout/xhtml.xslt /usr/share/doc/${P}/doc/xhtml.xslt dosym /usr/share/xml/passepartout/docbook.xslt /usr/share/doc/${P}/doc/docbook.xslt dosym /usr/share/xml/passepartout/xhtml.xslt /usr/share/doc/${P}/doc/examples/xhtml.xslt dosym /usr/share/xml/passepartout/docbook.xslt /usr/share/doc/${P}/doc/examples/docbook.xslt }