| 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$ |
| 3 |
PortSystem 1.0 |
| 4 |
PortGroup cmake 1.0 |
| 5 |
|
| 6 |
name libbiosig |
| 7 |
version 2.3.1 |
| 8 |
categories science |
| 9 |
platforms darwin |
| 10 |
license GPL-3+ |
| 11 |
maintainers {gmx.de:christsc @neurodroid} |
| 12 |
description I/O library for biomedical data |
| 13 |
long_description BioSig is a library for accessing files in several \ |
| 14 |
biomedical data formats (including EDF, BDF, GDF, \ |
| 15 |
BrainVision, BCI2000, CFWB, HL7aECG, SCP_ECG (EN1064), \ |
| 16 |
MFER, ACQ, CNT(Neuroscan), DEMG, EGI, EEG1100, FAMOS, \ |
| 17 |
SigmaPLpro, TMS32) |
| 18 |
homepage http://biosig.sourceforge.net/index.html |
| 19 |
master_sites sourceforge:biosig |
| 20 |
master_sites.mirror_subdir \ |
| 21 |
/BioSig%20for%20C_C++/src |
| 22 |
distname biosig-${version}.src |
| 23 |
worksrcdir biosig-${version}/biosig4c++ |
| 24 |
checksums rmd160 e6ea3f5940bb5a07cbf54d5c1a673ddf1cb2bd12 \ |
| 25 |
sha256 1edf6228ac99456d551ba88c997a493d39fc9ca09f4442e27e1470a30c3a34b9 |
| 26 |
|
| 27 |
depends_build-append \ |
| 28 |
port:gawk |
| 29 |
depends_lib port:SuiteSparse_CHOLMOD \ |
| 30 |
port:zlib \ |
| 31 |
port:libiconv |
| 32 |
|
| 33 |
cmake.out_of_source yes |
| 34 |
|
| 35 |
configure.args-append \ |
| 36 |
-DUSE_SUITESPARSE=ON \ |
| 37 |
-DUSE_ZLIB=ON \ |
| 38 |
-DZLIB_INCLUDE_DIR=${prefix}/include \ |
| 39 |
-DZLIB_LIBRARY=${prefix}/lib/libz.dylib \ |
| 40 |
-DICONV_LIBRARY=${prefix}/lib/libiconv.dylib \ |
| 41 |
-DCHOLMOD_LIBRARY=${prefix}/lib/libcholmod.dylib |
| 42 |
|
| 43 |
configure.cflags-append \ |
| 44 |
-DMACPORTS |
| 45 |
|
| 46 |
configure.cxxflags-append \ |
| 47 |
-DMACPORTS |
| 48 |
|
| 49 |
livecheck.regex biosig-(\[0-9a-z.\]+)\\.src${extract.suffix} |