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

PortSystem          1.0
PortGroup           cmake 1.0

name                seqan-apps
version             2.1.1
categories          science
platforms           darwin
universal_variant   no

license             BSD LGPL-3 GPL-3
maintainers         fu-berlin.de:rene.rahn

description         Applications distributed with the SeqAn library

long_description    SeqAn applications for the analysis of large sets of sequences, e.g. \
                    read mapping, genome comparison, local alignment, data mining.

homepage            http://www.seqan.de/projects

depends_build-append    port:boost port:coinor-liblemon

master_sites        http://packages.seqan.de/seqan-src
distfiles           seqan-src-${version}${extract.suffix}
distname            seqan-seqan-v${version}

checksums           rmd160  30996a718192e49f62843d0fe09cffdf96c92342 \
                    sha256  df083d5939d7e73fd00bbc6bb291ac7ea7b8d446cf89a9758fdffdc0eca9ec1c

# llvm-gcc42 is broken and won't be fixed anymore, see: https://trac.macports.org/ticket/40713
# For OpenMP only the apple clang version really needs to be blacklisted.
# Macports clang-3.8 and higher fully support OpenMP 3.1, so we make them the default fallback option and remove gcc from this list.

compiler.blacklist  *gcc* *clang-3.7 *clang-3.6 *clang-3.5 *clang-3.4 *clang-3.3 *dragonegg*
compiler.fallback   macports-clang-3.9 macports-clang-3.8

configure.args-append   -DSEQAN_BUILD_SYSTEM=SEQAN_RELEASE_APPS

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