aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher (jlec) <jlec@j-schmitz.net>2010-01-10 10:22:35 +0100
committerJustin Lecher (jlec) <jlec@j-schmitz.net>2010-01-16 11:10:02 +0100
commit90a67857cf2a58188db15bd78ac9c8ab2643c201 (patch)
treeced6ebfd01ebea09e33e2cfcc007cad9fa51986e /dev-util/smartgit/smartgit-1.0.2.ebuild
parentsci-libs/clipper -- Version Bump, nuking the as-needed patch (diff)
downloadsci-90a67857cf2a58188db15bd78ac9c8ab2643c201.tar.gz
sci-90a67857cf2a58188db15bd78ac9c8ab2643c201.tar.bz2
sci-90a67857cf2a58188db15bd78ac9c8ab2643c201.zip
dev-util/smartgit -- version bump
(Portage version: 2.2_rc61/git/Linux x86_64) (Signed Manifest commit)
Diffstat (limited to 'dev-util/smartgit/smartgit-1.0.2.ebuild')
-rw-r--r--dev-util/smartgit/smartgit-1.0.2.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/dev-util/smartgit/smartgit-1.0.2.ebuild b/dev-util/smartgit/smartgit-1.0.2.ebuild
new file mode 100644
index 000000000..2cf766baf
--- /dev/null
+++ b/dev-util/smartgit/smartgit-1.0.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit java-utils-2 versionator
+
+MY_PV="$(replace_all_version_separators _)"
+
+DESCRIPTION="SmartGIT"
+HOMEPAGE="http://www.syntevo.com/smartgit"
+SRC_URI="${PN}-generic-${MY_PV}.tar.gz"
+
+SLOT="0"
+LICENSE="smartgit"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RESTRICT="fetch"
+
+RDEPEND="virtual/jre"
+
+S="${WORKDIR}"/smartgit-${MY_PV}
+
+pkg_nofetch(){
+ einfo "Please download ${MY_P}.tar.gz from:"
+ einfo "http://www.syntevo.com/smartgit/early-access.html"
+ einfo "and move/copy to ${DISTDIR}"
+}
+
+src_install() {
+ local rdir="/opt/${PN}"
+ insinto ${rdir}
+ doins -r * || die "cannot install needed files"
+
+ java-pkg_regjar "${D}"/${rdir}/lib/*.jar
+
+ java-pkg_dolauncher ${PN} --java_args "-Xmx256M -Dsmartgit.vm-xmx=256m" --jar ${PN}.jar
+
+ for X in 32 64 128
+ do
+ insinto /usr/share/icons/hicolor/${X}x${X}/apps
+ newins "${S}/bin/smartsvn-${X}.png" "${PN}.png" || die "cannot install needed files"
+ done
+
+ make_desktop_entry "${PN}" "SmartGIT" ${PN}.png "Development;RevisionControl"
+}