# $Id: Portfile 36320 2008-04-27 03:53:21Z ryandesign@macports.org $

PortSystem       1.0

name             radlib
version          2.7.5
categories       devel
maintainers      mac.com:mbrooksclark
platforms        darwin

description      Rapid Application Development Library
long_description \
  radlib is a rapid application development library for unix \
  multi-process applications. It uses SYS V IPC facilities and FIFOs \
  to provide an RTOS-like, event-driven, distributed framework. \
  Processes may be run as daemons or have a controlling terminal.

homepage         http://www.radlib.teel.ws/
master_sites     sourceforge:radlib

checksums        md5 73e01cd9e1f03cb67bc23bc5bd7b412d \
                 sha1 6ffde7f2523354fbde472f77672c25422cfb6ab9 \
                 rmd160 2122589fc16e4be7416ffb511c7d5c704535d80f

variant mysql5 description {Includes mySQL5 database support} {
  configure.args-append     --enable-mysql
  configure.cflags-append   -I${prefix}/include/mysql5/mysql
  configure.ldflags-append  -L${prefix}/lib/mysql5/mysql
  depends_lib-append        port:mysql5
}

variant pgresql83 description {Includes PostgreSQL database support} {
  configure.args-append     --enable-pgresql
  depends_lib-append        port:postgresql83
}
