summaryrefslogtreecommitdiff
blob: 632defa26d64a8e45b6cc3b6b25af0b5667937db (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
40
41
42
43
44
45
46
47
48
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/net-mail/xfmail/xfmail-1.5.3.ebuild,v 1.1 2002/11/03 07:22:33 raker Exp $

IUSE="ldap"

S=${WORKDIR}/${P}

DESCRIPTION="A full-featured mail program using XForms"
SRC_URI="ftp://ftp.xfmail.org/pub/${PN}/release/1.5.3/source/${P}.tar.bz2"
HOMEPAGE="http://www.xfmail.org"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ppc sparc sparc64"

DEPEND="virtual/x11
	>=x11-libs/xforms-1.0_rc4
	ldap? ( >=net-nds/openldap-2.0.11 )"


RDEPEND="virtual/x11
	>=x11-libs/xforms-1.0_rc4
	ldap? ( >=net-nds/openldap-2.0.11 )"

src_compile() {

	local myconf

	use ldap && myconf="$myconf --with-ldap"
	
	./autogen.sh \
		--host=${CHOST}  \
		--prefix=/usr \
		--with-faces $myconf || die
	emake || die
}

src_install () {

	make prefix=${D}/usr \
		manualdir=${D}/usr/share/doc/${PF}/html \
		install || die

	dodoc AUTHORS ChangeLog* NEWS README* TODO*

}