# -*- 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
github.setup samtools samtools 1.9
maintainers {ryandesign @ryandesign} openmaintainer
description Tools for alignments in the SAM format
long_description SAM (Sequence Alignment/Map) Tools provide various \
utilities for manipulating alignments in the SAM \
format, including sorting, merging, indexing and \
generating alignments in a per-position format.
checksums rmd160 b7f49e1bdd569f63ec53330f43df7e5566ba8a16 \
sha256 083f688d7070082411c72c27372104ed472ed7a620591d06f928e653ebc23482 \
homepage http://www.htslib.org/
github.tarball_from releases
depends_lib port:ncurses \
build.args CC="${configure.cc} [get_canonical_archflags cc]"
xinstall -m 755 ${worksrcpath}/samtools ${destroot}${prefix}/bin
xinstall -m 644 ${worksrcpath}/libbam.a ${destroot}${prefix}/lib
xinstall -m 644 ${worksrcpath}/samtools.1 ${destroot}${prefix}/share/man/man1
xinstall -d ${destroot}${prefix}/include/bam
xinstall -m 644 {*}[glob ${worksrcpath}/*.h] ${destroot}${prefix}/include/bam
xinstall -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} \
AUTHORS LICENSE NEWS README \
${destroot}${prefix}/share/doc/${name}
test.args {*}${build.args}
depends_test-append port:htslib