# $Id$ PortSystem 1.0 PortGroup python25 1.0 name py25-ldap version 2.3.5 categories python platforms darwin maintainers nomaintainer description object-oriented api for python to access LDAP directory servers long_description python-ldap provides an object-oriented API to access \ LDAP directory servers from Python programs. Mainly it \ wraps the OpenLDAP 2.x libs for that purpose. \ Additionally the package contains modules for other \ LDAP-related stuff (e.g. processing LDIF, LDAPURLs, \ LDAPv3 schema, etc.). homepage http://python-ldap.sourceforge.net/ master_sites sourceforge:python-ldap distname python-ldap-${version} checksums md5 c9732621075edc65b54233fff21fe07c \ sha1 8a12233d8be09788b846ed180dcdd555ca83bf39 \ rmd160 f224664242a8cc3c655048594c9005fb6a4da0f7 patchfiles patch-setup.cfg.diff depends_lib-append port:openldap port:openssl port:cyrus-sasl2 configure { reinplace "s|__LIBDIR__|${prefix}/lib|g" ${worksrcpath}/setup.cfg reinplace "s|__INCDIR__|${prefix}/include ${prefix}/include/sasl|g" ${worksrcpath}/setup.cfg reinplace "s|__LIBS__|ldap_r lber ssl crypto sasl2|g" ${worksrcpath}/setup.cfg } post-destroot { xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} CHANGES INSTALL LICENCE README TODO \ ${destroot}${prefix}/share/doc/${name} }