Search:  
Gentoo Wiki

Ucpt:Games-adventure/fatman/fatman-1.0.ebuild

#

Image:Ebuild_file.png Games-adventure/fatman/fatman-1.0.ebuild

Download - Bugs - Discussion - History

Back to the Index
inherit eutils games

DESCRIPTION="The Adventures of Fatman"
SRC_URI="http://somewhere.beyond.de/sea/the-adventures-of-fatman-1.0.tar.gz" # need mirror!
HOMEPAGE=""

SLOT=""
LICENSE="fatman"
KEYWORDS="x86"
IUSE=""

DEPEND=">=games-engines/ags-bin-2.70"

src_install() {
	cd ${WORKDIR}
	BINDIR=/usr/games/bin
	TITLE=fatman
	SHAREDIR=/usr/share/games/${TITLE}
	
	mkdir -p ${D}${BINDIR} ${D}${SHAREDIR}
	
	# first install packaged files
	rmdir ${D}${SHAREDIR}
	mv "The Adventures of Fatman" ${D}${SHAREDIR}
	cd ${D}${SHAREDIR}
	mv Fatman.exe ac2game.dat
	
	# readme/clean-up
	cp Documentation/images/fat_adv.gif .
	mkdir -p ${D}usr/share/doc/${PF}
	mv Documentation/* ${D}usr/share/doc/${PF}/.
	rm -rf Documentation
	
	# startup script
	cd ${D}${BINDIR}
	ln -s ags-start ${TITLE}
	
	prepgamesdirs
	
	make_desktop_entry ${TITLE} "The Adventures of Fatman" ${SHAREDIR}/fat_adv.gif
}
 # 
Retrieved from "http://www.gentoo-wiki.info/Ucpt:Games-adventure/fatman/fatman-1.0.ebuild"

Last modified: Tue, 09 Aug 2005 05:51:00 +0000 Hits: 2,217