Index: etckeeper-0.63.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-apps/etckeeper/etckeeper-0.63.ebuild,v retrieving revision 1.9 diff -u -B -u -r1.9 etckeeper-0.63.ebuild --- etckeeper-0.63.ebuild 24 Jul 2012 21:18:08 -0000 1.9 +++ etckeeper-0.63.ebuild 11 Aug 2012 15:13:37 -0000 @@ -8,7 +8,7 @@ SUPPORT_PYTHON_ABIS="1" RESTRICT_PYTHON_ABIS="2.[45] 3.* 2.7-pypy-*" -inherit eutils bash-completion-r1 python +inherit eutils bash-completion-r1 python prefix DESCRIPTION="A collection of tools to let /etc be stored in a repository" HOMEPAGE="http://kitenet.net/~joey/code/etckeeper/" @@ -38,14 +38,19 @@ } src_install(){ - default + emake DESTDIR="${ED}" install bzr_install() { - $(PYTHON) ./etckeeper-bzr/__init__.py install --root="${D}" || + $(PYTHON) ./etckeeper-bzr/__init__.py install --root="${ED}" || die "bzr support installation failed!" } use bazaar && python_execute_function bzr_install + if use prefix; then + doenvd "${FILESDIR}"/99etckeeper + eprefixify "${ED}"/etc/env.d/99etckeeper + fi + newbashcomp bash_completion ${PN} docinto examples dodoc "${FILESDIR}"/bashrc Index: files/99etckeeper =================================================================== RCS file: files/99etckeeper diff -N files/99etckeeper --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/99etckeeper 11 Aug 2012 15:13:37 -0000 @@ -0,0 +1 @@ +ETCKEEPER_CONF_DIR="@GENTOO_PORTAGE_EPREFIX@/etc/etckeeper"