# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: inherit eutils DESCRIPTION="A UML CASE-Tool powered by Java" SRC_URI="ftp://download.gentleware.biz/${P}.zip" HOMEPAGE="http://www.gentleware.com/" LICENSE="PoseidonCommon" SLOT="0" KEYWORDS="~x86 ~amd64 ~sparc ~ppc" RDEPEND=">=virtual/jdk-1.4.1" DEPEND="app-arch/unzip" RESTRICT="nomirror" IUSE="doc" src_install() { insinto /opt/${PN}/lib doins lib/*.jar doins bin/poseidon.ico make_desktop_entry ${PN} ${PN} /opt/${PN}/lib/poseidon.ico Development exeinto /opt/${PN}/bin doexe bin/poseidon.sh dodir /opt/bin dosym ${D}/opt/${PN}/bin/poseidon.sh /opt/bin/${PN} mv examples ${D}opt/${PN}/ if use doc then dohtml -r docs/* dosym /usr/share/doc/${P}/html/ /opt/${PN}/docs insinto /usr/share/doc/${P} doins docs/PoseidonUsersGuide.pdf fi dodoc LICENSE.txt }