summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2008-04-05 23:35:35 +0000
committerTristan Heaven <nyhm@gentoo.org>2008-04-05 23:35:35 +0000
commit2b12dad9439dac6b914923f9aeac3274fbc25c66 (patch)
tree5bcaf91d910aaf64c4117c034b4564c739a61bf7 /games-puzzle/codebreaker/codebreaker-1.2.1-r1.ebuild
parentMarked ~ppc for bug #215366. (diff)
downloadgentoo-2-2b12dad9439dac6b914923f9aeac3274fbc25c66.tar.gz
gentoo-2-2b12dad9439dac6b914923f9aeac3274fbc25c66.tar.bz2
gentoo-2-2b12dad9439dac6b914923f9aeac3274fbc25c66.zip
Use eautoreconf to replace automake symlinks
(Portage version: 2.1.5_rc1)
Diffstat (limited to 'games-puzzle/codebreaker/codebreaker-1.2.1-r1.ebuild')
-rw-r--r--games-puzzle/codebreaker/codebreaker-1.2.1-r1.ebuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/games-puzzle/codebreaker/codebreaker-1.2.1-r1.ebuild b/games-puzzle/codebreaker/codebreaker-1.2.1-r1.ebuild
index a6c7dbe5bf97..08570f6d1501 100644
--- a/games-puzzle/codebreaker/codebreaker-1.2.1-r1.ebuild
+++ b/games-puzzle/codebreaker/codebreaker-1.2.1-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/codebreaker/codebreaker-1.2.1-r1.ebuild,v 1.9 2007/12/12 03:11:13 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/codebreaker/codebreaker-1.2.1-r1.ebuild,v 1.10 2008/04/05 23:35:35 nyhm Exp $
-inherit eutils games
+inherit autotools eutils games
DESCRIPTION="mastermind style game"
HOMEPAGE="http://packages.debian.org/codebreaker"
@@ -16,22 +16,23 @@ IUSE=""
DEPEND="x11-libs/libXi
=x11-libs/gtk+-1.2*"
-S="${WORKDIR}/${P}.orig"
+S=${WORKDIR}/${P}.orig
src_unpack() {
unpack ${A}
cd "${S}"
sed -i \
-e '/-DHOWTO=/s:\${prefix}/doc/\$(PACKAGE)-\$(VERSION):/usr/share/doc/${PF}:' \
- src/Makefile.in \
+ src/Makefile.am \
|| die "sed failed"
+ eautoreconf # replace automake symlinks
}
src_install() {
- dogamesbin src/codebreaker || die
+ dogamesbin src/${PN} || die "dogamesbin failed"
dodoc README AUTHORS
insinto /usr/share/doc/${PF}
doins doc/HOWTO # don't gzip this #38128
- make_desktop_entry codebreaker Codebreaker
+ make_desktop_entry ${PN} Codebreaker
prepgamesdirs
}