Search:  
Gentoo Wiki

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

#

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

Download - Bugs - Discussion - History

Back to the Index
inherit eutils games

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

SLOT="4"
LICENSE="benjordan4"
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 BJ4.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-4.0.ebuild"

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