# -*- 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           github 1.0
PortGroup           cmake 1.1

github.setup        tothuhien lsd2 2.4.1 v.
github.tarball_from archive
revision            0

categories          science
license             GPL-2
maintainers         {reneeotten @reneeotten} openmaintainer

description         A phylogeny dating method using least-squares algorithms and criteria
long_description    {*}${description}

checksums           rmd160  9008bec739348678cd5f7b53dc162232fa201143 \
                    sha256  3d0921c96edb8f30498dc8a27878a76d785516043fbede4a72eefd84b5955458 \
                    size    803273

destroot {
    xinstall -m 0755 ${workpath}/build/lsd2 ${destroot}${prefix}/bin/

    set docdir ${destroot}${prefix}/share/doc/${name}
    xinstall -d ${docdir}
    file copy ${worksrcpath}/examples ${docdir}
}
