# -*- 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

PortSystem          1.0
PortGroup           cmake 1.0

name                nifticlib
version             2.0.0
categories          graphics science
license             public-domain
maintainers         nomaintainer

description         niftilib is a collection of i/o routines for the nifti1 neuroimage data format

long_description    ${description}. C (nifticlib), Java (niftijlib), Matlab (niftimatlib), and \
    Python (pynifti) code is available. Information about the nifti format is available at \
    http://nifti.nimh.nih.gov/df

homepage            http://sourceforge.net/projects/niftilib
platforms           darwin
master_sites        sourceforge:niftilib

checksums           rmd160  7d702c3ec4c33bfb6120ac73316770cbd779a780 \
                    sha256  a3e988e6a32ec57833056f6b09f940c69e79829028da121ff2c5c6f7f94a7f88

configure.args      -DBUILD_SHARED_LIBS:BOOL=True \
                    -DCMAKE_INSTALL_NAME_DIR:STRING=${prefix}/lib

livecheck.type      regex
livecheck.regex     nifticlib-(\[0-9.\]+)${extract.suffix}