diff options
Diffstat (limited to 'games-simulation/simutrans/simutrans-0.84.8.4.ebuild')
-rw-r--r-- | games-simulation/simutrans/simutrans-0.84.8.4.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/games-simulation/simutrans/simutrans-0.84.8.4.ebuild b/games-simulation/simutrans/simutrans-0.84.8.4.ebuild new file mode 100644 index 000000000000..125ae76733d1 --- /dev/null +++ b/games-simulation/simutrans/simutrans-0.84.8.4.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-simulation/simutrans/simutrans-0.84.8.4.ebuild,v 1.1 2004/06/03 05:33:27 mr_bones_ Exp $ + +inherit games + +MY_PV=${PV//./_} +S="${WORKDIR}/${PN}" +DESCRIPTION="A free Transport Tycoon clone" +HOMEPAGE="http://www.simutrans.de/" +SRC_URI="http://hajo.simutrans.com/download/simubase-${MY_PV}.zip + http://hajo.simutrans.com/download/simulinux-${MY_PV}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="-* x86" +IUSE="" + +DEPEND="app-arch/unzip" +RDEPEND="media-libs/libsdl" + +src_install() { + local dir="${GAMES_PREFIX_OPT}/${PN}" + + games_make_wrapper simutrans ./simutrans "${dir}" + keepdir "${dir}/save" + cp -R * "${D}/${dir}/" || die "cp failed" + find "${D}/${dir}/"{text,font} -type f | xargs chmod a-x + prepgamesdirs + fperms 2775 "${dir}/save" +} |