From b43e970f6fc054d5c0aaf892c5dc1cec89fb1225 Mon Sep 17 00:00:00 2001 From: Jeremy Olexa Date: Thu, 23 Aug 2012 15:30:33 +0000 Subject: Better support Gentoo Prefix by looking in the offset for config files, no revbump due to such minor change (Portage version: 2.1.11.9/cvs/Linux i686) --- app-text/wgetpaste/ChangeLog | 6 +++++- app-text/wgetpaste/wgetpaste-2.20-r1.ebuild | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'app-text/wgetpaste') diff --git a/app-text/wgetpaste/ChangeLog b/app-text/wgetpaste/ChangeLog index 14923985de1f..34faa50df0d9 100644 --- a/app-text/wgetpaste/ChangeLog +++ b/app-text/wgetpaste/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-text/wgetpaste # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/wgetpaste/ChangeLog,v 1.126 2012/07/25 04:54:48 ryao Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/wgetpaste/ChangeLog,v 1.127 2012/08/23 15:30:33 darkside Exp $ + + 23 Aug 2012; Jeremy Olexa wgetpaste-2.20-r1.ebuild: + Better support Gentoo Prefix by looking in the offset for config files, no + revbump due to such minor change 25 Jul 2012; Richard Yao wgetpaste-2.20-r1.ebuild: Keyword ~amd64-fbsd and ~x64-freebsd diff --git a/app-text/wgetpaste/wgetpaste-2.20-r1.ebuild b/app-text/wgetpaste/wgetpaste-2.20-r1.ebuild index b6ce81b108e0..89324ece9616 100644 --- a/app-text/wgetpaste/wgetpaste-2.20-r1.ebuild +++ b/app-text/wgetpaste/wgetpaste-2.20-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/wgetpaste/wgetpaste-2.20-r1.ebuild,v 1.3 2012/07/25 04:54:48 ryao Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/wgetpaste/wgetpaste-2.20-r1.ebuild,v 1.4 2012/08/23 15:30:33 darkside Exp $ EAPI="4" @@ -17,6 +17,10 @@ DEPEND="" RDEPEND="net-misc/wget zsh-completion? ( app-shells/zsh )" +src_prepare() { + sed -i -e "s:/etc:\"${EPREFIX}\"/etc:g" wgetpaste || die +} + src_install() { dobin ${PN} insinto /etc/wgetpaste.d -- cgit v1.2.3-65-gdbad