diff options
Diffstat (limited to 'app-text/gmanedit/gmanedit-0.3.3.ebuild')
-rw-r--r-- | app-text/gmanedit/gmanedit-0.3.3.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/app-text/gmanedit/gmanedit-0.3.3.ebuild b/app-text/gmanedit/gmanedit-0.3.3.ebuild new file mode 100644 index 000000000000..ae335cabd71c --- /dev/null +++ b/app-text/gmanedit/gmanedit-0.3.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Your Name <your email> +# $Header: /var/cvsroot/gentoo-x86/app-text/gmanedit/gmanedit-0.3.3.ebuild,v 1.1 2001/06/25 06:19:43 lamer Exp $ + +#P= +A=${P}.tar.bz2 +S=${WORKDIR}/${P}.orig +DESCRIPTION="Gnome based manpage editor" +SRC_URI="http://gmanedit.sourceforge.net/files/${A}" +HOMEPAGE="http://gmanedit.sourceforge.net/" + +DEPEND="virtual/x11 + >=gnome-base/gnome-core-1.4.0" + +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=/opt/gnome/include\ + --with-gnome-libs=/opt/gnome/lib" +fi +# NOTE WILL NOT COMPILE WITHOUT --disable-nls + try ./configure --prefix=/opt/gnome --host=${CHOST}\ + --disable-nls ${myconf} + try make + +} + +src_install () { + + try make DESTDIR=${D} install + dodoc AUTHORS COPYING ChangeLog TODO README NEWS +} + |