# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="touches low-traffic newsgroups so that local newsservers do not stop storing them" HOMEPAGE="http://www.minusen.force9.co.uk/utilities/" SRC_URI="http://www.minusen.force9.co.uk/utilities/${P}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" #RESTRICT="nostrip" DEPEND="dev-lang/perl virtual/cron" #RDEPEND="" S=${WORKDIR}/touch_newsgroups src_install() { dobin touch_newsgroup doman touch_newsgroup.1 dodoc COPYING touch_newsgroup.README insinto /etc/touch_newsgroup doins ${FILESDIR}/subscribed.conf insinto /etc/cron.daily insopts -m0755 doins ${FILESDIR}/touch_newsgroup.cron } pkg_postinst() { einfo einfo "To enable touch_newsgroup in cron, edit:" einfo " /etc/cron.daily/touch_newsgroup.cron" einfo }