# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="fetch and deliver mail" HOMEPAGE="http://fdm.sourceforge.net" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="dev-libs/openssl" RDEPEND="" src_unpack() { unpack ${A} cd "${S}" } src_compile() { emake || die "Compilation failed." } src_install() { insinto /usr/bin doins fdm doman fdm.1 doman fdm.conf.5 } pkg_postinst() { chmod +x /usr/bin/fdm einfo einfo "You have to create a ~/.fdm.conf to use fdm," einfo "read the manual to do so." }