pkgsrc/databases/py-ldap/Makefile
adam 9db49deec4 Changes 2.3.0:
* Support for setuptools (building .egg, thanks to Torsten)
* Support for matched values control
* Fixed ldif
* ldap.schema.models: SUP now separated by $
* Added constant MOD_INCREMENT to support
  modify+increment extension

Changes 2.2.1:
* OpenLDAP 2.3+ required now to build.
* Added support for Cancel operation ext. op. if supported
  in OpenLDAP API of the libs used for the build.
* Removed deprecated code for setting options by name
* Added l_ldap_cancel()
2007-12-16 15:34:14 +00:00

38 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.33 2007/12/16 15:34:14 adam Exp $
DISTNAME= python-ldap-2.3.1
PKGNAME= ${DISTNAME:S/python/${PYPKGPREFIX}/}
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=python-ldap/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/python-ldap/
COMMENT= LDAP client API for Python
PYTHON_VERSIONS_ACCEPTED= 23 24
PYDISTUTILSPKG= yes
PY_LDAP_LIBRARY_DIRS= ${BUILDLINK_PREFIX.openldap-client}/lib
PY_LDAP_INCLUDE_DIRS= ${BUILDLINK_PREFIX.openldap-client}/include
PY_LDAP_LIBS= ldap_r lber ssl crypto
.include "options.mk"
SUBST_CLASSES+= setup
SUBST_STAGE.setup= pre-configure
SUBST_FILES.setup= setup.cfg
SUBST_SED.setup= -e "s|@PY_LDAP_LIBRARY_DIRS@|${PY_LDAP_LIBRARY_DIRS}|"
SUBST_SED.setup+= -e "s|@PY_LDAP_INCLUDE_DIRS@|${PY_LDAP_INCLUDE_DIRS}|"
SUBST_SED.setup+= -e "s|@PY_LDAP_LIBS@|${PY_LDAP_LIBS}|"
PY_LDAP_DOCDIR= ${PREFIX}/share/doc/py-ldap
post-install:
${INSTALL_DATA_DIR} ${PY_LDAP_DOCDIR}
cd ${WRKSRC} && pax -rw CHANGES README INSTALL TODO Demo \
${PY_LDAP_DOCDIR}
.include "../../databases/openldap-client/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"