Ucpt:Games-adventure/mmm/mmm-10.0.ebuild
#Download - Bugs - Discussion - History
inherit eutils games DESCRIPTION="Maniac Mansion Mania Epsiode 10" SRC_URI="http://maniacmansion.microspace.ch/downloads/mmm10.zip" HOMEPAGE="http://maniacmansion.microspace.ch/spiele.htm" SLOT="10" LICENSE="maniacmansionmania10" KEYWORDS="x86" IUSE="" DEPEND=">=games-engines/ags-bin-2.70" src_install() { cd ${WORKDIR} BINDIR=/usr/games/bin TITLE=${P} SHAREDIR=/usr/share/games/${TITLE} mkdir -p ${D}${BINDIR} ${D}${SHAREDIR} # first install packaged files #rmdir ${D}${SHAREDIR} mv * ${D}${SHAREDIR} cd ${D}${SHAREDIR} rm -f winsetup.exe mv acsetup.cfg acsetup.cfg.pkg mv MMM-TOTWE.exe ac2game.dat cat > note.txt << EOF The load/save dialog, which is acccessible via F5, is somewhat buggy: If you want to press a button there, you need to click on the upper border of the button! EOF cat > startup.sh << EOF #!/bin/sh [ ! -e note_shown ] && xmessage -buttons OK:1,"Don't show this again":0 -file note.txt && touch note_shown EOF chmod 755 startup.sh #mv readme.txt README #dodoc README #rm -f README # startup script cd ${D}${BINDIR} ln -s ags-start ${TITLE} prepgamesdirs make_desktop_entry ${TITLE} "${DESCRIPTION}" } #
Last modified: Wed, 07 Sep 2005 11:51:00 +0000 Hits: 1,747