S=${WORKDIR}
TARGET=/usr/share/doc/${PF}/html
DESCRIPTION="\"The\" German PHP Documentation"
#SRC_URI="http://downloads.selfphp.de/?file=selfphp_4.1_.tar.gz"
SRC_URI="http://downloads.selfphp.de/?file=selfphp_4.1_.zip"
HOMEPAGE="http://selfphp.de"
DEPEND="app-arch/unzip"
SLOT="0"
LICENSE="selfphp"
KEYWORDS="alpha amd64 hppa mips ppc sparc x86"
IUSE=""

src_install() {
	dodir ${TARGET}
	cp -pR ${S}/* ${D}${TARGET}
}

src_unpack() {
        unpack selfphp_4.1_.zip
        cd ${S}
}