summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Aniszczyk <zx@gentoo.org>2004-05-14 21:01:57 +0000
committerChris Aniszczyk <zx@gentoo.org>2004-05-14 21:01:57 +0000
commit35312252bdf5efd8633a61a1e7ab0600c0983e2d (patch)
tree04cf8ae42f49675138e7256cd33b877d40d57bb6 /dev-util/poseidonCE
parentfix bug #51070 (Manifest recommit) (diff)
downloadgentoo-2-35312252bdf5efd8633a61a1e7ab0600c0983e2d.tar.gz
gentoo-2-35312252bdf5efd8633a61a1e7ab0600c0983e2d.tar.bz2
gentoo-2-35312252bdf5efd8633a61a1e7ab0600c0983e2d.zip
Version bump. Closes #49366 and #49162
Diffstat (limited to 'dev-util/poseidonCE')
-rw-r--r--dev-util/poseidonCE/ChangeLog7
-rw-r--r--dev-util/poseidonCE/Manifest8
-rw-r--r--dev-util/poseidonCE/files/digest-poseidonCE-2.3.11
-rw-r--r--dev-util/poseidonCE/poseidonCE-2.3.1.ebuild78
4 files changed, 90 insertions, 4 deletions
diff --git a/dev-util/poseidonCE/ChangeLog b/dev-util/poseidonCE/ChangeLog
index 6374deb5f64a..3f753dbc05b3 100644
--- a/dev-util/poseidonCE/ChangeLog
+++ b/dev-util/poseidonCE/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/poseidonCE
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/poseidonCE/ChangeLog,v 1.2 2004/04/02 03:53:40 zx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/poseidonCE/ChangeLog,v 1.3 2004/05/14 21:01:57 zx Exp $
+
+*poseidonCE-2.3.1 (14 May 2004)
+
+ 14 May 2004; Chris Aniszczyk <zx@gentoo.org> +poseidonCE-2.3.1.ebuild:
+ Version bump. Closes #49366
*poseidonCE-2.2.1 (01 Apr 2004)
diff --git a/dev-util/poseidonCE/Manifest b/dev-util/poseidonCE/Manifest
index 0dab89d38213..3dbb99594336 100644
--- a/dev-util/poseidonCE/Manifest
+++ b/dev-util/poseidonCE/Manifest
@@ -1,4 +1,6 @@
-MD5 a1893c4447208383ed5a7bfb95b1e0ef files/digest-poseidonCE-2.2.1 67
-MD5 fe5ccbbb67cc7075d07a432260439172 ChangeLog 632
MD5 43293b026ec087097be1c686eb7dfdc0 metadata.xml 1559
-MD5 0d06bf7b5ad573b40353450559cc9d3c poseidonCE-2.2.1.ebuild 2188
+MD5 c9d092ec6e058b85694088f85b183596 poseidonCE-2.2.1.ebuild 2187
+MD5 dfb624b29eace3e95345dad18efd459d poseidonCE-2.3.1.ebuild 2187
+MD5 3748a9069a228e70266a48f84ced450f ChangeLog 768
+MD5 a1893c4447208383ed5a7bfb95b1e0ef files/digest-poseidonCE-2.2.1 67
+MD5 231f24f3d52937377409dcc695307e81 files/digest-poseidonCE-2.3.1 67
diff --git a/dev-util/poseidonCE/files/digest-poseidonCE-2.3.1 b/dev-util/poseidonCE/files/digest-poseidonCE-2.3.1
new file mode 100644
index 000000000000..ed05716d018d
--- /dev/null
+++ b/dev-util/poseidonCE/files/digest-poseidonCE-2.3.1
@@ -0,0 +1 @@
+MD5 2944feeb94b8452393993855753327ee poseidonCE-2.3.1.zip 26716806
diff --git a/dev-util/poseidonCE/poseidonCE-2.3.1.ebuild b/dev-util/poseidonCE/poseidonCE-2.3.1.ebuild
new file mode 100644
index 000000000000..6efc2d6706a3
--- /dev/null
+++ b/dev-util/poseidonCE/poseidonCE-2.3.1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/poseidonCE/poseidonCE-2.3.1.ebuild,v 1.1 2004/05/14 21:01:57 zx Exp $
+
+IUSE="doc gnome kde"
+DESCRIPTION="A UML CASE-Tool powered by Java"
+SRC_URI="poseidonCE-2.3.1.zip"
+HOMEPAGE="http://www.gentleware.com/"
+LICENSE="PoseidonCommon.pdf"
+SLOT="0"
+KEYWORDS="~x86 ~sparc"
+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/*
+ 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
+}