From 6acd3e97dbd208011115a2aaa59831a15858cc5c Mon Sep 17 00:00:00 2001
From: Dilawar Singh <dilawars@ncbs.res.in>
Date: Thu, 29 Oct 2015 19:17:46 +0530
Subject: [PATCH] Added port file. Needs to improve the long description.

---
 moose-core       |  2 +-
 moose-examples   |  2 +-
 scripts/Portfile | 50 ++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 52 insertions(+), 2 deletions(-)
 create mode 100644 scripts/Portfile

diff --git a/moose-core b/moose-core
index 1d6208f2..26305688 160000
--- a/moose-core
+++ b/moose-core
@@ -1 +1 @@
-Subproject commit 1d6208f2a5cbe7cc43ac2bfd1edf43c4ee385619
+Subproject commit 263056886eb6223ce6851e92e8d1eb856e21fbd4
diff --git a/moose-examples b/moose-examples
index 5ee6868b..00942d24 160000
--- a/moose-examples
+++ b/moose-examples
@@ -1 +1 @@
-Subproject commit 5ee6868b2796bdfd74c127cba6b7b5f35d5caed9
+Subproject commit 00942d24fe21089d2aab4f5494d75d5126e5eb57
diff --git a/scripts/Portfile b/scripts/Portfile
new file mode 100644
index 00000000..c968710f
--- /dev/null
+++ b/scripts/Portfile
@@ -0,0 +1,50 @@
+# $Id$
+
+PortSystem              1.0
+
+name                    moose
+version                 3.0.2
+categories              science
+platforms               darwin
+maintainers             dilawars \
+                        ncbs.res.in:dilawars
+description             MOOSE is the Multiscale Object-Oriented Simulation \
+                        Environment.
+long_description        MOOSE is the Multiscale Object-Oriented Simulation \
+                        Environment.
+
+homepage                http://moose.ncbs.res.in
+fetch.type              git
+fetch.ignore_sslcert    yes
+git.url                 https://github.com/BhallaLab/moose-core
+git.branch              master
+license                 GPL-3
+
+
+depends_build           port:cmake \
+                        port:python27 \
+                        port:gsl  \
+                        port:hdf5 \
+
+depends_lib             port:gsl \
+                        port:hdf5 \
+                        port:py27-matplotlib \
+                        port:py27-numpy \
+                        port:python27 \
+
+set python_branch       2.7
+
+configure.cmd {
+    mkdir -p _build
+    cd _build 
+    cmake -DCMAKE_INSTALL_PREFIX=${prefix} ..
+}
+configure.args          VERBOSE=1 
+configure.pre_args      ""
+configure.post_args     ""
+
+build.cmd               cd _build && make 
+build.pre_args          ""
+build.post_args         ""
+
+test.cmd                cd _build && ctest --output-on-failure
-- 
GitLab