diff options
author | Maximilian Gaß (mxey) <mxey@cloudconnected.org> | 2007-09-07 14:21:59 +0000 |
---|---|---|
committer | Maximilian Gaß (mxey) <mxey@cloudconnected.org> | 2007-09-07 14:21:59 +0000 |
commit | 1d60737f270fec5ccf643846c3e5ebaddc59203d (patch) | |
tree | 9a54658317bb0e4f4c2e91f55d41a0d043561a9a /net-mail/fdm/fdm-1.3c.ebuild | |
parent | new USE flag 'tdb' for net-mail/fdm (diff) | |
download | sunrise-1d60737f270fec5ccf643846c3e5ebaddc59203d.tar.gz sunrise-1d60737f270fec5ccf643846c3e5ebaddc59203d.tar.bz2 sunrise-1d60737f270fec5ccf643846c3e5ebaddc59203d.zip |
net-mail/fdm: updated to 1.3c
svn path=/sunrise/; revision=4562
Diffstat (limited to 'net-mail/fdm/fdm-1.3c.ebuild')
-rw-r--r-- | net-mail/fdm/fdm-1.3c.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/net-mail/fdm/fdm-1.3c.ebuild b/net-mail/fdm/fdm-1.3c.ebuild new file mode 100644 index 000000000..0c72e2da8 --- /dev/null +++ b/net-mail/fdm/fdm-1.3c.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="fetch, filter and deliver mail" +HOMEPAGE="http://fdm.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86" +IUSE="pcre tdb" + +DEPEND="dev-libs/openssl + pcre? ( dev-libs/libpcre ) + tdb? ( dev-libs/tdb )" +RDEPEND="${DEPEND}" + +src_compile() { + if use tdb; then + vars="DB=1" + fi + + if use pcre; then + vars="$vars PCRE=1" + fi + + emake $vars +} + +src_install() { + dobin fdm || die "installing binary failed" + doman fdm.1 fdm.conf.5 || die "Installing man pages failed" + + dodoc CHANGES MANUAL README TODO || die "Installing documentation failed" + + docinto examples + dodoc examples/* || die "Installing documentation failed" +} + +pkg_postinst() { + enewuser _fdm +} |