summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-misc/cowsay/cowsay-3.03-r2.ebuild')
-rw-r--r--games-misc/cowsay/cowsay-3.03-r2.ebuild41
1 files changed, 0 insertions, 41 deletions
diff --git a/games-misc/cowsay/cowsay-3.03-r2.ebuild b/games-misc/cowsay/cowsay-3.03-r2.ebuild
deleted file mode 100644
index 4e46fe7c0f93..000000000000
--- a/games-misc/cowsay/cowsay-3.03-r2.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils
-
-DESCRIPTION="configurable talking ASCII cow (and other characters)"
-HOMEPAGE="http://www.nog.net/~tony/warez/cowsay.shtml"
-SRC_URI="http://www.nog.net/~tony/warez/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc64 ~x86 ~x64-solaris"
-IUSE=""
-
-RDEPEND=">=dev-lang/perl-5"
-
-src_prepare() {
- sed -i \
- -e "1 c\#!${EPREFIX}/usr/bin/perl"\
- -e 's/\$version/\$VERSION/g'\
- -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|${EPREFIX}/usr/share/${P}/cows|" cowsay.1 \
- || die "sed cowsay.1 failed"
- epatch \
- "${FILESDIR}/${P}"-tongue.patch \
- "${FILESDIR}/${P}"-mech.patch \
- "${FILESDIR}/${P}"-utf8.patch
-}
-
-src_install() {
- dobin cowsay
- doman cowsay.1
- dosym cowsay /usr/bin/cowthink
- dosym cowsay.1 /usr/share/man/man1/cowthink.1
- dodir /usr/share/${P}/cows
- cp -r cows "${ED}"/usr/share/${P}/ || die "cp failed"
-}