summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Aniszczyk <zx@gentoo.org>2004-08-13 18:55:38 +0000
committerChris Aniszczyk <zx@gentoo.org>2004-08-13 18:55:38 +0000
commitaff1f9eb2d4bb41e52e96d799254090d9c3354da (patch)
treee096cef6eceb3f4b485e4268bc1c1c1f23d794dc /dev-util
parentAdded dep on app-arch/zip bug# 59955 (Manifest recommit) (diff)
downloadgentoo-2-aff1f9eb2d4bb41e52e96d799254090d9c3354da.tar.gz
gentoo-2-aff1f9eb2d4bb41e52e96d799254090d9c3354da.tar.bz2
gentoo-2-aff1f9eb2d4bb41e52e96d799254090d9c3354da.zip
Version bump.
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/poseidonCE/ChangeLog7
-rw-r--r--dev-util/poseidonCE/Manifest14
-rw-r--r--dev-util/poseidonCE/files/digest-poseidonCE-2.5.01
-rw-r--r--dev-util/poseidonCE/poseidonCE-2.5.0.ebuild77
4 files changed, 87 insertions, 12 deletions
diff --git a/dev-util/poseidonCE/ChangeLog b/dev-util/poseidonCE/ChangeLog
index b0341d3f766b..04c6c8f3f1ce 100644
--- a/dev-util/poseidonCE/ChangeLog
+++ b/dev-util/poseidonCE/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/poseidonCE
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/poseidonCE/ChangeLog,v 1.8 2004/07/31 21:50:37 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/poseidonCE/ChangeLog,v 1.9 2004/08/13 18:55:38 zx Exp $
+
+*poseidonCE-2.5.0 (13 Aug 2004)
+
+ 13 Aug 2004; Chris Aniszczyk <zx@gentoo.org> +poseidonCE-2.5.0.ebuild:
+ Version bump. Closes #59983
31 Jul 2004; Thomas Matthijs <axxo@gentoo.org> poseidonCE-2.4.1.ebuild:
add docs symlink, bug 57257
diff --git a/dev-util/poseidonCE/Manifest b/dev-util/poseidonCE/Manifest
index dd8071824f83..5e5ddc8fc1e2 100644
--- a/dev-util/poseidonCE/Manifest
+++ b/dev-util/poseidonCE/Manifest
@@ -1,14 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 43293b026ec087097be1c686eb7dfdc0 metadata.xml 1559
MD5 a1f538ca4f04cc8c3f74eeeabb0d1156 poseidonCE-2.4.1.ebuild 2204
+MD5 a1f538ca4f04cc8c3f74eeeabb0d1156 poseidonCE-2.5.0.ebuild 2204
MD5 0d3b13b634aca67b791e44879e7a9390 ChangeLog 1173
-MD5 43293b026ec087097be1c686eb7dfdc0 metadata.xml 1559
MD5 d3cc528e08fd53fd8f14b9b4ac103928 files/digest-poseidonCE-2.4.1 67
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.4 (GNU/Linux)
-
-iD8DBQFBDBTl/rLF9B432nYRAmTsAKDOFTXWCYK9YAMI1vPUQ5NqxpeZIgCgn737
-dkiISTxwd4li5t1M6ye3dw4=
-=FXGU
------END PGP SIGNATURE-----
+MD5 173241b038eda4e390861877955680cd files/digest-poseidonCE-2.5.0 67
diff --git a/dev-util/poseidonCE/files/digest-poseidonCE-2.5.0 b/dev-util/poseidonCE/files/digest-poseidonCE-2.5.0
new file mode 100644
index 000000000000..738c78e17cd5
--- /dev/null
+++ b/dev-util/poseidonCE/files/digest-poseidonCE-2.5.0
@@ -0,0 +1 @@
+MD5 df05c7a4dd93cc6d1ad35833a980744b poseidonCE-2.5.0.zip 30459069
diff --git a/dev-util/poseidonCE/poseidonCE-2.5.0.ebuild b/dev-util/poseidonCE/poseidonCE-2.5.0.ebuild
new file mode 100644
index 000000000000..429b69ab964a
--- /dev/null
+++ b/dev-util/poseidonCE/poseidonCE-2.5.0.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/poseidonCE/poseidonCE-2.5.0.ebuild,v 1.1 2004/08/13 18:55:38 zx Exp $
+
+IUSE="doc gnome kde"
+DESCRIPTION="A UML CASE-Tool powered by Java"
+SRC_URI="${P}.zip"
+HOMEPAGE="http://www.gentleware.com/"
+LICENSE="PoseidonCommon.pdf"
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~ppc ~amd64"
+RDEPEND=">=virtual/jdk-1.4.1"
+RESTRICT="fetch"
+
+pkg_nofetch() {
+ einfo "Please visit ${HOMEPAGE} and download Poseidon Community Edition:"
+ einfo " ${SRC_URI}"
+ einfo "Save it in ${DISTDIR} !"
+}
+
+src_install() {
+ insinto /opt/${PN}/lib
+ doins lib/*.jar
+
+ echo "#!/bin/sh" > ${PN}
+ echo "cd /opt/${PN}" >> ${PN}
+ echo '${JAVA_HOME}'/bin/java -cp lib/floating-server.jar:lib/poseidon.jar:lib/umlplugin.jar:${JAVA_HOME}/jre/lib/rt.jar \
+ -Xms64m -Xmx160m -Dposeidon.java.home="${JAVA_HOME}" -Dposeidon.user.dir.PE="$POSEIDONPE_HOME" \
+ com.gentleware.poseidon.Poseidon '$*' >> ${PN}
+
+ into /opt
+ dobin ${PN}
+
+ if use doc ; then
+ dohtml -r docs/*
+ dosym /usr/share/doc/${P}/html/ /opt/${PN}/docs
+
+ insinto /usr/share/doc/${P}
+ doins docs/PoseidonUsersGuide.pdf
+ fi
+
+ if use gnome || use kde; then
+ einfo "Adding icons..."
+ insinto /opt/${PN}/lib
+ doins bin/poseidon.ico
+ fi
+
+ if use gnome ; then
+
+ einfo "Adding GNOME support..."
+ echo "[Desktop Entry]" > ${PN}.desktop
+ echo "Name=${PN}" >> ${PN}.desktop
+ echo "Comment=${DESCRIPTION}" >> ${PN}.desktop
+ echo "Icon=/opt/${PN}/lib/poseidon.ico" >> ${PN}.desktop
+ echo "Exec=/opt/bin/${PN}" >> ${PN}.desktop
+ echo "Type=Application" >> ${PN}.desktop
+ echo "Categories=GNOME;Application;Development" >> ${PN}.desktop
+
+ insinto /usr/share/gnome/apps/Development
+ doins ${PN}.desktop
+ fi
+
+ if use kde ; then
+ einfo "Adding KDE support..."
+ echo "Name=PoseidonCE" > ${PN}-kde.desktop
+ echo "Exec=/opt/bin/${PN}" >> ${PN}-kde.desktop
+ echo "Icon=/opt/${PN}/lib/poseidon.ico" >> ${PN}-kde.desktop
+ echo "Type=Application" >> ${PN}-kde.desktop
+ insinto ${KDEDIR}/share/applnk/Development
+ doins ${PN}-kde.desktop
+ fi
+
+ dodoc LICENSE.txt
+
+ dodir /opt/${PN}/examples
+ cp -R examples/* ${D}opt/${PN}/examples
+}