# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Acts as a POP gateway to Yahoo! web mail" HOMEPAGE="http://sendymail.sourceforge.net/" SRC_URI="http://dl.sourceforge.net/sendymail/${P}.tar.gz" LICENSE="GPL" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="dev-perl/Crypt-SSLeay dev-perl/Digest-MD5 dev-perl/File-Temp dev-perl/Getopt-Long" src_install() { dobin sendymail.pl dodoc TODO sendymailrc.sample README INSTALL COPYING ChangeLog BUGS mkdir ${D}/usr/sbin pushd ${D}/usr/sbin >/dev/null ln -s ${DESTTREE}/bin/sendymail.pl ${D}/usr/sbin/sendmail popd >/dev/null } pkg_postinst() { ewarn "Make sure and create a ~/.sendymailrc file before using sedymail." ewarn "A sample sendymailrc file can be found at:" ewarn "/usr/share/doc/${PF}/sendymailrc.sample" }