summaryrefslogtreecommitdiff
blob: 6bf62c81fdf2a0938cc88b9f974f656027ae1944 (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
49
50
51
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-gnustep/gnumail/gnumail-1.1.0.ebuild,v 1.7 2004/06/30 03:24:31 agriffis Exp $

inherit gnustep

IUSE="crypt xface"
S=${WORKDIR}/GNUMail

newdepend dev-util/gnustep-gui
newdepend app-gnustep/pantomime

DESCRIPTION="A fully featured mail application for GNUstep"
HOMEPAGE="http://www.collaboration-world.com/gnumail/"
SRC_URI="http://www.collaboration-world.com/gnumail.data/releases/Stable/GNUMail-${PV}.tar.gz"

DEPEND="${DEPEND}"
RDEPEND="${RDEPEND} dev-util/gnustep-back"

KEYWORDS="x86 ~ppc alpha"
LICENSE="GPL-2"
SLOT="0"

src_unpack() {
	unpack GNUMail-${PV}.tar.gz
	cd ${S}
}

src_compile() {
	egnustepmake

	if use xface; then
		cd ${S}/Bundles/Face
		make
		cd ${S}
	fi

	if use crypt; then
		cd ${S}/Bundles/PGP
		make
		cd ${S}
	fi
}

src_install() {
	egnustepinstall

	use xface && cp -a ${S}/Bundles/Face/Face.bundle ${D}usr/GNUstep/System/Library/GNUMail/

	use crypt && cp -a ${S}/Bundles/PGP/PGP.bundle ${D}usr/GNUstep/System/Library/GNUMail/
}