You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.2 KiB

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/argouml/argouml-0.29.2.ebuild,v 1.3 2010/02/01 20:07:26 maekke Exp $
inherit 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"
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
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
}