1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="Package for controlling post emerge --sync operations"
8 HOMEPAGE="http://www.electron.me.uk/postsync.html"
9 SRC_URI="http://www.electron.me.uk/files/${P}.tar.bz2"
21 PORTCFG=$(python -c 'import portage; print portage.USER_CONFIG_PATH,') \
22 || die "Cannot get config path"
23 PSDIR="/usr/$(get_libdir)/postsync.d"
30 exeinto "${PORTCFG}/bin"
38 dodoc README ChangeLog doc/*
42 ebegin "Moving any existing config files ..."
43 PORTCFG=$(python -c 'import portage; print portage.USER_CONFIG_PATH,')
44 if [ -f ${PORTCFG}/package.warnme ]
46 mv "${PORTCFG}/package.warnme" /usr/$(get_libdir)/postsync.d/etc
51 einfo "Use postsync -l to see what programs are available then"
52 einfo "postsync -e -a <prog> [prog ...] to activate the ones you want."