Ticket #33575: Portfile

File Portfile, 1.7 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.2
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  d334ed564717a5d9892cbb0efca21b178e43caab \
17                    sha256  6dc7364d2472322caadd443db54242d699edaef72ccbe81257d084eb08d7c82b
18
19universal_variant   no
20
21supported_archs     x86_64
22 
23depends_lib         port:python27 \
24                    port:boost \
25                    port:fftw-3 \
26                    port:hdf5-18 \
27                    port:wxWidgets-devel \
28                    port:py27-wxpython-devel \
29                    port:py27-numpy \
30                    port:py27-matplotlib
31
32configure.args      --with-wx-config=${prefix}/bin/wx-config \
33                    --disable-dependency-tracking \
34                    --disable-shave \
35                    CPPFLAGS="-DH5_USE_16_API" \
36                    CFLAGS="" \
37                    CXXFLAGS="-I${prefix}/include" \
38                    LDFLAGS="-headerpad_max_install_names -L${prefix}/lib -L/usr/lib" \
39                    PYTHON=${prefix}/bin/python2.7 \
40                    CC="`${prefix}/bin/wx-config --cc`" \
41                    CXX="`${prefix}/bin/wx-config --cxx`" \
42                    LD="`${prefix}/bin/wx-config --ld`"
43
44post-destroot {
45        set appPath ${destroot}/Applications/MacPorts
46        xinstall -d ${appPath}
47        file copy ${worksrcpath}/stimfit.app ${appPath}
48}