summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-10-31 00:43:18 +0000
committerMike Frysinger <vapier@gentoo.org>2006-10-31 00:43:18 +0000
commit6a6131ad75f552d8a4b5a9cc24873b3b0209166f (patch)
tree7813f9db3ff4111ef96fdf3b4df815bcbbf9d677 /games-arcade/frozen-bubble
parentFixing bug #149656 (diff)
downloadhistorical-6a6131ad75f552d8a4b5a9cc24873b3b0209166f.tar.gz
historical-6a6131ad75f552d8a4b5a9cc24873b3b0209166f.tar.bz2
historical-6a6131ad75f552d8a4b5a9cc24873b3b0209166f.zip
use DESTDIR to simplify things
Package-Manager: portage-2.1.2_rc1-r1
Diffstat (limited to 'games-arcade/frozen-bubble')
-rw-r--r--games-arcade/frozen-bubble/Manifest14
-rw-r--r--games-arcade/frozen-bubble/frozen-bubble-2.0.0.ebuild31
2 files changed, 18 insertions, 27 deletions
diff --git a/games-arcade/frozen-bubble/Manifest b/games-arcade/frozen-bubble/Manifest
index 8d779df8f713..36c9d856735a 100644
--- a/games-arcade/frozen-bubble/Manifest
+++ b/games-arcade/frozen-bubble/Manifest
@@ -34,10 +34,10 @@ EBUILD frozen-bubble-1.0.0-r6.ebuild 3241 RMD160 d9fa5e70c21fbea8bec3acaa6d1c8cc
MD5 d8f12176649f0500350f94ebc78c0f5f frozen-bubble-1.0.0-r6.ebuild 3241
RMD160 d9fa5e70c21fbea8bec3acaa6d1c8cc3e2c7ccb3 frozen-bubble-1.0.0-r6.ebuild 3241
SHA256 6abb271d9db7671cebb55ccb6148916b3e15d3dea763d661d4b026bd04ed214c frozen-bubble-1.0.0-r6.ebuild 3241
-EBUILD frozen-bubble-2.0.0.ebuild 2126 RMD160 d318071f76dfa29c9c67f2f3f7afb1925e30ab25 SHA1 0887ea9aa5ab965ed92e3eb54b5efcf656a1de91 SHA256 077437352202ec5d5807e2f9cdbfc645d0e952ea46b128b9eb41f568cc05b768
-MD5 147c157c59a335e4e6a54c5fd3bff3a1 frozen-bubble-2.0.0.ebuild 2126
-RMD160 d318071f76dfa29c9c67f2f3f7afb1925e30ab25 frozen-bubble-2.0.0.ebuild 2126
-SHA256 077437352202ec5d5807e2f9cdbfc645d0e952ea46b128b9eb41f568cc05b768 frozen-bubble-2.0.0.ebuild 2126
+EBUILD frozen-bubble-2.0.0.ebuild 2114 RMD160 ecf779db9655473a83a3f2be169cfbc843f9362e SHA1 0d5f4242759a3f8679e33355308d2493ef909fbb SHA256 5837cfead4e6e486ca6637e751b6d25b80f919157d36d4fba14073757c0e1e12
+MD5 158d51858903a0763809a27f7afcda67 frozen-bubble-2.0.0.ebuild 2114
+RMD160 ecf779db9655473a83a3f2be169cfbc843f9362e frozen-bubble-2.0.0.ebuild 2114
+SHA256 5837cfead4e6e486ca6637e751b6d25b80f919157d36d4fba14073757c0e1e12 frozen-bubble-2.0.0.ebuild 2114
MISC ChangeLog 6834 RMD160 899f7304763984952989a04e4494417cfdc635f9 SHA1 7f1581786e185446ca9039de2b04a9c467208485 SHA256 540736ffd03d388a93ca590210c5e5d94fafdd595ebfc1ffdccc9fae72795e39
MD5 0d3589c6764f82e66f25d4c308baae46 ChangeLog 6834
RMD160 899f7304763984952989a04e4494417cfdc635f9 ChangeLog 6834
@@ -58,7 +58,7 @@ SHA256 e2ed4a0c5f29844a509da3d32b72bcfe591e47a3f6b5bab3a0b4e920a970f3d9 files/di
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFFRUs7amhnQswr0vIRAoa2AKCkW0OUlvm62DchqJizAIq8ClUBNACgmu5v
-oqUpuoRvelK81IfHRd5XE2c=
-=ZrB/
+iD8DBQFFRpw1amhnQswr0vIRAiccAJ9qIWMYfSuMJSiZhXB/y6HHD6LyDQCgqTpw
+uWN8w2snxMtWLq2I2ggAN9U=
+=NLOZ
-----END PGP SIGNATURE-----
diff --git a/games-arcade/frozen-bubble/frozen-bubble-2.0.0.ebuild b/games-arcade/frozen-bubble/frozen-bubble-2.0.0.ebuild
index 0356bfd6f626..ad4263d8f1cd 100644
--- a/games-arcade/frozen-bubble/frozen-bubble-2.0.0.ebuild
+++ b/games-arcade/frozen-bubble/frozen-bubble-2.0.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/frozen-bubble/frozen-bubble-2.0.0.ebuild,v 1.3 2006/10/30 00:45:37 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/frozen-bubble/frozen-bubble-2.0.0.ebuild,v 1.4 2006/10/31 00:43:18 vapier Exp $
inherit eutils multilib perl-module games
@@ -43,30 +43,21 @@ src_unpack() {
epatch "${FILESDIR}"/${P}-build.patch
sed -i \
- -e 's:INSTALLDIRS=.*:PREFIX=${D}/usr:' \
+ -e 's:INSTALLDIRS=.*:PREFIX=$(DESTDIR)/usr:' \
c_stuff/Makefile \
|| die 'sed failed'
-}
-
-src_compile() {
- emake \
- PREFIX=/usr \
- BINDIR="${GAMES_BINDIR}" \
- DATADIR="${GAMES_DATADIR}" \
- LIBDIR="${GAMES_LIBDIR}" \
- MANDIR=/usr/share/man \
- || die "emake game failed"
+ sed -i \
+ -e '/^PREFIX /s:=.*:=/usr:' \
+ -e "/^BINDR /s:=.*:=${GAMES_BINDIR}:" \
+ -e "/^DATADIR /s:=.*:=${GAMES_DATADIR}:" \
+ -e "/^LIBDIR /s:=.*:=${GAMES_LIBDIR}:" \
+ -e '/^LOCALEDIR /s:=.*:=/usr/share/locale:' \
+ -e "/^MANDIR /s:=.*:=/usr/share/man:" \
+ Makefile po/Makefile server/Makefile || die "sed failed"
}
src_install() {
- emake \
- PREFIX="${D}/usr" \
- BINDIR="${D}/${GAMES_BINDIR}" \
- DATADIR="${D}/${GAMES_DATADIR}" \
- LIBDIR="${D}/${GAMES_LIBDIR}" \
- MANDIR="${D}/usr/share/man" \
- install \
- || die "make install failed"
+ emake DESTDIR="${D}" install || die "make install failed"
dosed /usr/games/bin/frozen-bubble
dodoc AUTHORS NEWS README TIPS
newicon icons/frozen-bubble-icon-48x48.png ${PN}.png