# -*- 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 PortGroup wxWidgets 1.0 name stimfit version 0.14.11 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 ${homepage} checksums rmd160 6d83f30a73f43dcf2b972079a267f0eebca3060f \ sha256 a5db0b43449c6c4420130a544c2ae8e7f56e8833d57c86d49063b89b898a4f25 wxWidgets.use wxPython-3.0 depends_lib port:boost \ port:fftw-3 \ port:hdf5 \ port:${wxWidgets.port} configure.args --with-wx-config=${wxWidgets.wxconfig} \ --disable-dependency-tracking \ --disable-python \ --without-biosig # 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-wxpython-3.0 \ port:py27-numpy \ port:py27-matplotlib configure.python \ ${prefix}/bin/python2.7 configure.args-replace \ --disable-python \ --enable-python } variant atlas description {Use MacPorts ATLAS libraries.} { depends_lib-append \ port:atlas configure.args-append \ --with-lapack-lib=${prefix}/lib/libatlas.a } variant biosig description {Use biosig library for file I/O.} { depends_lib-append \ port:libbiosig configure.args-replace \ --without-biosig \ --with-biosig } 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 # } default_variants-append \ +biosig destroot.destdir DESTDIR=${destroot}${applications_dir} post-destroot { set docdir ${destroot}${prefix}/share/doc/${name} xinstall -d ${docdir} xinstall -m 644 ${worksrcpath}/dist/debian/copyright \ ${worksrcpath}/COPYING ${docdir} }