Ticket #33575: Portfile.2

File Portfile.2, 1.9 KB (added by neurodroid (Christoph Schmidt-Hieber), 12 years ago)

stimfit Portfile

Line 
1# $Id$
2
3PortSystem          1.0
4
5name                stimfit
6version             0.11.3
7categories          science
8platforms           darwin
9license             GPL
10maintainers         gmx.de:christsc
11description         Electrophysiology analysis suite
12long_description    A program for viewing and analyzing electrophysiological data
13homepage            http://www.stimfit.org
14master_sites        https://stimfit.googlecode.com/files/
15
16checksums           rmd160  af6f69b2751de38c573e226ebbc3e0de84a3e10a \
17                    sha256  b579960b1c2de3ce33abb71e83c177f41ee7c5d13a21dabd440460e45245a152
18
19universal_variant   no
20
21supported_archs     x86_64
22 
23depends_lib         port:boost \
24                    port:fftw-3 \
25                    port:hdf5-18 \
26                    port:wxWidgets-devel
27
28# Pending py26-wxpython-devel to be released
29# variant python26 description {Use Python version 2.6 (always enabled at this time)} {
30#     depends_lib-append \
31#         port:python26 \
32#         port:py26-wxpython-devel \
33#         port:py26-numpy \
34#         port:py26-matplotlib
35
36#     configure.python \
37#         ${prefix}/bin/python2.6
38# }
39
40variant python27 description {Use Python version 2.7 (always enabled at this time)} {
41    depends_lib-append \
42        port:python27 \
43        port:py27-wxpython-devel \
44        port:py27-numpy \
45        port:py27-matplotlib
46
47    configure.python \
48        ${prefix}/bin/python2.7
49}
50
51configure.args      --with-wx-config=${prefix}/bin/wx-config \
52                    --disable-dependency-tracking \
53                    --disable-shave \
54                    CC="`${prefix}/bin/wx-config --cc`" \
55                    CXX="`${prefix}/bin/wx-config --cxx`" \
56                    LD="`${prefix}/bin/wx-config --ld`"
57
58configure.ldflags-append \
59                    -headerpad_max_install_names
60
61if {![variant_isset python27]} {
62    default_variants +python27
63}
64
65destroot.destdir    DESTDIR=${destroot}${applications_dir}