# -*- 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                liboop
version             1.0
revision            1
categories          devel
platforms           darwin
maintainers         nomaintainer
license             LGPL-2.1+

description         low-level event loop management library

long_description    Liboop is a low-level event loop management library for \
                    POSIX-based operating systems. It replaces the "select() \
                    loop" and allows the registration of event handlers for \
                    file and network I/O, timers and signals.

homepage            http://www.lysator.liu.se/liboop/
master_sites        http://download.ofb.net/liboop/
use_bzip2           yes

checksums           md5     88fc8decf99fd75d2af40e0a005fa0d3

depends_build       port:pkgconfig

depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
                    port:readline

patchfiles          patch-readline-6.3.diff

# Teach this 2003-era project how to build libraries with -arch flags.
use_autoreconf      yes

configure.args      --without-adns \
                    --without-tcl

use_parallel_build  no