summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-11-30 21:45:03 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-11-30 21:45:03 +0000
commit66beba812c49cd618b8bdfad2f9595ab6f4e394d (patch)
tree6839b425e1cf0baee286237ccb89ba4e558ec40a /games-puzzle/xbomb
parentold (diff)
downloadhistorical-66beba812c49cd618b8bdfad2f9595ab6f4e394d.tar.gz
historical-66beba812c49cd618b8bdfad2f9595ab6f4e394d.tar.bz2
historical-66beba812c49cd618b8bdfad2f9595ab6f4e394d.zip
version bump
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'games-puzzle/xbomb')
-rw-r--r--games-puzzle/xbomb/ChangeLog10
-rw-r--r--games-puzzle/xbomb/Manifest5
-rw-r--r--games-puzzle/xbomb/files/xbomb-2.2a-DESTDIR.patch35
-rw-r--r--games-puzzle/xbomb/xbomb-2.2a.ebuild40
4 files changed, 87 insertions, 3 deletions
diff --git a/games-puzzle/xbomb/ChangeLog b/games-puzzle/xbomb/ChangeLog
index 5865ee4e0391..eb5205444a21 100644
--- a/games-puzzle/xbomb/ChangeLog
+++ b/games-puzzle/xbomb/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-puzzle/xbomb
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xbomb/ChangeLog,v 1.16 2008/05/11 16:33:00 corsair Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xbomb/ChangeLog,v 1.17 2009/11/30 21:45:03 mr_bones_ Exp $
+
+*xbomb-2.2a (30 Nov 2009)
+
+ 30 Nov 2009; Michael Sterrett <mr_bones_@gentoo.org> +xbomb-2.2a.ebuild,
+ +files/xbomb-2.2a-DESTDIR.patch:
+ version bump
11 May 2008; Markus Rothe <corsair@gentoo.org> xbomb-2.2.ebuild:
Stable on ppc64; bug #220046
diff --git a/games-puzzle/xbomb/Manifest b/games-puzzle/xbomb/Manifest
index 6ed555fe9f43..64a38338a478 100644
--- a/games-puzzle/xbomb/Manifest
+++ b/games-puzzle/xbomb/Manifest
@@ -1,5 +1,8 @@
AUX xbomb-2.2-DESTDIR.patch 957 RMD160 084089306a3aba3e32202e9e83b19272a124674b SHA1 e70f403064452caced0fe4bb1cce8abb2cc070de SHA256 a321e797aee0ce72a7240d55db0baf42d3ec73f3281dc142d6f6d7a4aa606c9e
+AUX xbomb-2.2a-DESTDIR.patch 957 RMD160 084089306a3aba3e32202e9e83b19272a124674b SHA1 e70f403064452caced0fe4bb1cce8abb2cc070de SHA256 a321e797aee0ce72a7240d55db0baf42d3ec73f3281dc142d6f6d7a4aa606c9e
DIST xbomb-2.2.tgz 24872 RMD160 51a212d8cbe62d765e75751ae7b3d341ce6a3ada SHA1 065d9283c92ff0dca844b637f237a381b1ad72c0 SHA256 e65282c80a88a831f2e264263ba76fff6826aaedc67317d4df037d7983b1683d
+DIST xbomb-2.2a.tgz 25080 RMD160 aff1d104f6cd3e6f752ac0cd7992291fa608a877 SHA1 01b76a4052f0eb21e7baefb5c10549f3ebb6030f SHA256 be9372a0447b9b606af2f705bcf24760e7cf5a51e7e917da43d4804c6ca8f068
EBUILD xbomb-2.2.ebuild 1180 RMD160 d22cfe1fc067de5624ea6ffdf69cfde39d6d3bf9 SHA1 38b37b17dd47d815d3105f96990bd6a7b6f3c19b SHA256 b30b50a10d28395e41ed6542b36f9c669052eb399df13958a778071019266a10
-MISC ChangeLog 1901 RMD160 2afa7b89f8f0921874da41dd53bf0db34c5168dd SHA1 9ec70bbf1abe53baa3ffad328be44bd199786b03 SHA256 f1335b6a1aed4c23127b68a9d76bb7b384da96552ccfd0ef0f8b264b57757ce4
+EBUILD xbomb-2.2a.ebuild 1158 RMD160 8c20a289488968655177b52d5ac0bf0d9277cab8 SHA1 7970068bcc0229a02fc35015532da54e8587513c SHA256 77054987806174d8698018390b1875f8d90421bd19c7bf3c92c57625a7cd3bd1
+MISC ChangeLog 2056 RMD160 3d531897b7d965e8b5314637136f3ed178ee2c84 SHA1 68a3e52443c7ae3d35ac9ad446e3c32a686014e1 SHA256 9f77238ad7cf55b05fa03ed43ea4d9c99af27b892eefc93fdb474aff6a173904
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-puzzle/xbomb/files/xbomb-2.2a-DESTDIR.patch b/games-puzzle/xbomb/files/xbomb-2.2a-DESTDIR.patch
new file mode 100644
index 000000000000..945ac700be86
--- /dev/null
+++ b/games-puzzle/xbomb/files/xbomb-2.2a-DESTDIR.patch
@@ -0,0 +1,35 @@
+diff -c xbomb-2.1/Makefile xbomb-2.1.new/Makefile
+*** xbomb-2.1/Makefile 1996-01-20 16:02:46.000000000 -0500
+--- xbomb-2.1.new/Makefile 2002-11-13 10:31:30.000000000 -0500
+***************
+*** 27,34 ****
+
+ OBJ=xbomb.o xwindow.o hiscore.o
+
+- INSTDIR=/usr/local
+-
+ ########
+
+ xbomb : $(OBJ)
+--- 27,32 ----
+***************
+*** 52,60 ****
+
+ install :
+ strip xbomb
+! install -d $(INSTDIR)/bin
+! install -d $(INSTDIR)/man/man6
+! install -d $(INSTDIR)/lib/app-defaults
+! install -m 755 xbomb $(INSTDIR)/bin
+! install -m 644 xbomb.6 $(INSTDIR)/man/man6
+! install -m 644 xbomb.ad $(INSTDIR)/lib/app-defaults/XBomb
+--- 50,58 ----
+
+ install :
+ strip xbomb
+! install -d $(DESTDIR)/usr/bin
+! install -d $(DESTDIR)/usr/share/man/man6
+! install -d $(DESTDIR)/etc/X11/app-defaults
+! install -m 755 xbomb $(DESTDIR)/usr/bin
+! install -m 644 xbomb.6 $(DESTDIR)/usr/share/man/man6
+! install -m 644 xbomb.ad $(DESTDIR)/etc/X11/app-defaults/XBomb
diff --git a/games-puzzle/xbomb/xbomb-2.2a.ebuild b/games-puzzle/xbomb/xbomb-2.2a.ebuild
new file mode 100644
index 000000000000..7e275d8c02ce
--- /dev/null
+++ b/games-puzzle/xbomb/xbomb-2.2a.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xbomb/xbomb-2.2a.ebuild,v 1.1 2009/11/30 21:45:03 mr_bones_ Exp $
+
+EAPI=2
+inherit eutils games
+
+DESCRIPTION="Minesweeper clone with hexagonal, rectangular and triangular grid"
+HOMEPAGE="http://www.gedanken.demon.co.uk/xbomb/"
+SRC_URI="http://www.gedanken.demon.co.uk/download-xbomb/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+DEPEND="x11-libs/libXaw"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-DESTDIR.patch
+ sed -i \
+ -e '/strip/d' \
+ -e "/^CFLAGS/ { s:=.*:=${CFLAGS}: }" \
+ -e "s:/usr/bin:${GAMES_BINDIR}:" \
+ Makefile \
+ || die "sed Makefile failed"
+ sed -i \
+ -e "s:/var/tmp:${GAMES_STATEDIR}/${PN}:g" \
+ hiscore.c \
+ || die "sed hiscore.c failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README LSM
+ dodir "${GAMES_STATEDIR}"/${PN}
+ touch "${D}/${GAMES_STATEDIR}"/${PN}/${PN}{3,4,6}.hi || die "touch failed"
+ fperms 660 "${GAMES_STATEDIR}"/${PN}/${PN}{3,4,6}.hi || die "fperms failed"
+ prepgamesdirs
+}