summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2003-09-22 06:08:28 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2003-09-22 06:08:28 +0000
commit870e069c51756ed8247b07f871edab87f94d5a9b (patch)
tree5ae1331a529625ec4fdd11277db5a3b3de889c2d /games-puzzle
parentversion bump; add metadata.xml (diff)
downloadhistorical-870e069c51756ed8247b07f871edab87f94d5a9b.tar.gz
historical-870e069c51756ed8247b07f871edab87f94d5a9b.tar.bz2
historical-870e069c51756ed8247b07f871edab87f94d5a9b.zip
version bump; add metadata.xml
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/pathological/Manifest5
-rw-r--r--games-puzzle/pathological/files/digest-pathological-1.1.31
-rw-r--r--games-puzzle/pathological/metadata.xml8
-rw-r--r--games-puzzle/pathological/pathological-1.1.3.ebuild69
4 files changed, 81 insertions, 2 deletions
diff --git a/games-puzzle/pathological/Manifest b/games-puzzle/pathological/Manifest
index c84e7e65fe89..0b7be94abd4a 100644
--- a/games-puzzle/pathological/Manifest
+++ b/games-puzzle/pathological/Manifest
@@ -1,5 +1,6 @@
-MD5 7ad858d17828c2d230ad4033a02d23f9 ChangeLog 722
+MD5 1b3b01e9a55f05e2808e4d71fd2b3fd6 ChangeLog 890
MD5 63cc854d66ed5876212d02ac1134183e pathological-1.1.2.ebuild 1653
-MD5 eb768556f16c3387b8117a8709cee451 pathological-1.1.3.ebuild 1634
+MD5 900757aaecf9ff9b99668a2c821bacb3 pathological-1.1.3.ebuild 1715
+MD5 08031c6325250ddda0a99870f53c032d metadata.xml 220
MD5 23b647c8cc1fa2737510a5972b26aa89 files/digest-pathological-1.1.2 71
MD5 af2e4c0e952d40232cb322d621f37995 files/digest-pathological-1.1.3 71
diff --git a/games-puzzle/pathological/files/digest-pathological-1.1.3 b/games-puzzle/pathological/files/digest-pathological-1.1.3
new file mode 100644
index 000000000000..6e8753cc1e88
--- /dev/null
+++ b/games-puzzle/pathological/files/digest-pathological-1.1.3
@@ -0,0 +1 @@
+MD5 76a446080c0fed12baf39354d8e0ce4a pathological-1.1.3.tar.gz 6995274
diff --git a/games-puzzle/pathological/metadata.xml b/games-puzzle/pathological/metadata.xml
new file mode 100644
index 000000000000..618690fecf10
--- /dev/null
+++ b/games-puzzle/pathological/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<maintainer>
+<email>msterret@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/games-puzzle/pathological/pathological-1.1.3.ebuild b/games-puzzle/pathological/pathological-1.1.3.ebuild
new file mode 100644
index 000000000000..63c0b087d340
--- /dev/null
+++ b/games-puzzle/pathological/pathological-1.1.3.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pathological/pathological-1.1.3.ebuild,v 1.1 2003/09/22 06:08:26 msterret Exp $
+
+inherit games
+
+DESCRIPTION="An enriched clone of the game 'Logical' by Rainbow Arts"
+HOMEPAGE="http://pathological.sourceforge.net/"
+SRC_URI="mirror://sourceforge/pathological/${P}.tar.gz"
+KEYWORDS="x86"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="doc"
+
+DEPEND="doc? ( media-libs/netpbm )
+ >=sys-apps/sed-4"
+RDEPEND=">=dev-python/pygame-1.5.5
+ dev-lang/python"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ use doc && {
+ sed -i \
+ -e '5,$ s/=/ /g' makehtml || \
+ die "sed makehtml failed"
+ } || {
+ echo "#!/bin/sh" > makehtml || \
+ die "clearing makehtml failed"
+ }
+
+ sed -i \
+ -e "/^cd / s/usr/share/pathological${GAMES_DATADIR}/${PN}" \
+ pathological || die "sed pathological failed"
+
+ sed -i \
+ -e "/^write_highscores / s/usr/lib/pathological/bin${GAMES_LIBDIR}/${PN}" \
+ pathological.py || die "sed pathological.py failed"
+}
+
+src_install() {
+ # executables
+ dogamesbin pathological
+ insinto ${GAMES_DATADIR}/${PN}
+ insopts -m0750
+ doins pathological.py
+ exeinto ${GAMES_LIBDIR}/${PN}
+ doexe write-highscores
+
+ # removed some unneeded resource files
+ rm -f graphics/*.xcf
+ rm -f sounds/*.orig
+ # "install" resource files
+ # Use cp, not mv so install can be done multiple times (for ebuild devel).
+ cp -R circuits graphics music sounds ${D}/${GAMES_DATADIR}/${PN}
+
+ # setup high score file
+ insinto ${GAMES_STATEDIR}
+ insopts -m0664
+ doins pathological_scores
+
+ # documentation
+ dodoc README TODO
+ doman pathological.6.gz
+ use doc && dohtml -r html/
+
+ prepgamesdirs
+}