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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Mon Feb 1 20:07:26 2010 UTC (7 years, 8 months ago) by maekke
Branch: MAIN
Changes since 1.2: +2 -2 lines
amd64/x86 stable, bug #300395
(Portage version: 2.2_rc62/cvs/Linux x86_64)

1 nixnut 1.2 # Copyright 1999-2010 Gentoo Foundation
2 fordfrog 1.1 # Distributed under the terms of the GNU General Public License v2
3 maekke 1.3 # $Header: /var/cvsroot/gentoo-x86/dev-util/argouml/argouml-0.29.2.ebuild,v 1.2 2010/01/19 18:27:22 nixnut Exp $
4 fordfrog 1.1
5     inherit java-pkg-2
6    
7     DESCRIPTION="modelling tool that helps you do your design using UML"
8     HOMEPAGE="http://argouml.tigris.org"
9     BASE_URI="http://argouml-downloads.tigris.org/nonav/${P}"
10     SRC_URI="${BASE_URI}/ArgoUML-${PV}.tar.gz
11     http://argouml-downloads.tigris.org/nonav/argouml-db-1.0/dbuml-module-1.0.4.zip
12     doc? (
13     ${BASE_URI}/manual-${PV}.pdf
14     ${BASE_URI}/quickguide-${PV}.pdf
15     )"
16    
17     LICENSE="BSD"
18     SLOT="0"
19 maekke 1.3 KEYWORDS="amd64 ppc x86"
20 fordfrog 1.1 IUSE="doc"
21    
22     DEPEND="app-arch/unzip"
23     RDEPEND=">=virtual/jre-1.5"
24    
25     S="${WORKDIR}"
26    
27     src_compile() { :; }
28    
29     src_install() {
30     java-pkg_jarinto /opt/${PN}/lib
31     java-pkg_dojar ${P}/*.jar
32    
33     java-pkg_jarinto /opt/${PN}/lib/ext
34     java-pkg_dojar ${P}/ext/*.jar release/ext/*.jar
35    
36     java-pkg_dolauncher ${PN} --main org.argouml.application.Main
37    
38     dodoc ${P}/README.txt
39    
40     if use doc ; then
41     dohtml -r release/{Readme.htm,www}
42     insinto /usr/share/doc/${P}
43     doins "${DISTDIR}/manual-${PV}.pdf"
44     doins "${DISTDIR}/quickguide-${PV}.pdf"
45     fi
46     }

  ViewVC Help
Powered by ViewVC 1.1.20