summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-10 06:36:01 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-10 06:36:01 +0000
commit1e60d28cc73a78604a94314d6bfbbc32e3d5fbbd (patch)
treeca8136a0afa54ff74d56a3c97d2a42e671627c44 /games-puzzle/xbomb
parentgames-puzzle (diff)
downloadhistorical-1e60d28cc73a78604a94314d6bfbbc32e3d5fbbd.tar.gz
historical-1e60d28cc73a78604a94314d6bfbbc32e3d5fbbd.tar.bz2
historical-1e60d28cc73a78604a94314d6bfbbc32e3d5fbbd.zip
games-puzzle !@
Diffstat (limited to 'games-puzzle/xbomb')
-rw-r--r--games-puzzle/xbomb/ChangeLog13
-rw-r--r--games-puzzle/xbomb/Manifest6
-rw-r--r--games-puzzle/xbomb/files/digest-xbomb-2.11
-rw-r--r--games-puzzle/xbomb/files/digest-xbomb-2.1-r11
-rw-r--r--games-puzzle/xbomb/files/xbomb-2.1.diff35
-rw-r--r--games-puzzle/xbomb/xbomb-2.1-r1.ebuild43
-rw-r--r--games-puzzle/xbomb/xbomb-2.1.ebuild33
7 files changed, 132 insertions, 0 deletions
diff --git a/games-puzzle/xbomb/ChangeLog b/games-puzzle/xbomb/ChangeLog
new file mode 100644
index 000000000000..52b4251f815b
--- /dev/null
+++ b/games-puzzle/xbomb/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for app-games/xbomb
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xbomb/ChangeLog,v 1.1 2003/09/10 06:36:00 vapier Exp $
+
+*xbomb-2.1-r1 (28 Jun 2003)
+
+ 28 Jun 2003; <msterret@gentoo.org> xbomb-2.1-r1.ebuild:
+ fixed hiscore support (into /var/games); use sed -i
+
+*xbomb-2.1 (17 Dec 2002)
+
+ 17 Dec 2002; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Clemens Oertel <gentoo-bugzilla@kriegste.net>.
diff --git a/games-puzzle/xbomb/Manifest b/games-puzzle/xbomb/Manifest
new file mode 100644
index 000000000000..669953ac64e2
--- /dev/null
+++ b/games-puzzle/xbomb/Manifest
@@ -0,0 +1,6 @@
+MD5 f8a3a08b4ee719e7bf1f62c42ecc783e ChangeLog 520
+MD5 ed3a849a8f357a836cbf09c3bb976a7d xbomb-2.1.ebuild 789
+MD5 73ed78fb4089dccc0cd312b75b601ef1 xbomb-2.1-r1.ebuild 1083
+MD5 15fe72ff47158963cb27d563903a0427 files/digest-xbomb-2.1 57
+MD5 7919f1ad93b19f5c12e3432dd2487d46 files/xbomb-2.1.diff 957
+MD5 15fe72ff47158963cb27d563903a0427 files/digest-xbomb-2.1-r1 57
diff --git a/games-puzzle/xbomb/files/digest-xbomb-2.1 b/games-puzzle/xbomb/files/digest-xbomb-2.1
new file mode 100644
index 000000000000..1d168b884505
--- /dev/null
+++ b/games-puzzle/xbomb/files/digest-xbomb-2.1
@@ -0,0 +1 @@
+MD5 4c3284096bcfb00eee0fb3b096378b56 xbomb-2.1.tgz 23773
diff --git a/games-puzzle/xbomb/files/digest-xbomb-2.1-r1 b/games-puzzle/xbomb/files/digest-xbomb-2.1-r1
new file mode 100644
index 000000000000..1d168b884505
--- /dev/null
+++ b/games-puzzle/xbomb/files/digest-xbomb-2.1-r1
@@ -0,0 +1 @@
+MD5 4c3284096bcfb00eee0fb3b096378b56 xbomb-2.1.tgz 23773
diff --git a/games-puzzle/xbomb/files/xbomb-2.1.diff b/games-puzzle/xbomb/files/xbomb-2.1.diff
new file mode 100644
index 000000000000..945ac700be86
--- /dev/null
+++ b/games-puzzle/xbomb/files/xbomb-2.1.diff
@@ -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.1-r1.ebuild b/games-puzzle/xbomb/xbomb-2.1-r1.ebuild
new file mode 100644
index 000000000000..c234f13ed565
--- /dev/null
+++ b/games-puzzle/xbomb/xbomb-2.1-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xbomb/xbomb-2.1-r1.ebuild,v 1.1 2003/09/10 06:36:00 vapier Exp $
+
+inherit games
+
+DESCRIPTION="Minesweeper clone with hexagonal, rectangular and triangular grid"
+SRC_URI="ftp://ftp.ibiblio.org/pub/Linux/games/strategy/${P}.tgz"
+HOMEPAGE="http://www.gedanken.demon.co.uk/xbomb/"
+
+LICENSE="GPL-2"
+KEYWORDS="x86"
+SLOT="0"
+
+DEPEND="virtual/x11
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ patch -p0 < ${FILESDIR}/${P}.diff || die
+ sed -i \
+ -e "/^CFLAGS/ { s:=.*:=${CFLAGS}: }" \
+ -e "s:/usr/bin:${GAMES_BINDIR}:" ${S}/Makefile || \
+ die "sed Makefile failed"
+ sed -i \
+ -e "s:/var/tmp:/var/games:g" ${S}/hiscore.c || \
+ die "sed hiscore.c failed"
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ einstall DESTDIR=${D} || die
+ dodoc README LSM || die
+ keepdir /var/games || die
+ touch ${D}/var/games/xbomb{3,4,6}.hi || die "touch failed"
+ fperms 664 /var/games/xbomb{3,4,6}.hi || die
+
+ prepall
+ prepgamesdirs
+}
diff --git a/games-puzzle/xbomb/xbomb-2.1.ebuild b/games-puzzle/xbomb/xbomb-2.1.ebuild
new file mode 100644
index 000000000000..9b0f44313774
--- /dev/null
+++ b/games-puzzle/xbomb/xbomb-2.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/xbomb/xbomb-2.1.ebuild,v 1.1 2003/09/10 06:36:00 vapier Exp $
+
+inherit games
+
+DESCRIPTION="Minesweeper clone with hexagonal, rectangular and triangular grid"
+SRC_URI="ftp://ftp.ibiblio.org/pub/Linux/games/strategy/${P}.tgz"
+HOMEPAGE="http://www.gedanken.demon.co.uk/xbomb/"
+
+LICENSE="GPL-2"
+KEYWORDS="x86"
+SLOT="0"
+
+DEPEND="virtual/x11"
+
+src_unpack() {
+ unpack ${A}
+ patch -p0 < ${FILESDIR}/${P}.diff || die
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}" || die
+}
+
+src_install() {
+ cp Makefile Makefile.old
+ sed -e "s:/usr/bin:${GAMES_BINDIR}:" Makefile.old > Makefile
+ make DESTDIR=${D} install || die
+
+ prepall
+ prepgamesdirs
+}