# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ MY_PN="openknights" S=${WORKDIR}/${PN} DESCRIPTION="NWN toolset for linux." HOMEPAGE="http://openknights.sourceforge.net" SRC_URI="mirror://sourceforge/${MY_PN}/${P}.tar.gz" LICENSE="" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=dev-python/wxpython-2.5 >=dev-python/pyopengl-2.0.1.09 dev-python/imaging dev-python/numarray" src_unpack() { unpack ${A} rm ${WORKDIR}/neveredit/Makefile } src_install() { DPATH="/usr/share/neveredit" insinto ${DPATH} doins -r * dodir ${DPATH}/doxygen dodir ${DPATH}/openglcontext fperms 755 ${DPATH}/run/* fowners -R root:games ${DPATH} #make start file dodir /usr/games/bin touch ${D}usr/games/bin/neveredit echo "#!/bin/sh" > ${D}usr/games/bin/neveredit echo "cd "${DPATH}"/run" >> ${D}usr/games/bin/neveredit echo "./neveredit $*" >> ${D}usr/games/bin/neveredit fperms 750 /usr/games/bin/neveredit fowners root:games /usr/games/bin/neveredit }