summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Reffett <creffett@gentoo.org>2013-01-07 01:08:51 +0000
committerChris Reffett <creffett@gentoo.org>2013-01-07 01:08:51 +0000
commitea72d350a154562cc1a797aeb8c2a3366e189eeb (patch)
treef9353eb0fdf9edb2f2c16b67683944a15d1f3256 /sci-misc/netlogo-bin
parentFix incorrect Manifest entry for SABnzbd-0.7.9-src.tar.gz. (diff)
downloadgentoo-2-ea72d350a154562cc1a797aeb8c2a3366e189eeb.tar.gz
gentoo-2-ea72d350a154562cc1a797aeb8c2a3366e189eeb.tar.bz2
gentoo-2-ea72d350a154562cc1a797aeb8c2a3366e189eeb.zip
Version bump. Update copyrights in older version to make repoman happy. Add new netlogo start scripts that actually work.
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 42618354)
Diffstat (limited to 'sci-misc/netlogo-bin')
-rw-r--r--sci-misc/netlogo-bin/ChangeLog12
-rw-r--r--sci-misc/netlogo-bin/files/hubnet.sh4
-rw-r--r--sci-misc/netlogo-bin/files/netlogo-3d.sh4
-rw-r--r--sci-misc/netlogo-bin/files/netlogo-5.0.3.sh4
-rw-r--r--sci-misc/netlogo-bin/netlogo-bin-3.0.2.ebuild4
-rw-r--r--sci-misc/netlogo-bin/netlogo-bin-4.0.4.ebuild4
-rw-r--r--sci-misc/netlogo-bin/netlogo-bin-5.0.3.ebuild59
7 files changed, 85 insertions, 6 deletions
diff --git a/sci-misc/netlogo-bin/ChangeLog b/sci-misc/netlogo-bin/ChangeLog
index 299a0e32a251..a194aa579d17 100644
--- a/sci-misc/netlogo-bin/ChangeLog
+++ b/sci-misc/netlogo-bin/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sci-misc/netlogo-bin
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/netlogo-bin/ChangeLog,v 1.16 2012/12/07 17:25:15 creffett Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/netlogo-bin/ChangeLog,v 1.17 2013/01/07 01:08:51 creffett Exp $
+
+*netlogo-bin-5.0.3 (07 Jan 2013)
+
+ 07 Jan 2013; Chris Reffett <creffett@gentoo.org> +files/hubnet.sh,
+ +files/netlogo-3d.sh, +files/netlogo-5.0.3.sh, +netlogo-bin-5.0.3.ebuild,
+ files/netlogo.sh, netlogo-bin-3.0.2.ebuild, netlogo-bin-4.0.4.ebuild:
+ Version bump. Update copyrights in older version to make repoman happy. Add
+ new netlogo start scripts that actually work.
07 Dec 2012; Chris Reffett <creffett@gentoo.org> metadata.xml:
Changed maintainer from maintainer-needed to me
diff --git a/sci-misc/netlogo-bin/files/hubnet.sh b/sci-misc/netlogo-bin/files/hubnet.sh
new file mode 100644
index 000000000000..65b833e50aa9
--- /dev/null
+++ b/sci-misc/netlogo-bin/files/hubnet.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+NETLOGO_INSTALL_PATH="/usr/share/netlogo-bin"
+cd ${NETLOGO_INSTALL_PATH}
+java -classpath $(java-config -p netlogo-bin) org.nlogo.hubnet.client.App
diff --git a/sci-misc/netlogo-bin/files/netlogo-3d.sh b/sci-misc/netlogo-bin/files/netlogo-3d.sh
new file mode 100644
index 000000000000..cdf52a61e25a
--- /dev/null
+++ b/sci-misc/netlogo-bin/files/netlogo-3d.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+NETLOGO_INSTALL_PATH="/usr/share/netlogo-bin"
+cd ${NETLOGO_INSTALL_PATH}
+java -classpath $(java-config -p netlogo-bin) -Dorg.nlogo.is3d=true -jar NetLogo.jar
diff --git a/sci-misc/netlogo-bin/files/netlogo-5.0.3.sh b/sci-misc/netlogo-bin/files/netlogo-5.0.3.sh
new file mode 100644
index 000000000000..8bc82fa8d8a1
--- /dev/null
+++ b/sci-misc/netlogo-bin/files/netlogo-5.0.3.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+NETLOGO_INSTALL_PATH="/usr/share/netlogo-bin"
+cd ${NETLOGO_INSTALL_PATH}
+java -classpath $(java-config -p netlogo-bin) -jar NetLogo.jar
diff --git a/sci-misc/netlogo-bin/netlogo-bin-3.0.2.ebuild b/sci-misc/netlogo-bin/netlogo-bin-3.0.2.ebuild
index aa4eca5ba8ad..887d3ea3edf8 100644
--- a/sci-misc/netlogo-bin/netlogo-bin-3.0.2.ebuild
+++ b/sci-misc/netlogo-bin/netlogo-bin-3.0.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/netlogo-bin/netlogo-bin-3.0.2.ebuild,v 1.6 2011/06/13 12:09:37 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/netlogo-bin/netlogo-bin-3.0.2.ebuild,v 1.7 2013/01/07 01:08:50 creffett Exp $
inherit eutils java-pkg-2
diff --git a/sci-misc/netlogo-bin/netlogo-bin-4.0.4.ebuild b/sci-misc/netlogo-bin/netlogo-bin-4.0.4.ebuild
index d3da34c7fdb0..39dac24cd75a 100644
--- a/sci-misc/netlogo-bin/netlogo-bin-4.0.4.ebuild
+++ b/sci-misc/netlogo-bin/netlogo-bin-4.0.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/netlogo-bin/netlogo-bin-4.0.4.ebuild,v 1.4 2012/08/14 11:03:36 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/netlogo-bin/netlogo-bin-4.0.4.ebuild,v 1.5 2013/01/07 01:08:51 creffett Exp $
EAPI=4
diff --git a/sci-misc/netlogo-bin/netlogo-bin-5.0.3.ebuild b/sci-misc/netlogo-bin/netlogo-bin-5.0.3.ebuild
new file mode 100644
index 000000000000..6f9d6543cc1e
--- /dev/null
+++ b/sci-misc/netlogo-bin/netlogo-bin-5.0.3.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/netlogo-bin/netlogo-bin-5.0.3.ebuild,v 1.1 2013/01/07 01:08:51 creffett Exp $
+
+EAPI=5
+
+inherit eutils java-pkg-2
+
+MY_PN="netlogo"
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Cross-platform multi-agent programmable modeling environment"
+HOMEPAGE="http://ccl.northwestern.edu/netlogo/"
+SRC_URI="
+ http://dev.gentoo.org/~jlec/distfiles/${PN/-bin}.gif.tar
+ http://ccl.northwestern.edu/netlogo/${PV}/${MY_P}.tar.gz"
+LICENSE="netlogo GPL-2 LGPL-2.1 LGPL-3 BSD Apache-2.0"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=">=virtual/jre-1.5"
+
+S="${WORKDIR}"/${MY_P}
+
+QA_PREBUILT="/usr/share/"${PN}"/lib/Linux-*/*.so"
+
+src_install() {
+ insinto /usr/share/"${PN}"/
+ doins *.jar
+ java-pkg_dojar extensions/sound/*.jar
+ java-pkg_dojar extensions/profiler/*.jar
+ java-pkg_dojar extensions/array/*.jar
+ java-pkg_dojar extensions/gogo/*.jar
+ java-pkg_dojar extensions/bitmap/*.jar
+ java-pkg_dojar extensions/table/*.jar
+ java-pkg_dojar extensions/gis/*.jar
+ java-pkg_dojar lib/*.jar
+
+ dohtml -r docs/*
+ insinto /usr/share/"${PN}"/models
+ doins -r models/*
+
+ insinto /usr/share/pixmaps
+ newins "${S}"/icon.ico netlogo.ico
+
+ exeinto /opt/bin
+ newexe "${FILESDIR}"/netlogo-5.0.3.sh netlogo
+ newexe "${FILESDIR}"/netlogo-3d.sh netlogo-3d
+ newexe "${FILESDIR}"/hubnet.sh hubnet
+ make_desktop_entry netlogo "NetLogo" /usr/share/pixmaps/netlogo.ico
+ make_desktop_entry netlogo-3d "NetLogo 2D" /usr/share/pixmaps/netlogo.ico
+ make_desktop_entry hubnet "NetLogo Hubnet" /usr/share/pixmaps/netlogo.ico
+
+ #3D Libs right now only for x86
+ insinto /usr/share/"${PN}"/lib
+ doins -r lib/Linux-*
+}