source: trunk/dports/science/stimfit/Portfile

Last change on this file was 147494, checked in by mmoll@…, 20 months ago

hdf5: update to version 1.10.0, bump revision of ports that depend on hdf5 and need to be rebuilt. closes #51062

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
1# -*- 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
2# $Id: Portfile 147494 2016-04-05 20:52:07Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           wxWidgets 1.0
6
7name                stimfit
8version             0.14.13
9revision            1
10categories          science
11platforms           darwin
12license             GPL-2
13maintainers         gmx.de:christsc
14description         Electrophysiology analysis suite
15long_description    A program for viewing and analyzing electrophysiological data
16homepage            http://www.stimfit.org
17master_sites        ${homepage}
18
19checksums           rmd160  bdf89fe65cb65c0a3f40e0abe9c832a6e623afed \
20                    sha256  e3dd771129fea5bb6a250da4594bd2ba52e6fd73272b5d51ef2c005d38a0b7f3
21
22wxWidgets.use       wxPython-3.0
23
24depends_lib         port:boost \
25                    port:fftw-3 \
26                    port:hdf5 \
27                    port:${wxWidgets.port}
28
29configure.args      --with-wx-config=${wxWidgets.wxconfig} \
30                    --disable-dependency-tracking \
31                    --disable-python \
32                    --without-biosig
33
34# Only Python 2.7 is supported until wxpython gets available for Python 3.x
35variant python27 description {Build with Python shell.} {
36    depends_build-append \
37        port:swig-python
38
39    depends_lib-append \
40        port:python27 \
41        port:py27-wxpython-3.0 \
42        port:py27-numpy \
43        port:py27-matplotlib
44
45    configure.python \
46        ${prefix}/bin/python2.7
47
48    configure.args-replace \
49        --disable-python \
50        --enable-python
51}
52
53variant atlas description {Use MacPorts ATLAS libraries.} {
54    depends_lib-append \
55        port:atlas
56
57    configure.args-append \
58        --with-lapack-lib=${prefix}/lib/libatlas.a
59}
60
61variant biosig description {Use biosig library for file I/O.} {
62    depends_lib-append \
63        port:libbiosig
64
65    configure.args-replace \
66        --without-biosig \
67        --with-biosig
68}
69
70configure.ldflags-append \
71                    -headerpad_max_install_names
72
73# Commented out for now; will be required when wxpython gets available for Python 3.x
74# if {![variant_isset python27]} {
75default_variants    +python27
76# }
77default_variants-append \
78                    +biosig
79
80destroot.destdir    DESTDIR=${destroot}${applications_dir}
81
82post-destroot {
83    set docdir ${destroot}${prefix}/share/doc/${name}
84    xinstall -d ${docdir}
85    xinstall -m 644 ${worksrcpath}/dist/debian/copyright \
86        ${worksrcpath}/COPYING ${docdir}
87}
Note: See TracBrowser for help on using the repository browser.