summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-04-05 06:31:23 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-04-05 06:31:23 +0000
commit80abfba89ab4cb8820094c6bed64ead7a3be8bc2 (patch)
tree8353786fb61bc16f0984555ed729a3cb031481fe /games-arcade/pachi
parentsparc support (diff)
downloadgentoo-2-80abfba89ab4cb8820094c6bed64ead7a3be8bc2.tar.gz
gentoo-2-80abfba89ab4cb8820094c6bed64ead7a3be8bc2.tar.bz2
gentoo-2-80abfba89ab4cb8820094c6bed64ead7a3be8bc2.zip
version bump (bug #46361); patch from Matze Braun
Diffstat (limited to 'games-arcade/pachi')
-rw-r--r--games-arcade/pachi/ChangeLog9
-rw-r--r--games-arcade/pachi/Manifest11
-rw-r--r--games-arcade/pachi/files/1.0-autotools.patch44
-rw-r--r--games-arcade/pachi/files/digest-pachi-1.01
-rw-r--r--games-arcade/pachi/pachi-1.0.ebuild41
5 files changed, 100 insertions, 6 deletions
diff --git a/games-arcade/pachi/ChangeLog b/games-arcade/pachi/ChangeLog
index 92b4c1a1851c..adbde8f70f73 100644
--- a/games-arcade/pachi/ChangeLog
+++ b/games-arcade/pachi/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-arcade/pachi
-# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/pachi/ChangeLog,v 1.2 2003/10/07 06:19:24 mr_bones_ Exp $
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/pachi/ChangeLog,v 1.3 2004/04/05 06:31:23 mr_bones_ Exp $
+
+*pachi-1.0 (04 Apr 2004)
+
+ 04 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> pachi-1.0.ebuild:
+ version bump (bug #46361); patch from Matze Braun
*pachi-20031005 (06 Oct 2003)
diff --git a/games-arcade/pachi/Manifest b/games-arcade/pachi/Manifest
index 8b285abf2453..9a299c2b1254 100644
--- a/games-arcade/pachi/Manifest
+++ b/games-arcade/pachi/Manifest
@@ -1,6 +1,9 @@
-MD5 6428944049b72b43aa17e19b844380a3 files/digest-pachi-20030927 68
-MD5 04f218372206861943e9493bfde64f73 files/digest-pachi-20031005 68
-MD5 c4b1ecc6aeb83a38fac1b39d98cd0056 ChangeLog 484
-MD5 3f11aaf297b2fe67404a96cda13e9bfe metadata.xml 251
MD5 065f0e31c47f5644aece37292978372a pachi-20030927.ebuild 1417
+MD5 3f11aaf297b2fe67404a96cda13e9bfe metadata.xml 251
+MD5 c4b1ecc6aeb83a38fac1b39d98cd0056 ChangeLog 484
MD5 c9350a369077ea05d32e289b962b7d37 pachi-20031005.ebuild 1404
+MD5 c0da17fcfa520d6f89f7632d03ae0d07 pachi-1.0.ebuild 1026
+MD5 6428944049b72b43aa17e19b844380a3 files/digest-pachi-20030927 68
+MD5 04f218372206861943e9493bfde64f73 files/digest-pachi-20031005 68
+MD5 32ca00e41c806bafca561a5c180f2af9 files/1.0-autotools.patch 2057
+MD5 dcf170bfb47657827c5dd31850391719 files/digest-pachi-1.0 63
diff --git a/games-arcade/pachi/files/1.0-autotools.patch b/games-arcade/pachi/files/1.0-autotools.patch
new file mode 100644
index 000000000000..0dd52e7e336c
--- /dev/null
+++ b/games-arcade/pachi/files/1.0-autotools.patch
@@ -0,0 +1,44 @@
+diff -ru PachiOrig/configure.in Pachi/configure.in
+--- PachiOrig/configure.in 2002-12-01 19:24:03.000000000 +0100
++++ Pachi/configure.in 2004-03-31 17:29:55.230515320 +0200
+@@ -1,5 +1,8 @@
+ # Process this file with autoconf to produce a configure script.
++AC_PREREQ([2.54])
++
+ AC_INIT(src/faes.cpp, 0.1, T-1000@Bigfoot.com)
++AC_CANONICAL_SYSTEM
+ AM_INIT_AUTOMAKE(pachi, 0.1)
+ AM_CONFIG_HEADER(config.h)
+
+@@ -44,7 +47,7 @@
+ SCOREDIR="."
+ else
+ DATADIR="$datadir/$PACKAGE"
+- SCOREDIR="/var/lib/games/$PACKAGE"
++ SCOREDIR="$localstatedir/$PACKAGE"
+ fi
+
+ eval DATAPATH=`eval echo "$DATADIR"`
+diff -ru PachiOrig/data/Makefile.am Pachi/data/Makefile.am
+--- PachiOrig/data/Makefile.am 2002-12-08 14:30:17.000000000 +0100
++++ Pachi/data/Makefile.am 2004-03-31 16:53:10.424696752 +0200
+@@ -10,13 +10,13 @@
+ objects_v2.dat \
+ rooms_v2.dat
+
+-score_DATA = \
++score_DATA_ = \
+ scores.dat
+
+-EXTRA_DIST = $(dat_DATA) $(score_DATA)
++EXTRA_DIST = $(dat_DATA) $(score_DATA_)
+
+ install-data-local:
+- for file in $(score_DATA); do\
+- chgrp $(group) $(scoredir)/$$file; \
+- chmod $(perms) $(scoredir)/$$file; \
+- done
++ $(mkinstalldirs) $(DESTDIR)$(scoredir)
++ for file in $(score_DATA_); do \
++ $(INSTALL) -g $(group) -m $(perms) $$file $(DESTDIR)$(scoredir); \
++ done
diff --git a/games-arcade/pachi/files/digest-pachi-1.0 b/games-arcade/pachi/files/digest-pachi-1.0
new file mode 100644
index 000000000000..896c971dd721
--- /dev/null
+++ b/games-arcade/pachi/files/digest-pachi-1.0
@@ -0,0 +1 @@
+MD5 f2d39aa78229aac64ded94b800a2f027 pachi-1.0.tar.bz2 3101484
diff --git a/games-arcade/pachi/pachi-1.0.ebuild b/games-arcade/pachi/pachi-1.0.ebuild
new file mode 100644
index 000000000000..037a3b629810
--- /dev/null
+++ b/games-arcade/pachi/pachi-1.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/pachi/pachi-1.0.ebuild,v 1.1 2004/04/05 06:31:23 mr_bones_ Exp $
+
+inherit games
+
+DESCRIPTION="platform game inspired by games like Manic Miner and Jet Set Willy"
+HOMEPAGE="http://dragontech.sourceforge.net/index.php?main=pachi&lang=en"
+# Upstream doesn't version their releases.
+# (should be downloaded and re-compressed with tar -jcvf)
+#SRC_URI="mirror://sourceforge/dragontech/pachi_source.tgz"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ppc"
+IUSE=""
+
+RDEPEND=">=media-libs/libsdl-1.2
+ media-libs/sdl-mixer
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ sys-devel/automake"
+
+S="${WORKDIR}/Pachi"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch "${FILESDIR}/${PV}-autotools.patch"
+ aclocal
+ automake -a
+ autoconf
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ rm -rf "${D}/usr/share/games/doc"
+ dodoc AUTHORS ChangeLog README
+ prepgamesdirs
+}