summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Felisberto <humpback@gentoo.org>2005-03-16 16:02:44 +0000
committerGustavo Felisberto <humpback@gentoo.org>2005-03-16 16:02:44 +0000
commit35183d362b667f9388ed78fd59b0ec7083b4f302 (patch)
tree3f12c7032519be5021d14af402bc51fd5d18054f /sci-misc/netlogo-bin
parentFix Manifest (diff)
downloadgentoo-2-35183d362b667f9388ed78fd59b0ec7083b4f302.tar.gz
gentoo-2-35183d362b667f9388ed78fd59b0ec7083b4f302.tar.bz2
gentoo-2-35183d362b667f9388ed78fd59b0ec7083b4f302.zip
initial import
(Portage version: 2.0.51.19)
Diffstat (limited to 'sci-misc/netlogo-bin')
-rw-r--r--sci-misc/netlogo-bin/ChangeLog10
-rw-r--r--sci-misc/netlogo-bin/Manifest5
-rw-r--r--sci-misc/netlogo-bin/files/digest-netlogo-bin-2.11
-rw-r--r--sci-misc/netlogo-bin/files/netlogo.gifbin0 -> 93 bytes
-rw-r--r--sci-misc/netlogo-bin/files/netlogo.sh4
-rw-r--r--sci-misc/netlogo-bin/metadata.xml10
-rw-r--r--sci-misc/netlogo-bin/netlogo-bin-2.1.ebuild49
7 files changed, 79 insertions, 0 deletions
diff --git a/sci-misc/netlogo-bin/ChangeLog b/sci-misc/netlogo-bin/ChangeLog
new file mode 100644
index 000000000000..71b93d1d80f3
--- /dev/null
+++ b/sci-misc/netlogo-bin/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-misc/netlogo-bin
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/netlogo-bin/ChangeLog,v 1.1 2005/03/16 16:02:44 humpback Exp $
+
+*netlogo-bin-2.1 (16 Mar 2005)
+
+ 16 Mar 2005; Gustavo Felisberto <humpback@gentoo.org>; +metadata.xml,
+ +files/netlogo.gif, +files/netlogo.sh, +netlogo-bin-2.1.ebuild:
+ Inittial import. Thanks to axxo for the help with the deps and java eclasses.
+
diff --git a/sci-misc/netlogo-bin/Manifest b/sci-misc/netlogo-bin/Manifest
new file mode 100644
index 000000000000..7baf728421bd
--- /dev/null
+++ b/sci-misc/netlogo-bin/Manifest
@@ -0,0 +1,5 @@
+MD5 bf8ec66e917b8bccfe45e72ca7950197 metadata.xml 722
+MD5 f95113f63cf44b5e8d7f1edf10e58a6e netlogo-bin-2.1.ebuild 1027
+MD5 e80f3b27fc5a19efdc56f316c957dd48 files/digest-netlogo-bin-2.1 65
+MD5 5c160f47ddbc4d03ef13ad2fb904bf9c files/netlogo.gif 93
+MD5 07afb3302de3a59cf3b8c29f64b1d918 files/netlogo.sh 149
diff --git a/sci-misc/netlogo-bin/files/digest-netlogo-bin-2.1 b/sci-misc/netlogo-bin/files/digest-netlogo-bin-2.1
new file mode 100644
index 000000000000..8c2da9b56358
--- /dev/null
+++ b/sci-misc/netlogo-bin/files/digest-netlogo-bin-2.1
@@ -0,0 +1 @@
+MD5 d30dfb72f361d813b39999d812596811 netlogo-2.1.tar.gz 11435203
diff --git a/sci-misc/netlogo-bin/files/netlogo.gif b/sci-misc/netlogo-bin/files/netlogo.gif
new file mode 100644
index 000000000000..f7ba12b513e3
--- /dev/null
+++ b/sci-misc/netlogo-bin/files/netlogo.gif
Binary files differ
diff --git a/sci-misc/netlogo-bin/files/netlogo.sh b/sci-misc/netlogo-bin/files/netlogo.sh
new file mode 100644
index 000000000000..edc0f0af5ea1
--- /dev/null
+++ b/sci-misc/netlogo-bin/files/netlogo.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.app.App
diff --git a/sci-misc/netlogo-bin/metadata.xml b/sci-misc/netlogo-bin/metadata.xml
new file mode 100644
index 000000000000..34298b44458d
--- /dev/null
+++ b/sci-misc/netlogo-bin/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>humpback@gentoo.org</email>
+</maintainer>
+<longdescription>NetLogo is a programmable modeling environment for simulating natural and social phenomena. It is particularly well suited for modeling complex systems developing over time. Modelers can give instructions to hundreds or thousands of independent "agents" all operating concurrently. This makes it possible to explore the connection between the micro-level behavior of individuals and the macro-level patterns that emerge from the interaction of many individuals.</longdescription>
+</pkgmetadata>
diff --git a/sci-misc/netlogo-bin/netlogo-bin-2.1.ebuild b/sci-misc/netlogo-bin/netlogo-bin-2.1.ebuild
new file mode 100644
index 000000000000..4e3cd4430c3b
--- /dev/null
+++ b/sci-misc/netlogo-bin/netlogo-bin-2.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/netlogo-bin/netlogo-bin-2.1.ebuild,v 1.1 2005/03/16 16:02:44 humpback Exp $
+
+inherit eutils java-pkg
+RESTRICT="fetch"
+MY_PN="netlogo"
+MY_P=${MY_PN}-${PV}
+DESCRIPTION="NetLogo cross-platform multi-agent programmable modeling environment"
+
+HOMEPAGE="http://ccl.northwestern.edu/netlogo/"
+SRC_URI="${MY_P}.tar.gz"
+LICENSE="netlogo"
+SLOT="0"
+KEYWORDS="~x86"
+DEPEND="app-arch/unzip
+ >=virtual/jdk-1.4"
+
+RDEPEND=">=virtual/jre-1.4"
+
+IUSE=""
+
+S=${WORKDIR}/${MY_P}
+
+pkg_nofetch() {
+ einfo "Please go to ${HOMEPAGE} and download ${A} "
+ einfo "Have a look at http://ccl.northwestern.edu/netlogo/docs/copyright.html"
+ einfo "before using this software"
+}
+
+
+
+src_install() {
+ java-pkg_dojar *.jar
+ java-pkg_dojar extensions/*.jar
+
+ dohtml -r docs/*
+ insinto /usr/share/${PN}/models
+ doins -r models/*
+
+
+ insinto /usr/share/pixmaps
+ doins ${FILESDIR}/netlogo.gif
+
+ exeinto /opt/bin
+ newexe ${FILESDIR}/netlogo.sh netlogo
+
+ make_desktop_entry netlogo "NetLogo" /usr/share/pixmaps/netlogo.gif
+}