# -*- 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
PortGroup           github 1.0
PortGroup           cmake 1.1

github.setup        qorelanguage module-openldap 1.2.3 v
github.tarball_from releases

name                qore-openldap-module
use_bzip2           yes
categories          lang
license             LGPL-2.1
maintainers         {davidnichols @davidnich} openmaintainer
description         openldap module for Qore
long_description    Module providing an LDAP API to Qore
homepage            http://qore.org
platforms           darwin
distname            qore-openldap-module-${github.version}

checksums           rmd160 15d3700f2d59efddba1148b5526a57fefc142b61 \
                    sha256 7b941f43e019b135cc2d489afef04d95ec07b8890f4d79ecbacbe86772fc5a20 \
                    size 685595

depends_lib         port:qore \
                    path:lib/libldap.dylib:openldap

configure.ldflags-append -Wl,-undefined -Wl,dynamic_lookup
