# Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Your Name # $Header: /var/cvsroot/gentoo-x86/app-text/gmanedit/gmanedit-0.3.3-r1.ebuild,v 1.2 2001/11/10 02:43:58 hallski Exp $ S=${WORKDIR}/${P}.orig DESCRIPTION="Gnome based manpage editor" SRC_URI="http://gmanedit.sourceforge.net/files/${P}.tar.bz2" HOMEPAGE="http://gmanedit.sourceforge.net/" DEPEND="virtual/x11 >=gnome-base/gnome-core-1.4.0.4-r1" src_unpack() { unpack ${A} cd ${S} patch -p0 < ${FILESDIR}/gmanedit-0.3.3.diff } src_compile() { local myconf if [ -z "`use gnome`" ]; then myconf="--with-gnome-includes=/usr/include\ --with-gnome-libs=/usr/lib" fi # NOTE WILL NOT COMPILE WITHOUT --disable-nls try ./configure --prefix=/usr --host=${CHOST}\ --disable-nls ${myconf} try make } src_install () { try make DESTDIR=${D} install dodoc AUTHORS COPYING ChangeLog TODO README NEWS }