Update Portfile generation scripts

parent 9325eb1f
......@@ -38,7 +38,7 @@ sudo port uninstall py-stfio
sudo port clean --all py-stfio
sudo port uninstall py27-stfio
sudo port clean --all py27-stfio
sudo port uninstall py34-stfio
sudo port clean --all py34-stfio
sudo port uninstall py35-stfio
sudo port clean --all py35-stfio
sudo port uninstall py36-stfio
sudo port clean --all py36-stfio
......@@ -19,7 +19,7 @@ distname stimfit-${version}
checksums rmd160 RMD160 \
sha256 SHA256
python.versions 27 34 35
python.versions 27 35 36
if { ${name} ne ${subport} } {
depends_build port:swig-python
......@@ -50,7 +50,7 @@ if { ${name} ne ${subport} } {
${worksrcpath}/COPYING ${docdir}
}
variant biosig description {Use biosig library for file I/O.} {
variant biosig conflicts biosiglite description {Use external biosig library for file I/O.} {
depends_lib-append \
port:libbiosig
......@@ -59,5 +59,11 @@ if { ${name} ne ${subport} } {
--with-biosig2
}
default_variants +biosig
variant biosiglite conflicts biosig description {Use internal biosiglite library for file I/O.} {
configure.args-replace \
--without-biosig \
--with-biosiglite
}
default_variants +biosiglite
}
......@@ -57,7 +57,7 @@ variant atlas description {Use MacPorts ATLAS libraries.} {
--with-lapack-lib=${prefix}/lib/libatlas.a
}
variant biosig description {Use biosig library for file I/O.} {
variant biosig conflicts biosiglite description {Use external biosig library for file I/O.} {
depends_lib-append \
port:libbiosig
......@@ -66,6 +66,12 @@ variant biosig description {Use biosig library for file I/O.} {
--with-biosig2
}
variant biosiglite conflicts biosig description {Use internal biosiglite library for file I/O.} {
configure.args-replace \
--without-biosig \
--with-biosiglite
}
configure.ldflags-append \
-headerpad_max_install_names
......@@ -74,7 +80,7 @@ configure.ldflags-append \
default_variants +python27
# }
default_variants-append \
+biosig
+biosiglite
destroot.destdir DESTDIR=${destroot}${applications_dir}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment