# -*- 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                libtermkey
version             0.22
revision            1
categories          devel
platforms           darwin
maintainers         nomaintainer
license             MIT

description         Cross-platform asynchronous I/O

long_description \
    libuv is a multi-platform support library with a focus on asynchronous I/O.

homepage            http://www.leonerd.org.uk/code/libtermkey/
master_sites        ${homepage}

checksums           rmd160  553e744534a5318e75f5a696481efe941b7f6ead \
                    sha256  6945bd3c4aaa83da83d80a045c5563da4edd7d0374c62c0d35aec09eb3014600 \
                    size    46147


patchfiles          patch-Makefile.diff

depends_build       port:libtool \
                    port:pkgconfig

depends_lib         port:unibilium

use_configure no

build.args          PREFIX=${prefix}
build.env-append    CC=${configure.cc} \
                    "CFLAGS=${configure.cflags} [get_canonical_archflags cc]" \
                    "LDFLAGS=${configure.ldflags} [get_canonical_archflags ld]"

destroot.args       ${build.args}
