/[gentoo-x86]/dev-util/argouml/argouml-0.34.ebuild
Gentoo

Contents of /dev-util/argouml/argouml-0.34.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun May 6 14:05:52 2012 UTC (2 years, 6 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
Stable for amd64, wrt bug #379387

(Portage version: 2.1.10.49/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/argouml/argouml-0.34.ebuild,v 1.4 2012/05/05 21:32:40 ranger Exp $
4
5 EAPI="3"
6
7 inherit eutils fdo-mime java-pkg-2
8
9 DESCRIPTION="Modelling tool that helps you do your design using UML"
10 HOMEPAGE="http://argouml.tigris.org"
11 BASE_URI="http://argouml-downloads.tigris.org/nonav/${P}"
12 SRC_URI="${BASE_URI}/ArgoUML-${PV}.tar.gz
13 http://argouml-downloads.tigris.org/nonav/argouml-db-1.0/dbuml-module-1.0.4.zip
14 doc? (
15 ${BASE_URI}/manual-${PV}.pdf
16 ${BASE_URI}/quickguide-${PV}.pdf
17 )"
18
19 LICENSE="BSD"
20 SLOT="0"
21 KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
22 IUSE="doc"
23
24 DEPEND="app-arch/unzip"
25 RDEPEND=">=virtual/jre-1.6"
26
27 S="${WORKDIR}"
28
29 src_compile() { :; }
30
31 src_install() {
32 java-pkg_jarinto /opt/${PN}/lib
33 java-pkg_dojar ${P}/*.jar
34
35 java-pkg_jarinto /opt/${PN}/lib/ext
36 java-pkg_dojar ${P}/ext/*.jar release/ext/*.jar
37
38 java-pkg_dolauncher ${PN} --main org.argouml.application.Main
39
40 dodoc ${P}/README.txt || die
41
42 if use doc ; then
43 dohtml -r release/{Readme.htm,www}
44 insinto /usr/share/doc/${P}
45 doins "${DISTDIR}/manual-${PV}.pdf"
46 doins "${DISTDIR}/quickguide-${PV}.pdf"
47 fi
48
49 newicon ${P}/icon/ArgoIcon128x128.png ${PN}.png || die
50 make_desktop_entry ${PN} "ArgoUML"
51 }
52
53 pkg_postinst() {
54 fdo-mime_desktop_database_update
55 }
56
57 pkg_postrm() {
58 fdo-mime_desktop_database_update
59 }

  ViewVC Help
Powered by ViewVC 1.1.20