# Copyright 1999-2003 Gianluca Rotoni # Distributed under the terms of the GNU General Public License v2 DESCRIPTION="Automatic send of Gentoo Newsletter in the desired language" SRC_URI="http://www.rotoni.com/software/${P}.tar.gz" HOMEPAGE="http://www.rotoni.com" S=${WORKDIR}/${P} SLOT="0" LICENSE="GPL-2" KEYWORDS="x86 sparc ppc alpha" IUSE="perl" DEPEND="perl? ( dev-lang/perl )" RDEPEND="dev-perl/libwww-perl dev-perl/MIME-Lite sys-apps/cronbase" src_unpack src_install() { insinto /etc/cron.daily insopts -m0755 doins gwn.cron insinto /etc/conf.d insopts -m0644 doins gwn dodoc README.gz } pkg_postinst () { einfo einfo "Default language: en" einfo "Default sender: root" einfo "Default recipient: root" einfo einfo "Change /etc/conf.d/gwn to reflect your needs" einfo }