# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit gnustep S=${WORKDIR}/GNUMail DESCRIPTION="A fully featured mail application for GNUstep" HOMEPAGE="http://www.collaboration-world.com/gnumail/" SRC_URI="http://armando.xylite.com/gnustep/src/apps/${P/gnum/GNUM}.tar.gz" KEYWORDS="~x86" LICENSE="GPL-2" SLOT="0" IUSE="xface crypt emoticon" DEPEND="${DEPEND} gnustep-extra/pantomime app-gnustep/addresses" RDEPEND="${RDEPEND} crypt? app-crypt/gnupg gnustep-extra/pantomime app-gnustep/addresses" src_compile() { cd ${S} 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 if [ "`use Emoticon`" ]; then cd ${S}/Bundles/Emoticon 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/ use emoticon && cp -a ${S}/Bundles/Emoticon/Emoticon.bundle ${D}usr/GNUstep/System/Library/GNUMail/ }