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

name                cmsvlib
epoch               1
version             2013-04-19
categories          math science
maintainers         {takeshi @tenomoto}
platforms           any
supported_archs     noarch

description         Read and Write IDL SAVE files
long_description \
    allows interactive users and programmers \
    to read, write and interrogate IDL SAVE files.
homepage http://www.physics.wisc.edu/~craigm/idl/cmsave.html
master_sites        http://www.physics.wisc.edu/~craigm/idl/down/

checksums           rmd160  0af1c59a4cb297b049f65c18b0c5346712a3c32d \
                    sha256  9d429bb1aba5bec8be7f529daacfabc1ec4822e5e346aa40b6ed05a686738fbd \
                    size    347723

extract.mkdir       yes
use_configure       no
build {
}

use_parallel_build  yes

destroot {
    xinstall -m 0755 -d ${destroot}${prefix}/share/cmsvlib
    xinstall -m 0644 {*}[glob ${worksrcpath}/*.pro] ${destroot}${prefix}/share/${name}
    xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${name}
    xinstall -m 0644 ${worksrcpath}/LICENSE.RSI ${destroot}${prefix}/share/doc/${name}/
    xinstall -m 0644 {*}[glob ${worksrcpath}/*.html] ${destroot}${prefix}/share/doc/${name}/
    xinstall -m 0644 {*}[glob ${worksrcpath}/savefmt.*] ${destroot}${prefix}/share/doc/${name}/
}
