# -*- 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.22
revision                0
checksums               rmd160  66270d4becd7e147edc91643633aaaadb9169e61 \
                        sha256  f2ab9e2f605b1203a7e9cbfb0a3eb7689322297f8c34b45dc5237fe57d98489f \
                        size    8176878

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}
}
