summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2007-05-20 21:14:38 +0000
committerTristan Heaven <tristan@gentoo.org>2007-05-20 21:14:38 +0000
commit140e356dd25eb8e0eafad003ac5686b9cc87c0f6 (patch)
treebe8a7cabbe23e135694380f92ff2eee0883144f8 /games-rpg
parentStable for HPPA (bug #175465). (diff)
downloadhistorical-140e356dd25eb8e0eafad003ac5686b9cc87c0f6.tar.gz
historical-140e356dd25eb8e0eafad003ac5686b9cc87c0f6.tar.bz2
historical-140e356dd25eb8e0eafad003ac5686b9cc87c0f6.zip
Version bump
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/dragonhunt/ChangeLog9
-rw-r--r--games-rpg/dragonhunt/Manifest24
-rw-r--r--games-rpg/dragonhunt/dragonhunt-3.56.ebuild83
-rw-r--r--games-rpg/dragonhunt/files/digest-dragonhunt-3.563
4 files changed, 109 insertions, 10 deletions
diff --git a/games-rpg/dragonhunt/ChangeLog b/games-rpg/dragonhunt/ChangeLog
index 3091b6fa3d0c..3ce3db70e16e 100644
--- a/games-rpg/dragonhunt/ChangeLog
+++ b/games-rpg/dragonhunt/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-rpg/dragonhunt
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/dragonhunt/ChangeLog,v 1.1 2006/11/06 21:33:42 tupone Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/dragonhunt/ChangeLog,v 1.2 2007/05/20 21:14:38 nyhm Exp $
+
+*dragonhunt-3.56 (20 May 2007)
+
+ 20 May 2007; Tristan Heaven <nyhm@gentoo.org> +dragonhunt-3.56.ebuild:
+ Version bump
*dragonhunt-3.55 (06 Nov 2006)
diff --git a/games-rpg/dragonhunt/Manifest b/games-rpg/dragonhunt/Manifest
index c0653f43818e..c9e332530901 100644
--- a/games-rpg/dragonhunt/Manifest
+++ b/games-rpg/dragonhunt/Manifest
@@ -2,14 +2,19 @@
Hash: SHA1
DIST Dragon_Hunt-3.55.tar.gz 2159851 RMD160 963dc739d4e464a323acee3f7325713ddb4cb12d SHA1 68d7dbbb0690c23d0c57e8bf03919ecaa70fa6a5 SHA256 d7d73b3ab7aa1c3e91b0221d3759e7da7d07f7569f3d201a00d54624259c84d0
+DIST Dragon_Hunt-3.56.tar.gz 2170718 RMD160 82199f84e20a3620e223a3488129f34a7f2de01e SHA1 1ed23a5ef8dcad0bf1f66dcb89475224b07a2c52 SHA256 70a22937fd002f2d82d8998623b6ec101fadfbafc4e0d1857aa0686c6bf1eba9
EBUILD dragonhunt-3.55.ebuild 2167 RMD160 987b2a6b04ecaeb8b36ee47c120c10d401cbd762 SHA1 b8d8165884ba85a50fab49df8920efcbdc1a02d1 SHA256 afe7728f3cc677de39b577c096d91d223bda414386978fefa09078be6f5ec0cd
MD5 1662bbfe2515977bc32f5c03ca3b8ac8 dragonhunt-3.55.ebuild 2167
RMD160 987b2a6b04ecaeb8b36ee47c120c10d401cbd762 dragonhunt-3.55.ebuild 2167
SHA256 afe7728f3cc677de39b577c096d91d223bda414386978fefa09078be6f5ec0cd dragonhunt-3.55.ebuild 2167
-MISC ChangeLog 350 RMD160 4568262cb7ea139a6e8c8fdff817fe6653c7dfbf SHA1 98e5707e68602076e168539d4a438e248fa524c3 SHA256 584125950e6e2cffd135f3138b8b6fc639a21f1958b783ed7a226d46e191da78
-MD5 08890df05c3df59e46ddf162b19b9ea5 ChangeLog 350
-RMD160 4568262cb7ea139a6e8c8fdff817fe6653c7dfbf ChangeLog 350
-SHA256 584125950e6e2cffd135f3138b8b6fc639a21f1958b783ed7a226d46e191da78 ChangeLog 350
+EBUILD dragonhunt-3.56.ebuild 2332 RMD160 042d6b757d3d1b1f2c9077742b712d094d92b771 SHA1 3655c91823fc18e9794ce965f1b2d09d66ca2b26 SHA256 9251f6636abc6a88f74e5511a5c35836e617634d1d8908535fecb7f65abe0818
+MD5 f2816d7448a1635aa6d85b0bfe565944 dragonhunt-3.56.ebuild 2332
+RMD160 042d6b757d3d1b1f2c9077742b712d094d92b771 dragonhunt-3.56.ebuild 2332
+SHA256 9251f6636abc6a88f74e5511a5c35836e617634d1d8908535fecb7f65abe0818 dragonhunt-3.56.ebuild 2332
+MISC ChangeLog 469 RMD160 3620be8bbd5808280185f255aa9216a99ce636f3 SHA1 32e9decd3bd89c7c79fe5a84b61c20bea2349b3a SHA256 aaeb6d224198bce1c7ce2dbdb3d485a48c5f7f997fbcc8db7cc3520c60020f65
+MD5 51892713ae202fbea4c24476a5ad48bb ChangeLog 469
+RMD160 3620be8bbd5808280185f255aa9216a99ce636f3 ChangeLog 469
+SHA256 aaeb6d224198bce1c7ce2dbdb3d485a48c5f7f997fbcc8db7cc3520c60020f65 ChangeLog 469
MISC metadata.xml 159 RMD160 5f925ed2fa3718b7d5cdc3f2a12866d3e516bacc SHA1 cd24812821185c81f7c05255d3fa66f5399daaa6 SHA256 c3c3613f26371d08a639f099b4f0d23f1efa7477c4414784a274edfd853eeec7
MD5 eb5dfd8f6553b4da2c5efe7f0ae9372b metadata.xml 159
RMD160 5f925ed2fa3718b7d5cdc3f2a12866d3e516bacc metadata.xml 159
@@ -17,10 +22,13 @@ SHA256 c3c3613f26371d08a639f099b4f0d23f1efa7477c4414784a274edfd853eeec7 metadata
MD5 12d9cc6763821d4bc3bf9cc49564a238 files/digest-dragonhunt-3.55 253
RMD160 c0b9d35491bfa8f5494695cd6e4d10d1fa0b4f11 files/digest-dragonhunt-3.55 253
SHA256 1fc6a6e7b30dc5d46d35d43150668926f971dbe2c57add3e26480ed7591b56e1 files/digest-dragonhunt-3.55 253
+MD5 6c5fb202dc189cb1112ea9116ad88b9f files/digest-dragonhunt-3.56 253
+RMD160 49af05beba9495b51df96ede151ad173d797fa19 files/digest-dragonhunt-3.56 253
+SHA256 3017748dba43e4035cedb6e3bc171dd84caffa0bafeb07c4c5a60dc2081e553e files/digest-dragonhunt-3.56 253
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.3 (GNU/Linux)
+Version: GnuPG v2.0.4 (GNU/Linux)
-iD8DBQFGFFTqdz7hIScOURERAgohAKD5tf+usSeIH/l3OEr+MGCNdW5PEQCeO9h0
-EAVA+oGfRvV7qeX/a/nWSIA=
-=dDUd
+iD8DBQFGULpEdz7hIScOURERAk6fAKCKi5wmxr+SfefHDw/mpUarmBIkNwCeNzgx
+gwYGHqqQmCjJmCez1J2YS7E=
+=uV+a
-----END PGP SIGNATURE-----
diff --git a/games-rpg/dragonhunt/dragonhunt-3.56.ebuild b/games-rpg/dragonhunt/dragonhunt-3.56.ebuild
new file mode 100644
index 000000000000..4993ae2b55b5
--- /dev/null
+++ b/games-rpg/dragonhunt/dragonhunt-3.56.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/dragonhunt/dragonhunt-3.56.ebuild,v 1.1 2007/05/20 21:14:38 nyhm Exp $
+
+inherit eutils games
+
+MY_P="Dragon_Hunt-${PV}"
+DESCRIPTION="A simple graphical RPG"
+HOMEPAGE="http://emhsoft.com/dh.html"
+SRC_URI="http://emhsoft.com/dh/${MY_P}.tar.gz"
+
+LICENSE="GPL-2 CCPL-ShareAlike-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-lang/python
+ dev-python/pygame"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Where to look for modules to load.
+ sed -i "s:\.\./modules/:${GAMES_DATADIR}/${PN}/:" \
+ code/g.py \
+ code/map_editor.py \
+ code/rpg.py \
+ || die "Could not change module path."
+
+ # Where to look for keybinding
+ sed -i "s:\.\./settings:${GAMES_SYSCONFDIR}/${PN}/settings:" \
+ code/g.py \
+ || die "Could not change settings.txt directory"
+
+ # Save games in ~/.${PN}/.
+ sed -i \
+ -e "s:^\(from os import.*\):\1\, environ:" \
+ -e "s:g.mod_dir.*\"/saves/\?\":environ[\"HOME\"] + \"/.${PN}/\":" \
+ code/g.py code/loadgame.py \
+ || die "Could not change savegames location."
+
+ # Save maps in ~/.
+ sed -i \
+ -e "s:^\(from os import.*\):\1\, environ:" \
+ -e "s:g.mod_dir.*\"map\.txt\":environ[\"HOME\"]\ +\ \"/dh_map.txt\":" \
+ code/map_editor.py \
+ || die "Could not change map location."
+}
+
+src_install() {
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r modules/* || die "doins modules failed"
+
+ insinto "${GAMES_SYSCONFDIR}"/${PN}
+ doins settings.txt || die "doins settings.txt failed"
+
+ insinto "$(games_get_libdir)"/${PN}
+ doins code/*.py || die "doins code failed"
+
+ games_make_wrapper ${PN} "python ./rpg.py" "$(games_get_libdir)"/${PN}
+ games_make_wrapper ${PN}-mapeditor "python ./map_editor.py" \
+ "$(games_get_libdir)"/${PN}
+
+ newicon modules/default/images/buttons/icon.png ${PN}.png
+ make_desktop_entry ${PN} "Dragon Hunt"
+ make_desktop_entry ${PN}-mapeditor "Dragon Hunt - Editor"
+
+ dodoc README.txt docs/{Changelog,Items.txt,example_map.txt,tiles.txt}
+ dohtml docs/*.html
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ echo
+ elog "If you use the map editor then note that maps will be saved as"
+ elog "~/dh_map.txt and must be move to the correct module directory"
+ elog "(within ${GAMES_DATADIR}/${PN}) by hand."
+ echo
+}
diff --git a/games-rpg/dragonhunt/files/digest-dragonhunt-3.56 b/games-rpg/dragonhunt/files/digest-dragonhunt-3.56
new file mode 100644
index 000000000000..5bde3234e93f
--- /dev/null
+++ b/games-rpg/dragonhunt/files/digest-dragonhunt-3.56
@@ -0,0 +1,3 @@
+MD5 fa5aecc577b8ea7ece211c8f20ff1f0a Dragon_Hunt-3.56.tar.gz 2170718
+RMD160 82199f84e20a3620e223a3488129f34a7f2de01e Dragon_Hunt-3.56.tar.gz 2170718
+SHA256 70a22937fd002f2d82d8998623b6ec101fadfbafc4e0d1857aa0686c6bf1eba9 Dragon_Hunt-3.56.tar.gz 2170718