From af4cd59d860f74370fe58108b4ea8d08afbd2bb9 Mon Sep 17 00:00:00 2001 From: Miroslav Šulc Date: Tue, 18 Jan 2011 15:55:40 +0000 Subject: dev-util/argouml: version bump (Portage version: 2.1.9.33/cvs/Linux x86_64) --- dev-util/argouml/ChangeLog | 9 ++++-- dev-util/argouml/argouml-0.30.2.ebuild | 59 ++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+), 2 deletions(-) create mode 100644 dev-util/argouml/argouml-0.30.2.ebuild (limited to 'dev-util/argouml') diff --git a/dev-util/argouml/ChangeLog b/dev-util/argouml/ChangeLog index 96a6d360e5e3..786fb0475d0e 100644 --- a/dev-util/argouml/ChangeLog +++ b/dev-util/argouml/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/argouml -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/argouml/ChangeLog,v 1.29 2010/02/01 20:07:26 maekke Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/argouml/ChangeLog,v 1.30 2011/01/18 15:55:40 fordfrog Exp $ + +*argouml-0.30.2 (18 Jan 2011) + + 18 Jan 2011; Miroslav Šulc +argouml-0.30.2.ebuild: + Version bump 01 Feb 2010; Markus Meier argouml-0.29.2.ebuild: amd64/x86 stable, bug #300395 diff --git a/dev-util/argouml/argouml-0.30.2.ebuild b/dev-util/argouml/argouml-0.30.2.ebuild new file mode 100644 index 000000000000..1dcd9f9bb926 --- /dev/null +++ b/dev-util/argouml/argouml-0.30.2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/argouml/argouml-0.30.2.ebuild,v 1.1 2011/01/18 15:55:40 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.5" + +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 +} -- cgit v1.2.3-65-gdbad