summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2014-02-01 11:55:59 +0000
committerFabian Groffen <grobian@gentoo.org>2014-02-01 11:55:59 +0000
commit365d0e72e60262f010bd755dd96bd52566fa596e (patch)
tree0d0e1f961ff445ada27d9f0d938c46580fce1851
parentAdd dev-libs/geoip dependency (bug #499924 by Michael Rowell). (diff)
downloadgentoo-2-365d0e72e60262f010bd755dd96bd52566fa596e.tar.gz
gentoo-2-365d0e72e60262f010bd755dd96bd52566fa596e.tar.bz2
gentoo-2-365d0e72e60262f010bd755dd96bd52566fa596e.zip
Fixed for Prefix, bug #499456
(Portage version: 2.2.8-prefix/cvs/SunOS i386, signed Manifest commit with key 0x5F75F607C5C74E89)
-rw-r--r--games-misc/cowsay/ChangeLog7
-rw-r--r--games-misc/cowsay/cowsay-3.03-r2.ebuild16
2 files changed, 13 insertions, 10 deletions
diff --git a/games-misc/cowsay/ChangeLog b/games-misc/cowsay/ChangeLog
index b56e7deab737..ba99f394bb37 100644
--- a/games-misc/cowsay/ChangeLog
+++ b/games-misc/cowsay/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-misc/cowsay
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/cowsay/ChangeLog,v 1.36 2011/04/21 20:13:20 mr_bones_ Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-misc/cowsay/ChangeLog,v 1.37 2014/02/01 11:55:59 grobian Exp $
+
+ 01 Feb 2014; Fabian Groffen <grobian@gentoo.org> cowsay-3.03-r2.ebuild:
+ Fixed for Prefix, bug #499456
21 Apr 2011; Michael Sterrett <mr_bones_@gentoo.org>
cowsay-3.03-r2.ebuild, +files/cowsay-3.03-utf8.patch:
diff --git a/games-misc/cowsay/cowsay-3.03-r2.ebuild b/games-misc/cowsay/cowsay-3.03-r2.ebuild
index ba890fe93b89..8ec65cdefb0d 100644
--- a/games-misc/cowsay/cowsay-3.03-r2.ebuild
+++ b/games-misc/cowsay/cowsay-3.03-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/cowsay/cowsay-3.03-r2.ebuild,v 1.10 2011/04/21 20:13:20 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/cowsay/cowsay-3.03-r2.ebuild,v 1.11 2014/02/01 11:55:59 grobian Exp $
-EAPI=2
+EAPI=3
inherit eutils
DESCRIPTION="configurable talking ASCII cow (and other characters)"
@@ -11,20 +11,20 @@ SRC_URI="http://www.nog.net/~tony/warez/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="alpha amd64 hppa ~ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 hppa ~ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~x64-solaris"
IUSE=""
RDEPEND=">=dev-lang/perl-5"
src_prepare() {
sed -i \
- -e '1 c\#!/usr/bin/perl'\
+ -e "1 c\#!${EPREFIX}/usr/bin/perl"\
-e 's/\$version/\$VERSION/g'\
- -e "s:%PREFIX%/share/cows:/usr/share/${P}/cows:" \
+ -e "s:%PREFIX%/share/cows:${EPREFIX}/usr/share/${P}/cows:" \
-e '/getopts/ i\$Getopt::Std::STANDARD_HELP_VERSION=1;' cowsay \
|| die "sed cowsay failed"
sed -i \
- -e "s|%PREFIX%/share/cows|/usr/share/${P}/cows|" cowsay.1 \
+ -e "s|%PREFIX%/share/cows|${EPREFIX}/usr/share/${P}/cows|" cowsay.1 \
|| die "sed cowsay.1 failed"
epatch \
"${FILESDIR}/${P}"-tongue.patch \
@@ -38,5 +38,5 @@ src_install() {
dosym cowsay /usr/bin/cowthink
dosym cowsay.1 /usr/share/man/man1/cowthink.1
dodir /usr/share/${P}/cows
- cp -r cows "${D}"/usr/share/${P}/ || die "cp failed"
+ cp -r cows "${ED}"/usr/share/${P}/ || die "cp failed"
}