# -*- 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                seqan-1
version             1.4.2
categories          science
platforms           any
supported_archs     noarch

license             BSD
maintainers         {mcalhoun @MarcusCalhoun-Lopez} openmaintainer

description         compatibility version of SeqAn
long_description    {*}${description}

homepage            https://www.seqan.de
master_sites        http://packages.seqan.de/seqan-library

use_bzip2           yes
distname            seqan-library-${version}

checksums           rmd160  b72a05ddfabfe4e03ea93965857b40afd0317223 \
                    sha256  77fb437c6f17d41ec41ce0a3bcc3533f91a3482ca63a3a55400e14cb73e64317 \
                    size    2618524

use_configure       no

set major           [lindex [split ${version} .] 0]

build {}

destroot {
    xinstall -d -m 0755 ${destroot}${prefix}/include/${name}
    file copy ${worksrcpath}/include/seqan ${destroot}${prefix}/include/${name}
    file copy ${worksrcpath}/share/doc/seqan ${destroot}${prefix}/share/doc/${name}
}

livecheck.type      regex
livecheck.url       http://packages.seqan.de/
livecheck.regex     seqan-library-(1.\[0-9.\]+)${extract.suffix}
