Search:  
Gentoo Wiki

Ucpt:Games-adventure/benjordan/benjordan-3.0.ebuild

#

Image:Ebuild_file.png Games-adventure/benjordan/benjordan-3.0.ebuild

Download - Bugs - Discussion - History

Back to the Index
inherit eutils games

# FIXME:
# contains a windows dll, which is needed during the intro.
# Hopefully, that dll is not needed within the game itself,
# so it should run nonetheless.

DESCRIPTION="Ben Jordan Paranormal Investigator, Episode 3"
SRC_URI='http://www.grundislavgames.com/games/bj3.zip'
HOMEPAGE="http://www.grundislavgames.com/bj/bj3.htm"

SLOT="3"
LICENSE="benjordan3"
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 BJ3.exe ac2game.dat
	mv license.txt LICENSE
	dodoc LICENSE
	rm -f LICENSE
	dohtml -r Handbook readme.html
	rm -rf Handbook readme.html
		
	# startup script
	cd ${D}${BINDIR}
	ln -s ags-start ${TITLE}
	
	prepgamesdirs
	
	make_desktop_entry ${TITLE} "${DESCRIPTION}" ${SHAREDIR}/benj-logo.gif
}
 # 
Retrieved from "http://www.gentoo-wiki.info/Ucpt:Games-adventure/benjordan/benjordan-3.0.ebuild"

Last modified: Wed, 07 Sep 2005 08:40:00 +0000 Hits: 1,827