Revision
107508
Author
ciserlohn@macports.org
Date
2013-07-01 14:09:21 -0700 (Mon, 01 Jul 2013)

Log Message

stimfit: new port (#33575)

Added Paths

Diff

Added: trunk/dports/science/stimfit/Portfile (0 => 107508)


--- trunk/dports/science/stimfit/Portfile	                        (rev 0)
+++ trunk/dports/science/stimfit/Portfile	2013-07-01 21:09:21 UTC (rev 107508)
@@ -0,0 +1,72 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+
+name                stimfit
+version             0.12.4
+categories          science
+platforms           darwin
+license             GPL-2
+maintainers         gmx.de:christsc
+description         Electrophysiology analysis suite
+long_description    A program for viewing and analyzing electrophysiological data
+homepage            http://www.stimfit.org
+master_sites        googlecode:stimfit
+
+checksums           rmd160  042ef333806e960f5b18a911fe4a2ca96d9e4093 \
+                    sha256  3ca98068941f0544fa869bdfc0aae3145ed811e76d237d361eef60f11dfadc0f
+
+universal_variant   no
+
+supported_archs     i386 x86_64
+
+depends_lib         port:boost \
+                    port:fftw-3 \
+                    port:hdf5-18 \
+                    port:wxWidgets30
+
+configure.args      --with-wx-config=${prefix}/bin/wx-config \
+                    --disable-dependency-tracking \
+                    --disable-python \
+                    CC="`${prefix}/bin/wx-config --cc`" \
+                    CXX="`${prefix}/bin/wx-config --cxx`" \
+                    LD="`${prefix}/bin/wx-config --ld`"
+
+# Only Python 2.7 is supported until wxpython gets available for Python 3.x
+variant python27 description {Build with Python shell.} {
+    depends_build-append \
+        port:swig-python
+
+    depends_lib-append \
+        port:python27 \
+        port:py27-wxpython30 \
+        port:py27-numpy \
+        port:py27-matplotlib
+
+    configure.python \
+        ${prefix}/bin/python2.7
+
+    configure.args-delete \
+        --disable-python
+
+    configure.args-append \
+        --enable-python
+}
+
+configure.ldflags-append \
+                    -headerpad_max_install_names
+
+# Commented out for now; will be required when wxpython gets available for Python 3.x
+# if {![variant_isset python27]} { 
+default_variants    +python27
+# }
+
+destroot.destdir    DESTDIR=${destroot}${applications_dir}
+
+post-destroot {
+    set docdir ${destroot}${prefix}/share/doc/${name}
+    xinstall -d ${docdir}
+    xinstall -m 644 ${worksrcpath}/debian/copyright \
+        ${worksrcpath}/COPYING ${docdir}
+}
Property changes on: trunk/dports/science/stimfit/Portfile
___________________________________________________________________

Added: svn:keywords

Added: svn:eol-style