# -*- 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: Portfile 53132 2009-06-30 06:18:50Z ryandesign@macports.org $
PortSystem          1.0
PortGroup           cmake 1.0
name                nifticlib
version             1.1.0
revision            1
categories          graphics science
maintainers         jameskyle
description         niftilib is a collection of i/o routines for the nifti1 neuroimage data format.
long_description    niftilib is a collection of i/o routines for the nifti1 neuroimage data format. 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           md5     671c020b3ad54ecdae595983a7d73f79 \
                    sha1    f1837fa6b99e32f9f80a73ebda56ff5e1e9d6efd \
                    rmd160  3d70405085b3c432638baa48c71669b1235d385e

configure.args-append -DBUILD_SHARED_LIBS:BOOL=True \
                      -DCMAKE_INSTALL_NAME_DIR:STRING=${prefix}/lib
livecheck.url http://sourceforge.net/export/rss2_projfiles.php?project=niftilib
livecheck.regex {nifticlib-([0-9.]+).tar.gz}
