# -*- 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                EMBOSS
version             6.6.0
revision            1
categories          science
platforms           darwin
license             GPL-2 LGPL-3
maintainers         nomaintainer

description         Molecular Biology software analysis package

long_description    EMBOSS is a free Open Source software analysis package \
                    specially developed for the needs of the molecular biology user \
                    community. The software automatically copes with data \
                    in a variety of formats and even allows transparent \
                    retrieval of sequence data from the web.

homepage            http://emboss.sourceforge.net

master_sites        ftp://emboss.open-bio.org/pub/EMBOSS/ \
                    ftp://emboss.open-bio.org/pub/EMBOSS/old/${version}/ \
                    gentoo

checksums           rmd160  364870b4d31d5183cf55b70f9c692a53a849071d \
                    sha256  7184a763d39ad96bb598bfd531628a34aa53e474db9e7cac4416c2a40ab10c6e \
                    size    117962028

patchfiles          dynamic_lookup-11.patch \
                    patch-Makefile.in.diff

depends_lib         port:xorg-libX11 \
                    path:include/turbojpeg.h:libjpeg-turbo \
                    port:libiconv \
                    port:expat \
                    port:freetype \
                    port:gd2 \
                    port:libpng

configure.args      --includedir=${prefix}/include/emboss

test.run            yes
test.target         check

livecheck.type      regex
livecheck.url       [lindex ${master_sites} 0]
livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}