summaryrefslogtreecommitdiff
blob: 8f98b9980d3a7c7b77be3e7e4606dae74bf5dbe3 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# 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.1 2003/08/21 08:50:54 g2boojum Exp $

inherit gnustep

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

S=${WORKDIR}/GNUMail
A=GNUMail-${PV}.tar.gz

DESCRIPTION="A fully featured mail application for GNUstep"
HOMEPAGE="http://www.collaboration-world.com/gnumail/"
LICENSE="GPL-2"
DEPEND="${DEPEND}"
RDEPEND="${RDEPEND} dev-util/gnustep-back"
SRC_URI="http://www.collaboration-world.com/gnumail.data/releases/Stable/GNUMail-${PV}.tar.gz"
KEYWORDS="~x86 ~ppc"
SLOT="0"
IUSE="${IUSE} xface crypt"

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/
}