# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/wxpython-docs/wxpython-docs-2.4.2.4.ebuild,v 1.8 2004/10/17 08:01:53 absinthe Exp $ MY_P="${P/wxpython-docs/wxPythonDocs}" DESCRIPTION="wxPython documentation" HOMEPAGE="http://www.wxpython.org" SRC_URI="mirror://sourceforge/wxpython/${MY_P}.tar.gz" LICENSE="wxWinFDL-3" SLOT="0" KEYWORDS="x86 ~sparc ~amd64" IUSE="" S="${WORKDIR}/wxPython-${PVR}" DOCDIR="wxPython-${PVR}" src_install() { dodir /usr/share/doc/${DOCDIR} dodir /usr/share/doc/${DOCDIR}/docs cp -R ${WORKDIR}/${DOCDIR}/docs/* ${D}/usr/share/doc/${DOCDIR}/docs/ }