1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit eutils java-pkg-2
8 MY_P=smartcvs-generic-${MY_PV}
10 DESCRIPTION="A powerful CVS GUI with compare/merge support"
11 HOMEPAGE="http://www.syntevo.com/smartcvs/"
12 SRC_URI="${MY_P}.tar.gz"
15 KEYWORDS="~amd64 ~x86"
20 RDEPEND=">=virtual/jre-1.4.1"
22 S="${WORKDIR}/${PN}-${MY_PV}"
25 local rdir="/opt/${PN}"
28 java-pkg_regjar ${rdir}/lib/${PN}.jar
29 java-pkg_dolauncher ${PN} "--java-args -Xmx256 --jar ${PN}.jar"
32 insinto /usr/share/icons/hicolor/${X}x${X}/apps
33 newins "${S}/bin/${PN}-${X}x${X}.png" "${PN}.png" || die "cannot install needed files"
35 make_desktop_entry ${PN} "SmartCVS" ${PN}.png "Development;RevisionControl"
39 einfo "Please download ${MY_P}.tar.gz from:"
40 einfo "http://www.syntevo.com/smartcvs/download.html?file=smartcvs%2Fsmartcvs-generic-${MY_PV}.tar.gz"
41 einfo "and move/copy to ${DISTDIR}"