# -*- 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                fsplib
version             0.14
categories          devel
maintainers         nomaintainer
license             Permissive

description         fsplib is an independent implementation of the FSP \
                    protocol written in C.
long_description    {*}${description}

homepage            http://fsp.sourceforge.net/fsplib.html
master_sites        sourceforge:project/fsp/fsplib/${version}
platforms           darwin

checksums           rmd160  6b3c6058aa8186d964f1d766472adc351e83bada \
                    sha256  a42d900cf533b8a52f45d48fd6fc690ef237c5519b7367f4125dca7eee606900 \
                    size    18817
extract.mkdir       yes

depends_build       port:scons

use_configure       no

build.cmd           ${prefix}/bin/scons
build.target
build.args          CC="${configure.cc} [get_canonical_archflags cc]"

destroot.destdir    prefix=${destroot}${prefix}
destroot.args       {*}${build.args}

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