summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2012-02-03 15:16:24 +0000
committerMiroslav Šulc <fordfrog@gentoo.org>2012-02-03 15:16:24 +0000
commitfb4db7dc3f9b2843e4d9f854b2e4c1c89b9ff1b4 (patch)
tree76578993660fb722a0c1d1f68a0070e692687f91 /dev-util/argouml/argouml-0.34.ebuild
parentbad #number reference for last stabilization (diff)
downloadgentoo-2-fb4db7dc3f9b2843e4d9f854b2e4c1c89b9ff1b4.tar.gz
gentoo-2-fb4db7dc3f9b2843e4d9f854b2e4c1c89b9ff1b4.tar.bz2
gentoo-2-fb4db7dc3f9b2843e4d9f854b2e4c1c89b9ff1b4.zip
dev-util/argouml: version bump
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/argouml/argouml-0.34.ebuild')
-rw-r--r--dev-util/argouml/argouml-0.34.ebuild59
1 files changed, 59 insertions, 0 deletions
diff --git a/dev-util/argouml/argouml-0.34.ebuild b/dev-util/argouml/argouml-0.34.ebuild
new file mode 100644
index 000000000000..8f99196f7867
--- /dev/null
+++ b/dev-util/argouml/argouml-0.34.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/argouml/argouml-0.34.ebuild,v 1.1 2012/02/03 15:16:24 fordfrog Exp $
+
+EAPI="3"
+
+inherit fdo-mime java-pkg-2
+
+DESCRIPTION="modelling tool that helps you do your design using UML"
+HOMEPAGE="http://argouml.tigris.org"
+BASE_URI="http://argouml-downloads.tigris.org/nonav/${P}"
+SRC_URI="${BASE_URI}/ArgoUML-${PV}.tar.gz
+ http://argouml-downloads.tigris.org/nonav/argouml-db-1.0/dbuml-module-1.0.4.zip
+ doc? (
+ ${BASE_URI}/manual-${PV}.pdf
+ ${BASE_URI}/quickguide-${PV}.pdf
+ )"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="doc"
+
+DEPEND="app-arch/unzip"
+RDEPEND=">=virtual/jre-1.6"
+
+S="${WORKDIR}"
+
+src_compile() { :; }
+
+src_install() {
+ java-pkg_jarinto /opt/${PN}/lib
+ java-pkg_dojar ${P}/*.jar
+
+ java-pkg_jarinto /opt/${PN}/lib/ext
+ java-pkg_dojar ${P}/ext/*.jar release/ext/*.jar
+
+ java-pkg_dolauncher ${PN} --main org.argouml.application.Main
+
+ dodoc ${P}/README.txt || die
+
+ if use doc ; then
+ dohtml -r release/{Readme.htm,www}
+ insinto /usr/share/doc/${P}
+ doins "${DISTDIR}/manual-${PV}.pdf"
+ doins "${DISTDIR}/quickguide-${PV}.pdf"
+ fi
+
+ doicon "${FILESDIR}"/${PN}.png || die
+ make_desktop_entry ${PN} "ArgoUML" ${PN} "Graphics"
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}