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

name                fsplib
version             0.11
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  b8c515909e75bb99fe4cc5633984d23dd51feb2d \
                    sha256  1746be3d5540de245e825d82e951c21219941e0f036bab1b0f174e573ad4ef4c

depends_build       port:scons

extract.mkdir       yes

use_configure       no

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

destroot.destdir    prefix=${destroot}${prefix}

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