# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ # I'm really not sure about the dependencies... inherit games DESCRIPTION="A free Transport Tycoon clone" HOMEPAGE="http://www.simutrans.de/" SRC_URI="http://www.s-line.de/homepages/simutrans/simutrans/data/simubase-0_81_0.zip http://www.s-line.de/homepages/simutrans/simutrans/data/simulinux-0_81_0.tar.gz" LICENSE="as-is" SLOT="0" IUSE="" KEYWORDS="x86 -ppc -sparc -alpha" DEPEND="" RDEPEND="virtual/x11 media-libs/libsdl" S=${WORKDIR}/${P} src_install() { dodir ${GAMES_PREFIX_OPT}/${PN} mv ${WORKDIR}/${PN}/* ${D}/${GAMES_PREFIX_OPT}/${PN} dogamesbin ${FILESDIR}/simutrans dogamesbin ${FILESDIR}/simutrans640 dogamesbin ${FILESDIR}/simutrans800 dogamesbin ${FILESDIR}/simutrans1024 dogamesbin ${FILESDIR}/simutrans1280 prepgamesdirs } pkg_postinst() { einfo "You can run the game by typing \"simutrans\"..." einfo "The commands \"simutrans640\", \"simutrans800\", \"simutrans1024\"" einfo "and \"simutrans1280\" are also availabte to start the game in the respective" einfo "resolutions..." }