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

github.setup            samtools bcftools 1.21
revision                0
checksums               rmd160  b0803d293d580a71c6c90bacd574804f8468af70 \
                        sha256  528a4cc1d3555368db75a700b22a3c95da893fd1827f6d304716dfd45ea4e282 \
                        size    7982173

categories              science
maintainers             {ryandesign @ryandesign} openmaintainer
license                 {MIT GPL-3}

description             utilities for variant calling and manipulating VCF and \
                        BCF files

long_description        BCFtools implements utilities for variant calling (in \
                        conjunction with SAMtools) and manipulating VCF and \
                        BCF files. The program is intended to replace the \
                        Perl-based tools from vcftools.

homepage                https://www.htslib.org
github.tarball_from     releases
use_bzip2               yes

depends_lib             port:htslib \
                        port:zlib

configure.args          --with-htslib=system

post-destroot {
    xinstall -d ${destroot}${prefix}/share/doc/${name}
    xinstall -m 0644 -W ${worksrcpath} \
        AUTHORS LICENSE README \
        ${destroot}${prefix}/share/doc/${name}
}
