# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-java/cvslib-bin/cvslib-bin-3.6.ebuild,v 1.3 2005/01/01 18:22:04 eradicator Exp $ inherit java-pkg DESCRIPTION="The cvs client library jar containing the stable version as in Netbeans 3.6 release." HOMEPAGE="http://javacvs.netbeans.org/" SRC_URI="http://www.netbeans.org/files/51/52/cvslib_36.jar doc? ( http://www.netbeans.org/files/51/52/javadoc_36.zip )" LICENSE="SPL" SLOT="3.6" KEYWORDS="~x86 ~ppc" IUSE="doc" DEPEND="app-arch/unzip" S=${WORKDIR} src_unpack() { cd ${S} cp ${DISTDIR}/cvslib_36.jar ${WORKDIR} use doc && unzip ${DISTDIR}/javadoc_36.zip } src_compile() { :; } src_install() { mv cvslib_36.jar cvslib.jar java-pkg_dojar cvslib.jar use doc && java-pkg_dohtml -r javadoc/ }