blob: de665aede4a7239cb48bbc6256960de0c0d31ed6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# 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-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
}
|