# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Per-package message logging in case you miss important notices while doing an cemerge world." HOMEPAGE="http://dev.gentoo.org/~eldad/" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" RDEPEND=">=sys-apps/portage-2.0.50" src_install() { dobin ${FILESDIR}/enotice-0.2.2 || die "dobin failed" dosym /usr/bin/enotice-0.2.2 /usr/bin/enotice || die "dosym failed" dodir /etc/portage dodir /etc/portage/profile insinto /etc/portage/profile/ doins ${FILESDIR}/profile.bashrc } pkg_postinst() { einfo "" einfo " Before you can use enotice, you must set PORT_ENOTICE_DIR" einfo " in the /etc/make.conf" einfo "" einfo " Example : " einfo " PORT_ENOTICE_DIR = /var/enotice/" }