-
Notifications
You must be signed in to change notification settings - Fork 25
/
Portfile.in
69 lines (56 loc) · 2.07 KB
/
Portfile.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# -*- 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 python 1.0
name py-stfio
version STFVERSION
categories python science
platforms darwin
license GPL-2
maintainers {gmx.de:christsc @neurodroid}
description Electrophysiology file support for Python
long_description A Python module to read common electrophysiology file formats.
homepage http://www.stimfit.org
master_sites ${homepage}
distname stimfit-${version}
checksums rmd160 RMD160 \
sha256 SHA256
python.versions 27 35 36 37
if { ${name} ne ${subport} } {
depends_build port:swig-python
depends_lib port:boost \
port:hdf5 \
port:py${python.version}-cvxopt \
port:py${python.version}-matplotlib \
port:py${python.version}-numpy
configure.args --disable-dependency-tracking \
--enable-module \
--without-biosig
configure.python \
${python.bin}
use_configure yes
build.cmd make
build.target
destroot.cmd make
destroot.destdir \
DESTDIR=${destroot}
post-destroot {
set docdir ${destroot}${prefix}/share/doc/${subport}
xinstall -d ${docdir}
xinstall -m 644 ${worksrcpath}/dist/debian/copyright \
${worksrcpath}/COPYING ${docdir}
}
variant biosig conflicts biosiglite description {Use external biosig library for file I/O.} {
depends_lib-append \
port:libbiosig
configure.args-replace \
--without-biosig \
--with-biosig2
}
variant biosiglite conflicts biosig description {Use internal biosiglite library for file I/O.} {
configure.args-replace \
--without-biosig \
--with-biosiglite
}
default_variants +biosiglite
}