summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/scribus/scribus-0.9.6.ebuild')
-rw-r--r--app-office/scribus/scribus-0.9.6.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/app-office/scribus/scribus-0.9.6.ebuild b/app-office/scribus/scribus-0.9.6.ebuild
new file mode 100644
index 000000000000..4be07a051f75
--- /dev/null
+++ b/app-office/scribus/scribus-0.9.6.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/scribus-0.9.6.ebuild,v 1.1 2003/01/12 20:40:19 hanno Exp $
+
+DESCRIPTION="Scribus is a Layout program"
+HOMEPAGE="http://web2.altmuehlnet.de/fschmid"
+SRC_URI="http://web2.altmuehlnet.de/fschmid/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc"
+IUSE="kde"
+
+DEPEND="=x11-libs/qt-3*
+ media-libs/freetype
+ media-libs/lcms
+ sys-libs/zlib"
+
+src_compile() {
+ econf
+ emake CXXFLAGS="${CXXFLAGS} -I/usr/include/lcms" || die
+ mv debian/scribus-debian.xpm debian/scribus.xpm
+}
+
+src_install() {
+ einstall destdir=${D}
+
+ dodoc AUTHORS ChangeLog README TODO
+
+ # Fixing desktop.scribus
+ if [ `use kde` ] ; then
+ inherit kde-functions
+ set-kdedir 3
+ sed -e 's/local\///' desktop.scribus > desktop.scribus.2
+ echo "Name=Scribus" >> desktop.scribus.2
+ cp -f desktop.scribus.2 scribus.desktop
+ insinto ${PREFIX}/share/applnk/Graphics
+ doins scribus.desktop
+ fi
+ # Copy the pixmaps to the generic place
+ insinto /usr/share/pixmaps/
+ doins debian/scribus.xpm
+
+ dosym /usr/share/scribus/doc /usr/share/doc/${PF}/html
+}