summaryrefslogtreecommitdiff
path: root/sci-misc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-03-09 16:53:27 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-03-09 16:53:27 +0000
commit80208fb578cf92cc308906660ca6d7860c6b2a1f (patch)
tree6f06818031b553c506fc10dfe9908a835df288aa /sci-misc
parent06a7b5647e11a8ddf69b1c3d3ded6a8ba28b923e (diff)
gentoo resync : 09.03.2018
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/Manifest.gzbin3408 -> 3408 bytes
-rw-r--r--sci-misc/netlogo-bin/Manifest9
-rwxr-xr-xsci-misc/netlogo-bin/files/behaviorsearch-6.0.2.sh38
-rwxr-xr-xsci-misc/netlogo-bin/files/hubnetclient-6.0.2.sh40
-rwxr-xr-xsci-misc/netlogo-bin/files/netlogo-6.0.2.sh40
-rwxr-xr-xsci-misc/netlogo-bin/files/netlogo3d-6.0.2.sh40
-rw-r--r--sci-misc/netlogo-bin/netlogo-bin-6.0.2.ebuild80
7 files changed, 246 insertions, 1 deletions
diff --git a/sci-misc/Manifest.gz b/sci-misc/Manifest.gz
index 2b85b5823574..5d025ff5f3e0 100644
--- a/sci-misc/Manifest.gz
+++ b/sci-misc/Manifest.gz
Binary files differ
diff --git a/sci-misc/netlogo-bin/Manifest b/sci-misc/netlogo-bin/Manifest
index 2256a7962019..349dfb623e8f 100644
--- a/sci-misc/netlogo-bin/Manifest
+++ b/sci-misc/netlogo-bin/Manifest
@@ -1,7 +1,14 @@
+AUX behaviorsearch-6.0.2.sh 1588 BLAKE2B 7dd66ab3e2210e6932101301942287c76f7526ca68dd9901657330f6baeae93ac834022d001fdc885b0bf2b77c278fc30f0d024bee8f866bd37e0a971c2e6036 SHA512 9f5538dcd6b6d9f7c94b147876a3ca826017814b3bd2db8689782ef1df239d052e3784107f533e265b896f541812f42310fd6597e1c047173841faf248fa592c
AUX hubnet.sh 159 BLAKE2B 58c5ad561c056db21caa67067267bd7c564b77f16b90ba97ee5397ea58df0cbfdd571cf1d5b2a2e9be5306c879e22f97ae9c8905cbb8b207ef4b4bd6c755ecd1 SHA512 dd9587ceca13079ca7a10e632e885af1ea0b5b0e15c56c989c59a0eda786982aca6465c356daebcd034ea466a956ddcd2fe923d8e749b7c94da28a9c462f6757
+AUX hubnetclient-6.0.2.sh 2007 BLAKE2B 11d3da62d0c51941e7655250c0864a42cdc11509b8bb04162f2e3b649aa181c964d667c3c9955221d16acc1f7fb0d9f56f9015c0e2df7065903165094aa584a4 SHA512 2d365440ed1b5236515a9d7ac09a4f8c3af623855bc23f52918a7295023ccac2d90ca58611519ba7a85ad10eefcd18773a8649fbe2c84b97cc15f9b7d1b297e9
AUX netlogo-3d.sh 170 BLAKE2B 841ec01083567b2a194b6ee31d30f821402848a7fd56e130df4eee3a42bc6d00ce9729ce23e018484f842c1aab09c5ef2442819ef238c23790c1d75bb16e405a SHA512 f962a3bc75a5bccbb0230bb8058da95b570139adb39fd75641f2c01e6e93e66bbe96b532294fc9bd2ac983c4c67e940638951f358e703b031b33f2f91b370860
AUX netlogo-5.0.3.sh 148 BLAKE2B 819476a2afd15b6a5a1ce4cddb7181747492faea35c77968220b5aa51bee9b83cfd654a1f9c148e1b191dceb42a4cca35a7b78bb7546d335b3a5c07e31e64391 SHA512 a0470a9725536a0d73b6ff66067545f38320898dd7c8539459857af780d12125169460ba15a87d96b0909aebbbeeb1a37d6df15f905e8585a0eab041eec78844
-DIST netlogo-5.0.3.tar.gz 66725456 BLAKE2B 85df19cd0ef501c903e9b2f2ee2a6ca39430a5f64e1086365b9a29baa3962a7e1d018001652db7da54f1d6623b477d644f7b745b30e2c3be3462f5cb4e5cb891 SHA512 39d660d5dbd7e74f072621a74bfc18648ed208b833b3d442f2a9dbefc673065c4a7bf0e4a8ebb670b4d4220ee7bec452cc97f32731a28ca2eb56656bea795b81
+AUX netlogo-6.0.2.sh 1975 BLAKE2B 63424bfc1a547593382d45747b5c20d6260488e161347fc5a5e6b85cdc27166f9bc49e223b223fb5f62247a9e9100df01f87c90b725c732291386d026a8c9a5c SHA512 94b9341d9d6999eca24f634566d707f90756aa19efab5767ab7e68bd6bb49bfea0e1769dc95895a0b4157443a5ed500470f8d7a28992b742d4f454512a53b117
+AUX netlogo3d-6.0.2.sh 2072 BLAKE2B b1e50dde00ab399ac3cd8ec4b29257c071ceb83f3e28684510e3bd12ee49bd478f96bacaab04de51799162e9ff368810c65df4c8c83459115cd49554e0988278 SHA512 2199d968bfbbec8c3346961faf3069564fe7017df3bc2426ccc60248ef9340376b378007083ee1bba6bc162dcfbc9ffe40c30331f771ae5faf9e7e9282c20c2e
+DIST NetLogo-6.0.2-32.tgz 192943415 BLAKE2B c7d20154ade89ae54f98fa08ae4832d9c81a97d1a7a93aaf0de75bd2914bae340ddd71dc3862957bf7e22863d5df9c5464a2bcd517ff0e9b087105237a8d5ac9 SHA512 ac8652a2487b01d02af0c8510ce4c80b2bf84cf2afc3d1bfbda198c1b7aeb0c5cbd85664e9841bc7704aec048482bc78306035673d2d59be67fb2ae50b63106b
+DIST NetLogo-6.0.2-64.tgz 190213078 BLAKE2B 6b0a077538f3e3f3e7769c605a67f6bb6b791319877910eac74e065091d3f6b8cd328d8b354415234b2dd9d4b96b3ca7d18074f54263f460f38b77b8dbe4b9bb SHA512 091200b66305e3ff84e9d1b9a293eaa5f6000a103de86d942c5d0f749aee52cf5519954d05807609f7c0cbeceeab15930ef48612b4f6c1445e529e876aaa9d8e
+DIST netlogo-5.0.3.tar.gz 29500644 BLAKE2B 8c71ba6b138cdf6bc999d3244ccf283720150a949526426249984ae87e50bd8bf2dab7141f9d4402c99e34463db772487347ee05c0125b996ce5424e165c19f9 SHA512 fc8d2d5a2a19ddeddec4643a06639e696cd403f605337b1b8072eb842b0f81fab1b264d386c4c0a09f7c2a44f9667b16a89f024d2fcf020ebd679b525ae9772e
DIST netlogo.gif.tar 10240 BLAKE2B 5199290ca492dc4be03dac04a672b4a187daa6caa12a5a487137259071dad156e553ca7eea02f6cd7d66187e4956324fc2d3f2818f10f1557f276f003986be69 SHA512 9a9bc81660599d2b35875f301d5b9824bfa2dafa21dc96b1e6e281d4682ab7b4052844a961b46f5300131c91a4562c58e4b1a4d753cb2b24a18e64b42d333e32
EBUILD netlogo-bin-5.0.3-r1.ebuild 1681 BLAKE2B 4907b55b86a29235e581397536fc00dd6b1ea7f0a06523cd0930b6bd9b8b176ccce8696f60f49a1b78e30d56ca68aee7c1fdfccbc48410cf53203715a136e5e1 SHA512 e3c0bf2c4b81a69fb7f9155f744a20ca34fbd8099a7a8aafad8f9b64ed6a7adab1475dbda74724fa8eadcf6eaa393ca6ed6cdae30ef53df04f738e3578e7ec3d
+EBUILD netlogo-bin-6.0.2.ebuild 2573 BLAKE2B 5e0f7e6a660dac2656fae96294cc01fb0622049a329b11551ccaaf89599f11a6fff59c490022e180d04837270ecf83e5204835a796963160120fef31c48d4983 SHA512 4b5efd20cef885027f6c0ad07c4df68a7542d72549bca1c32c941b476248685b11c022e5de767df0854d94d4d3ac64b1b474e35c32703cb31c5c972bdca8a139
MISC metadata.xml 725 BLAKE2B f74c86871b9805278ce5f84d86193437ff9c3130e91deaff4ed9871b09336d37906c732b13620faa19b89d41916a7da1a8f61edd758942d690caac2878d3c7e4 SHA512 7bd804bf2c348af64992139edfa0d6b66a69c8f451ec92be6d1d909dd49833c216b444fce22c7c7d86354a32cc73be4334ccd6a60de1a9f6d5da9053f802dc08
diff --git a/sci-misc/netlogo-bin/files/behaviorsearch-6.0.2.sh b/sci-misc/netlogo-bin/files/behaviorsearch-6.0.2.sh
new file mode 100755
index 000000000000..225f4a332cff
--- /dev/null
+++ b/sci-misc/netlogo-bin/files/behaviorsearch-6.0.2.sh
@@ -0,0 +1,38 @@
+#!/bin/bash
+
+WD="`pwd`" #store the current working directory, where this script was called from.
+
+#BehaviorSearch needs to start in the NetLogo base folder,
+# and "behaviorsearch" must be installed in a subfolder of the NetLogo folder.
+NETLOGO_DIR="$( dirname $( readlink -f "$0" ))" # the copious quoting is for handling paths with spaces
+cd "$NETLOGO_DIR"
+NETLOGO_DIR="`pwd`" #in case it's a relative path, like "."
+LIBRARY_DIR="${NETLOGO_DIR}/app"
+BSEARCH_DIR="${LIBRARY_DIR}/behaviorsearch"
+
+JARS=""
+for f in `ls -1 "$LIBRARY_DIR" | grep "jar"`; do
+ JARS="$LIBRARY_DIR/$f:$JARS"
+done
+
+# If you want to use a different version of java, or if "java" is not in your PATH,
+# you can run this script with the BSEARCH_JAVA environment variable pointing
+# to the java executable you want to use. e.g. "/opt/java6/bin/java"
+if [ -z "$BSEARCH_JAVA" ]; then
+ BSEARCH_JAVA="java"
+fi
+
+JAVA_VERSION=`"$BSEARCH_JAVA" -version 2>&1 | head -n1 | awk '{ print substr($3,2,3) }' | sed -e 's;\.;0;g'`
+if [ $JAVA_VERSION -lt 108 ]; then #108 = java 1.8
+ echo "Sorry, this program requires Java Runtime Environment 1.8 or higher"
+ exit 1
+fi
+
+# If you have enough RAM, up the '1536m' below to '2048m' or more.
+# Or you can set the BSEARCH_MAXMEM environment variable when running the script
+# More RAM is especially helpful for multiple threads/parallel execution.
+if [ -z "$BSEARCH_MAXMEM" ]; then
+ BSEARCH_MAXMEM=1536m
+fi
+
+"$BSEARCH_JAVA" -Dbsearch.startupfolder="$WD" -Dbsearch.appfolder="$BSEARCH_DIR" -server -Xms256m "-Xmx$BSEARCH_MAXMEM" -classpath "$JARS" bsearch.app.BehaviorSearch "$@"
diff --git a/sci-misc/netlogo-bin/files/hubnetclient-6.0.2.sh b/sci-misc/netlogo-bin/files/hubnetclient-6.0.2.sh
new file mode 100755
index 000000000000..3fb98d0909f1
--- /dev/null
+++ b/sci-misc/netlogo-bin/files/hubnetclient-6.0.2.sh
@@ -0,0 +1,40 @@
+#!/bin/bash
+
+BASE_DIR="$( cd "$( dirname $( readlink -f "${BASH_SOURCE[0]}" ) )" && pwd -P )"
+
+if [[ ${JAVA_HOME+1} ]]; then
+ JAVA="${JAVA_HOME}/bin/java"
+else
+ echo "JAVA_HOME undefined, using java from path. For control over exact java version, set JAVA_HOME"
+ JAVA="java"
+fi;
+
+# -Xmx1024m use up to 1GB RAM (edit to increase)
+# -Dfile.encoding=UTF-8 ensure Unicode characters in model files are compatible cross-platform
+JVM_OPTS=(-Xmx1024m -Dfile.encoding=UTF-8)
+OPTS_INDEX=2
+
+ARGS=()
+INDEX=0
+
+for arg in "$@"; do
+ if [[ "$arg" == -D* ]]; then
+ JVM_OPTS[OPTS_INDEX++]="$arg"
+ else
+ ARGS[INDEX++]="$arg"
+ fi
+done
+
+RAW_CLASSPATH="args4j-2.0.12.jar:asm-all-5.0.4.jar:asm-all-5.0.4.jar:autolink-0.6.0.jar:behaviorsearch.jar:commons-codec-1.10.jar:commons-logging-1.1.1.jar:config-1.3.1.jar:flexmark-0.20.0.jar:flexmark-ext-autolink-0.20.0.jar:flexmark-ext-escaped-character-0.20.0.jar:flexmark-ext-typographic-0.20.0.jar:flexmark-formatter-0.20.0.jar:flexmark-util-0.20.0.jar:gluegen-rt-2.3.2.jar:httpclient-4.2.jar:httpcore-4.2.jar:httpmime-4.2.jar:jcommon-1.0.16.jar:jfreechart-1.0.13.jar:jhotdraw-6.0b1.jar:jmf-2.1.1e.jar:jogl-all-2.3.2.jar:json-simple-1.1.1.jar:log4j-1.2.16.jar:macro-compat_2.12-1.1.1.jar:macro-compat_2.12-1.1.1.jar:netlogo-6.0.2.jar:parboiled_2.12-2.1.3.jar:parboiled_2.12-2.1.3.jar:picocontainer-2.13.6.jar:picocontainer-2.13.6.jar:rsyntaxtextarea-2.6.0.jar:scala-library-2.12.2.jar:scala-parser-combinators_2.12-1.0.5.jar:shapeless_2.12-2.3.2.jar:shapeless_2.12-2.3.2.jar"
+CLASSPATH=''
+
+for jar in `echo $RAW_CLASSPATH | sed 's/:/ /g'`; do
+ CLASSPATH="$CLASSPATH:$BASE_DIR/app/$jar"
+done
+
+CLASSPATH=`echo $CLASSPATH | sed 's/://'`
+
+# -classpath .... specify jars
+# org.nlogo.headless.Main specify we want headless, not GUI
+# "${ARGS[0]}" pass along any additional arguments
+java "${JVM_OPTS[@]}" -Dnetlogo.extensions.dir="${BASE_DIR}/app/extensions" -classpath "$CLASSPATH" -Dorg.nlogo.is3d=true org.nlogo.hubnet.client.App "${ARGS[@]}"
diff --git a/sci-misc/netlogo-bin/files/netlogo-6.0.2.sh b/sci-misc/netlogo-bin/files/netlogo-6.0.2.sh
new file mode 100755
index 000000000000..5ad35832ba28
--- /dev/null
+++ b/sci-misc/netlogo-bin/files/netlogo-6.0.2.sh
@@ -0,0 +1,40 @@
+#!/bin/bash
+
+BASE_DIR="$( cd "$( dirname $( readlink -f "${BASH_SOURCE[0]}" ) )" && pwd -P )"
+
+if [[ ${JAVA_HOME+1} ]]; then
+ JAVA="${JAVA_HOME}/bin/java"
+else
+ echo "JAVA_HOME undefined, using java from path. For control over exact java version, set JAVA_HOME"
+ JAVA="java"
+fi;
+
+# -Xmx1024m use up to 1GB RAM (edit to increase)
+# -Dfile.encoding=UTF-8 ensure Unicode characters in model files are compatible cross-platform
+JVM_OPTS=(-Xmx1024m -Dfile.encoding=UTF-8)
+OPTS_INDEX=2
+
+ARGS=()
+INDEX=0
+
+for arg in "$@"; do
+ if [[ "$arg" == -D* ]]; then
+ JVM_OPTS[OPTS_INDEX++]="$arg"
+ else
+ ARGS[INDEX++]="$arg"
+ fi
+done
+
+RAW_CLASSPATH="args4j-2.0.12.jar:asm-all-5.0.4.jar:asm-all-5.0.4.jar:autolink-0.6.0.jar:behaviorsearch.jar:commons-codec-1.10.jar:commons-logging-1.1.1.jar:config-1.3.1.jar:flexmark-0.20.0.jar:flexmark-ext-autolink-0.20.0.jar:flexmark-ext-escaped-character-0.20.0.jar:flexmark-ext-typographic-0.20.0.jar:flexmark-formatter-0.20.0.jar:flexmark-util-0.20.0.jar:gluegen-rt-2.3.2.jar:httpclient-4.2.jar:httpcore-4.2.jar:httpmime-4.2.jar:jcommon-1.0.16.jar:jfreechart-1.0.13.jar:jhotdraw-6.0b1.jar:jmf-2.1.1e.jar:jogl-all-2.3.2.jar:json-simple-1.1.1.jar:log4j-1.2.16.jar:macro-compat_2.12-1.1.1.jar:macro-compat_2.12-1.1.1.jar:netlogo-6.0.2.jar:parboiled_2.12-2.1.3.jar:parboiled_2.12-2.1.3.jar:picocontainer-2.13.6.jar:picocontainer-2.13.6.jar:rsyntaxtextarea-2.6.0.jar:scala-library-2.12.2.jar:scala-parser-combinators_2.12-1.0.5.jar:shapeless_2.12-2.3.2.jar:shapeless_2.12-2.3.2.jar"
+CLASSPATH=''
+
+for jar in `echo $RAW_CLASSPATH | sed 's/:/ /g'`; do
+ CLASSPATH="$CLASSPATH:$BASE_DIR/app/$jar"
+done
+
+CLASSPATH=`echo $CLASSPATH | sed 's/://'`
+
+# -classpath .... specify jars
+# org.nlogo.headless.Main specify we want headless, not GUI
+# "${ARGS[0]}" pass along any additional arguments
+java "${JVM_OPTS[@]}" -Dnetlogo.extensions.dir="${BASE_DIR}/app/extensions" -classpath "$CLASSPATH" org.nlogo.app.App "${ARGS[@]}"
diff --git a/sci-misc/netlogo-bin/files/netlogo3d-6.0.2.sh b/sci-misc/netlogo-bin/files/netlogo3d-6.0.2.sh
new file mode 100755
index 000000000000..5db1d3a2847b
--- /dev/null
+++ b/sci-misc/netlogo-bin/files/netlogo3d-6.0.2.sh
@@ -0,0 +1,40 @@
+#!/bin/bash
+
+BASE_DIR="$( cd "$( dirname $( readlink -f "${BASH_SOURCE[0]}" ) )" && pwd -P )"
+
+if [[ ${JAVA_HOME+1} ]]; then
+ JAVA="${JAVA_HOME}/bin/java"
+else
+ echo "JAVA_HOME undefined, using java from path. For control over exact java version, set JAVA_HOME"
+ JAVA="java"
+fi;
+
+# -Xmx1024m use up to 1GB RAM (edit to increase)
+# -Dfile.encoding=UTF-8 ensure Unicode characters in model files are compatible cross-platform
+JVM_OPTS=(-Xmx1024m -Dfile.encoding=UTF-8)
+OPTS_INDEX=2
+
+ARGS=()
+INDEX=0
+
+for arg in "$@"; do
+ if [[ "$arg" == -D* ]]; then
+ JVM_OPTS[OPTS_INDEX++]="$arg"
+ else
+ ARGS[INDEX++]="$arg"
+ fi
+done
+
+RAW_CLASSPATH="args4j-2.0.12.jar:asm-all-5.0.4.jar:asm-all-5.0.4.jar:autolink-0.6.0.jar:behaviorsearch.jar:commons-codec-1.10.jar:commons-logging-1.1.1.jar:config-1.3.1.jar:flexmark-0.20.0.jar:flexmark-ext-autolink-0.20.0.jar:flexmark-ext-escaped-character-0.20.0.jar:flexmark-ext-typographic-0.20.0.jar:flexmark-formatter-0.20.0.jar:flexmark-util-0.20.0.jar:gluegen-rt-2.3.2.jar:httpclient-4.2.jar:httpcore-4.2.jar:httpmime-4.2.jar:jcommon-1.0.16.jar:jfreechart-1.0.13.jar:jhotdraw-6.0b1.jar:jmf-2.1.1e.jar:jogl-all-2.3.2.jar:json-simple-1.1.1.jar:log4j-1.2.16.jar:macro-compat_2.12-1.1.1.jar:macro-compat_2.12-1.1.1.jar:netlogo-6.0.2.jar:parboiled_2.12-2.1.3.jar:parboiled_2.12-2.1.3.jar:picocontainer-2.13.6.jar:picocontainer-2.13.6.jar:rsyntaxtextarea-2.6.0.jar:scala-library-2.12.2.jar:scala-parser-combinators_2.12-1.0.5.jar:shapeless_2.12-2.3.2.jar:shapeless_2.12-2.3.2.jar"
+CLASSPATH=''
+
+for jar in `echo $RAW_CLASSPATH | sed 's/:/ /g'`; do
+ CLASSPATH="$CLASSPATH:$BASE_DIR/app/$jar"
+done
+
+CLASSPATH=`echo $CLASSPATH | sed 's/://'`
+
+# -classpath .... specify jars
+# org.nlogo.headless.Main specify we want headless, not GUI
+# "${ARGS[0]}" pass along any additional arguments
+java "${JVM_OPTS[@]}" -Dnetlogo.extensions.dir="${BASE_DIR}/app/extensions" -classpath "$CLASSPATH" -Dorg.nlogo.is3d=true -Djava.library.path="${BASE_DIR}/app/natives/linux-amd64/:${env_var:PATH}" org.nlogo.app.App "${ARGS[@]}"
diff --git a/sci-misc/netlogo-bin/netlogo-bin-6.0.2.ebuild b/sci-misc/netlogo-bin/netlogo-bin-6.0.2.ebuild
new file mode 100644
index 000000000000..ae454d5e6ce7
--- /dev/null
+++ b/sci-misc/netlogo-bin/netlogo-bin-6.0.2.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit desktop
+
+MY_PN="NetLogo"
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Cross-platform multi-agent programmable modeling environment"
+HOMEPAGE="http://ccl.northwestern.edu/netlogo/"
+SRC_URI="
+ https://dev.gentoo.org/~jlec/distfiles/${PN/-bin}.gif.tar
+ amd64? ( http://ccl.northwestern.edu/netlogo/${PV}/${MY_P}-64.tgz )
+ x86? ( http://ccl.northwestern.edu/netlogo/${PV}/${MY_P}-32.tgz )
+"
+LICENSE="netlogo GPL-2 LGPL-2.1 LGPL-3 BSD Apache-2.0"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=">=virtual/jre-1.8"
+
+S="${WORKDIR}/${MY_PN} ${PV}"
+
+DOCS=( "NetLogo User Manual.pdf" app/docs/shapes.nlogo readme.md )
+HTML_DOCS=( app/docs app/behaviorsearch/documentation )
+
+QA_PREBUILT="opt/netlogo/app/natives/linux-*/*.so"
+
+src_prepare() {
+ default
+ cp "${FILESDIR}"/netlogo-${PV}.sh netlogo.sh
+ cp "${FILESDIR}"/netlogo3d-${PV}.sh netlogo3d.sh
+ cp "${FILESDIR}"/behaviorsearch-${PV}.sh behaviorsearch.sh
+ cp "${FILESDIR}"/hubnetclient-${PV}.sh hubnetclient.sh
+ if use x86; then
+ sed -i -e 's/linux-amd64/linux-i586/g' netlogo3d.sh
+ fi
+}
+
+src_install() {
+ einstalldocs
+
+ # Override the config files so they don't use the bundled java path
+ sed -i -e 's/app.runtime=.*/app.runtime=$JAVA_HOME/g' app/*.cfg
+
+ # Once docs are installed, remove them from the source so they don't get
+ # installed below
+ rm -rf app/docs app/behaviorsearch/documentation
+ insinto /opt/netlogo
+ doins -r app/
+ doins -r "Mathematica Link"
+
+ doicon "${WORKDIR}"/netlogo.gif
+
+ exeinto /opt/netlogo/
+ # We don't copy the NetLogo binaries since they are hardcoded to use embedded java
+ doexe netlogo.sh
+ doexe netlogo3d.sh
+ doexe behaviorsearch.sh
+ doexe hubnetclient.sh
+ doexe netlogo-headless.sh
+ doexe app/behaviorsearch/behaviorsearch_headless.sh
+
+ insinto /opt/bin
+ dosym ../netlogo/netlogo.sh /opt/bin/netlogo.sh
+ dosym ../netlogo/netlogo3d.sh /opt/bin/netlogo3d.sh
+ dosym ../netlogo/behaviorsearch.sh /opt/bin/behaviorsearch.sh
+ dosym ../netlogo/hubnetclient.sh /opt/bin/hubnetclient.sh
+ dosym ../netlogo/netlogo-headless.sh /opt/bin/netlogo-headless.sh
+ dosym ../netlogo/behaviorsearch_headless.sh /opt/bin/behaviorsearch_headless.sh
+
+ make_desktop_entry behaviorsearch.sh "NetLogo Behavior Search" /usr/share/pixmaps/netlogo.gif
+ make_desktop_entry netlogo.sh "NetLogo" /usr/share/pixmaps/netlogo.gif
+ make_desktop_entry netlogo3d.sh "NetLogo 3D" /usr/share/pixmaps/netlogo.gif
+ make_desktop_entry hubnetclient.sh "NetLogo Hubnet Client" /usr/share/pixmaps/netlogo.gif
+}