# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="wxPython demo files" HOMEPAGE="http://www.wxpython.org" SRC_URI="mirror://sourceforge/wxpython/${P}.tar.gz" LICENSE=PYTHON SLOT="0" KEYWORDS="~x86" S="${WORKDIR}/${P}" IUSE="" DOCDIR="wxPython-${PV}" src_install() { dodir /usr/share/doc/${DOCDIR} dodir /usr/share/doc/${DOCDIR}/demo dodir /usr/share/doc/${DOCDIR}/samples cp -R ${WORKDIR}/${DOCDIR}/demo/* ${D}/usr/share/doc/${DOCDIR}/demo/ cp -R ${WORKDIR}/${DOCDIR}/samples/* ${D}/usr/share/doc/${DOCDIR}/samples/ }