diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-18 19:33:45 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-18 19:33:45 +0000 |
commit | a0cb50d17cfefb658a50cf62193bf6b959c6edfa (patch) | |
tree | d22c1656609df30cc4ce85868ba7d266044c53c2 /games-rpg/openrpg | |
parent | Mark simutrans-0.82.10 stable and clean out the old versions. (diff) | |
download | historical-a0cb50d17cfefb658a50cf62193bf6b959c6edfa.tar.gz historical-a0cb50d17cfefb658a50cf62193bf6b959c6edfa.tar.bz2 historical-a0cb50d17cfefb658a50cf62193bf6b959c6edfa.zip |
version bump
Diffstat (limited to 'games-rpg/openrpg')
-rw-r--r-- | games-rpg/openrpg/ChangeLog | 7 | ||||
-rw-r--r-- | games-rpg/openrpg/files/1.5.1-gentoo-paths.patch | 42 | ||||
-rw-r--r-- | games-rpg/openrpg/files/digest-openrpg-1.5.1 | 1 | ||||
-rw-r--r-- | games-rpg/openrpg/openrpg-1.5.1.ebuild | 58 |
4 files changed, 107 insertions, 1 deletions
diff --git a/games-rpg/openrpg/ChangeLog b/games-rpg/openrpg/ChangeLog index ed3590a438ea..a8e79f33fd86 100644 --- a/games-rpg/openrpg/ChangeLog +++ b/games-rpg/openrpg/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-rpg/openrpg # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/openrpg/ChangeLog,v 1.2 2003/09/10 16:09:40 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/openrpg/ChangeLog,v 1.3 2003/09/18 19:33:45 vapier Exp $ + +*openrpg-1.5.1 (18 Sep 2003) + + 18 Sep 2003; Mike Frysinger <vapier@gentoo.org> : + Version bump + fix permission problems in #28010. *openrpg-1.4.1 (12 Jul 2003) diff --git a/games-rpg/openrpg/files/1.5.1-gentoo-paths.patch b/games-rpg/openrpg/files/1.5.1-gentoo-paths.patch new file mode 100644 index 000000000000..fe9602f6b78f --- /dev/null +++ b/games-rpg/openrpg/files/1.5.1-gentoo-paths.patch @@ -0,0 +1,42 @@ +diff -ur openrpg1.orig/start.py openrpg1/start.py +--- openrpg1.orig/start.py 2003-09-18 15:15:42.793028328 -0400 ++++ openrpg1/start.py 2003-09-18 15:15:43.010995192 -0400 +@@ -1,5 +1,10 @@ + #!/usr/bin/env python + ++from os import chdir; ++chdir("GENTOO_DATADIR"); ++from sys import path; ++path.append("GENTOO_LIBDIR"); ++ + import pyver + pyver.checkPyVersion() + +diff -ur openrpg1.orig/start_server.py openrpg1/start_server.py +--- openrpg1.orig/start_server.py 2003-09-18 15:15:42.793028328 -0400 ++++ openrpg1/start_server.py 2003-09-18 15:15:43.011995040 -0400 +@@ -1,5 +1,10 @@ + #!/usr/bin/env python + ++from os import chdir; ++chdir("GENTOO_DATADIR"); ++from sys import path; ++path.append("GENTOO_LIBDIR"); ++ + import pyver + import sys + pyver.checkPyVersion() +diff -ur openrpg1.orig/start_server_gui.py openrpg1/start_server_gui.py +--- openrpg1.orig/start_server_gui.py 2003-09-18 15:15:42.794028176 -0400 ++++ openrpg1/start_server_gui.py 2003-09-18 15:15:43.012994888 -0400 +@@ -1,5 +1,10 @@ + #!/usr/bin/env python + ++from os import chdir; ++chdir("GENTOO_DATADIR"); ++from sys import path; ++path.append("GENTOO_LIBDIR"); ++ + import pyver + pyver.checkPyVersion() + diff --git a/games-rpg/openrpg/files/digest-openrpg-1.5.1 b/games-rpg/openrpg/files/digest-openrpg-1.5.1 new file mode 100644 index 000000000000..46579ade9c77 --- /dev/null +++ b/games-rpg/openrpg/files/digest-openrpg-1.5.1 @@ -0,0 +1 @@ +MD5 624f1a2ef2d9b2753dde159e10c75747 openrpg-1.5.1.tar.gz 672216 diff --git a/games-rpg/openrpg/openrpg-1.5.1.ebuild b/games-rpg/openrpg/openrpg-1.5.1.ebuild new file mode 100644 index 000000000000..4c4b56731f9b --- /dev/null +++ b/games-rpg/openrpg/openrpg-1.5.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/openrpg/openrpg-1.5.1.ebuild,v 1.1 2003/09/18 19:33:45 vapier Exp $ + +inherit games + +DESCRIPTION="Open RPG Client" +HOMEPAGE="http://www.openrpg.com/" +SRC_URI="mirror://sourceforge/openrpg/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" + +DEPEND=">=dev-python/wxPython-2.4.0.2 + >=dev-lang/python-2.2.2" + +S=${WORKDIR}/${PN}1 + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PV}-gentoo-paths.patch + find -name CVS -type d -exec rm -rf '{}' \; 2>/dev/null +} + +src_install() { + dodoc readme.txt + rm readme.txt license.txt + + newgamesbin start.py openrpg + dosed "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}:" ${GAMES_BINDIR}/openrpg + dosed "s:GENTOO_LIBDIR:${GAMES_LIBDIR}/${PN}:" ${GAMES_BINDIR}/openrpg + newgamesbin start_server.py openrpg-server + dosed "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}:" ${GAMES_BINDIR}/openrpg-server + dosed "s:GENTOO_LIBDIR:${GAMES_LIBDIR}/${PN}:" ${GAMES_BINDIR}/openrpg-server + newgamesbin start_server_gui.py openrpg-server-gui + dosed "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}:" ${GAMES_BINDIR}/openrpg-server-gui + dosed "s:GENTOO_LIBDIR:${GAMES_LIBDIR}/${PN}:" ${GAMES_BINDIR}/openrpg-server-gui + rm start.py start_server.py start_server_gui.py + + insinto ${GAMES_LIBDIR}/${PN} + doins *.py + mv orpg/templates . + cp -r orpg ${D}/${GAMES_LIBDIR}/${PN}/ + rm -rf orpg *.py + + dodir ${GAMES_DATADIR}/${PN} + dodir ${GAMES_DATADIR}/${PN}/orpg + mv templates ${D}/${GAMES_DATADIR}/${PN}/orpg/ + cp -r * ${D}/${GAMES_DATADIR}/${PN} + + dodir ${GAMES_DATADIR}/${PN}/myfiles + prepgamesdirs + # i dont like this but the game needs to be rewritten more than + # i care to do myself to support ${HOME}/.openrpg + fperms g+w ${GAMES_DATADIR}/${PN}/myfiles +} |