# -*- 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.12.4 revision 2 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 wxWidgets.use wxPython-3.0 depends_lib port:boost \ port:fftw-3 \ port:hdf5-18 \ port:${wxWidgets.port} configure.args --with-wx-config=${wxWidgets.wxconfig} \ --disable-dependency-tracking \ --disable-python \ CC="`${wxWidgets.wxconfig} --cc`" \ CXX="`${wxWidgets.wxconfig} --cxx`" \ LD="`${wxWidgets.wxconfig} --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-wxpython-3.0 \ 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} }