# -*- 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
PortGroup           ruby 1.0

ruby.setup          {ldap ruby-ldap} 0.9.8 extconf.rb {README example test} sourceforge
revision            1
maintainers         nomaintainer
description         An extension library for accessing the LDAP API.
long_description    This module provides the interface to LDAP libraries such as Netscape \
                    Directory SDK, OpenLDAP and wldap32.dll.
use_bzip2           yes
checksums           md5 83240451aa43de447d48035dc2d10dee \
                    sha1 2e00866df43b2def8a0ad40dfd27df14fcf51b72 \
                    rmd160 8ab52b76fa81a489133bdb32d7e6f5dc766a6b80
homepage            http://ruby-ldap.sourceforge.net/
categories-append   databases
license             BSD
platforms           darwin
depends_lib-append  port:openldap
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521980
patchfiles          patch-conn.c.diff patch-ldap.c.diff
configure.args-append --with-ldap-dir=${prefix}