# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit games DESCRIPTION="The Community Expansion Pack is a single source of custom content for Neverwinter Nights." HOMEPAGE="http://nwn.bioware.com/players/cep.html" SRC_URI="http://vnfiles.ign.com/nwn/hakpacks/CEP_Team1098274453515cepv150man.zip" LICENSE="" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=games-rpg/nwn-1.64" src_install() { cd ${WORKDIR} dodir ${GAMES_PREFIX_OPT}/nwn/hak insinto ${GAMES_PREFIX_OPT}/nwn/hak doins cep1patch.hak doins cepanatomy.hak doins cepbaseitem.hak doins cepcreature.hak doins cepplace.hak doins cepportrait.hak doins ceptexture.hak doins Live/cep2da.hak doins Live/cep1patch150.hak dodir ${GAMES_PREFIX_OPT}/nwn/tlk insinto ${GAMES_PREFIX_OPT}/nwn/tlk doins cep.tlk insinto ${GAMES_PREFIX_OPT}/nwn/modules doins "CEP Open Day.mod" doins "CEP Starter Module.mod" dodoc readme.txt dodoc "CEP Players Guide v150.pdf" dodoc "CEP FAQ v150.pdf" dodoc "CEP Credits v150.pdf" prepgamesdirs }