summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2003-09-28 05:54:04 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2003-09-28 05:54:04 +0000
commit82d6ed94be4b7dcceb62c4d37192f14dadb92ddc (patch)
tree942522a81aa8b2ca4eb50f1163debdbf24bb2282 /games-arcade
parentinitial commit (bug 28983) (diff)
downloadhistorical-82d6ed94be4b7dcceb62c4d37192f14dadb92ddc.tar.gz
historical-82d6ed94be4b7dcceb62c4d37192f14dadb92ddc.tar.bz2
historical-82d6ed94be4b7dcceb62c4d37192f14dadb92ddc.zip
initial commit (bug 28983)
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/pachi/Manifest4
-rw-r--r--games-arcade/pachi/files/digest-pachi-200309271
-rw-r--r--games-arcade/pachi/metadata.xml9
-rw-r--r--games-arcade/pachi/pachi-20030927.ebuild54
4 files changed, 67 insertions, 1 deletions
diff --git a/games-arcade/pachi/Manifest b/games-arcade/pachi/Manifest
index 887874ac9bf4..4f350d1f481b 100644
--- a/games-arcade/pachi/Manifest
+++ b/games-arcade/pachi/Manifest
@@ -1,2 +1,4 @@
-MD5 3276486b25776fd58841834e221a0c46 pachi-20030927.ebuild 1250
+MD5 befde9c892ed415e85e807259c8246e1 pachi-20030927.ebuild 1417
+MD5 3f11aaf297b2fe67404a96cda13e9bfe metadata.xml 251
+MD5 720572b94c54b134e2ea21537d0cac9f ChangeLog 359
MD5 6428944049b72b43aa17e19b844380a3 files/digest-pachi-20030927 68
diff --git a/games-arcade/pachi/files/digest-pachi-20030927 b/games-arcade/pachi/files/digest-pachi-20030927
new file mode 100644
index 000000000000..12a651a6a8eb
--- /dev/null
+++ b/games-arcade/pachi/files/digest-pachi-20030927
@@ -0,0 +1 @@
+MD5 7c0bb1bc1daa76bf7d65b5b3c4832ce5 pachi-20030927.tar.bz2 1594551
diff --git a/games-arcade/pachi/metadata.xml b/games-arcade/pachi/metadata.xml
new file mode 100644
index 000000000000..b4647c10eaf6
--- /dev/null
+++ b/games-arcade/pachi/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<maintainer>
+<email>mr_bones_@gentoo.org</email>
+<name>Michael Sterrett</name>
+</maintainer>
+</pkgmetadata>
diff --git a/games-arcade/pachi/pachi-20030927.ebuild b/games-arcade/pachi/pachi-20030927.ebuild
new file mode 100644
index 000000000000..96ea2e7a2df3
--- /dev/null
+++ b/games-arcade/pachi/pachi-20030927.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/pachi/pachi-20030927.ebuild,v 1.1 2003/09/28 05:54:02 mr_bones_ Exp $
+
+inherit games
+
+S="${WORKDIR}/Pachi"
+DESCRIPTION="Pachi el marciano is a platforms game inspired by games like Manic Miner and Jet Set Willy"
+# Upstream doesn't version their releases.
+# I downloaded and re-compressed with tar -jxvf
+#SRC_URI="mirror://sourceforge/dragontech/pachi_source.tgz"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+HOMEPAGE="http://dragontech.sourceforge.net/index.php?main=pachi&lang=en"
+
+LICENSE="GPL-2"
+KEYWORDS="x86"
+SLOT="0"
+
+RDEPEND=">=media-libs/libsdl-1.2
+ media-libs/sdl-mixer
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ sed -i \
+ -e "s:/var/lib/games/:${GAMES_STATEDIR}/:" configure.in || \
+ die "sed configure.in failed"
+}
+
+src_install() {
+ local dir="${GAMES_DATADIR}/${PN}"
+ local statedir="${GAMES_STATEDIR}/${PN}/data"
+
+ dogamesbin src/pachi
+ insinto ${dir}/data
+ doins data/{backs,monsters,objects_v2,rooms_v2}.dat
+ insinto ${dir}/fonts
+ doins fonts/*.T
+ insinto ${dir}/music
+ doins music/*.s?m
+ insinto ${dir}/sounds
+ doins sounds/*.wav
+ insinto ${dir}/Tgfx
+ doins Tgfx/*.T8
+ dodoc AUTHORS ChangeLog
+ insinto ${statedir}
+ doins data/scores.dat
+ prepgamesdirs
+ fperms 660 ${statedir}/scores.dat
+}