From 943033a984467e16e659a607ed9a5a70df49d0c7 Mon Sep 17 00:00:00 2001 From: Torsten Veller Date: Sat, 28 Apr 2007 16:45:38 +0000 Subject: Fix *initd, *confd and *envd calls (#17388, #174266) (Portage version: 2.1.2.5) --- app-admin/verynice/ChangeLog | 5 ++++- app-admin/verynice/verynice-1.1.ebuild | 19 +++++++++---------- 2 files changed, 13 insertions(+), 11 deletions(-) (limited to 'app-admin/verynice') diff --git a/app-admin/verynice/ChangeLog b/app-admin/verynice/ChangeLog index aaf9bcc5a665..4dbdece41c39 100644 --- a/app-admin/verynice/ChangeLog +++ b/app-admin/verynice/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-admin/verynice # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/verynice/ChangeLog,v 1.10 2007/02/21 19:49:27 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/verynice/ChangeLog,v 1.11 2007/04/28 16:45:38 tove Exp $ + + 28 Apr 2007; Torsten Veller verynice-1.1.ebuild: + Fix *initd, *confd and *envd calls (#17388, #174266) 21 Feb 2007; Piotr JaroszyƄski ChangeLog: Transition to Manifest2. diff --git a/app-admin/verynice/verynice-1.1.ebuild b/app-admin/verynice/verynice-1.1.ebuild index eaeba6eddcfa..8308969908b6 100644 --- a/app-admin/verynice/verynice-1.1.ebuild +++ b/app-admin/verynice/verynice-1.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/verynice/verynice-1.1.ebuild,v 1.10 2005/05/01 17:15:23 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/verynice/verynice-1.1.ebuild,v 1.11 2007/04/28 16:45:38 tove Exp $ DESCRIPTION="A tool for dynamically adjusting the nice-level of processes" HOMEPAGE="http://www.tam.cornell.edu/~sdh4/verynice/" @@ -14,24 +14,23 @@ IUSE="" S=${WORKDIR}/${PN} src_compile() { - emake RPM_BUILD_ROOT=${D} PREFIX=/usr || die "emake failed" + emake RPM_BUILD_ROOT="${D}" PREFIX=/usr || die "emake failed" } src_install(){ # the install looks for this directory. dodir /etc/init.d - einstall RPM_BUILD_ROOT=${D} PREFIX=/usr || die + einstall RPM_BUILD_ROOT="${D}" PREFIX=/usr || die # odd, the config file is installed +x fperms a-x /etc/verynice.conf # make the doc install Gentooish - mv ${D}/usr/share/doc/${P}/* ${T} || die "mv failed" - dodoc ${T}/{CHANGELOG,README*} - dohtml ${T}/* + mv "${D}"/usr/share/doc/${P}/* "${T}" || die "mv failed" + dodoc "${T}"/{CHANGELOG,README*} + dohtml "${T}"/* # html references the COPYING file. - cp ${T}/COPYING ${D}/usr/share/doc/${P}/html + cp "${T}"/COPYING "${D}"/usr/share/doc/${P}/html - exeinto /etc/init.d - doexe ${FILESDIR}/verynice || die "doexe failed" + doinitd "${FILESDIR}"/verynice || die "doinitd failed" } -- cgit v1.2.3-65-gdbad