pkgsrc/databases/py-ldap/Makefile
wiz a661ce60c0 PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
2004-03-26 02:27:34 +00:00

31 lines
1,017 B
Makefile

# $NetBSD: Makefile,v 1.14 2004/03/26 02:27:37 wiz Exp $
DISTNAME= python-ldap-2.0.0pre15
PKGNAME= ${PYPKGPREFIX}-ldap-2.0.0pre15
PKGREVISION= 1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=python-ldap/}
MAINTAINER= david@netbsd-fr.org
HOMEPAGE= http://sourceforge.net/projects/python-ldap/
COMMENT= LDAP client API for Python
PYTHON_VERSIONS_ACCEPTED= 21pth 22pth 23pth
PYDISTUTILSPKG= yes
USE_BUILDLINK2= yes
SUBST_CLASSES+= setup
SUBST_STAGE.setup= pre-configure
SUBST_FILES.setup= ${WRKSRC}/setup.cfg
SUBST_SED.setup= -e "s|/usr/local/openldap-REL_ENG_2_1|${BUILDLINK_PREFIX.cyrus-sasl}/lib ${BUILDLINK_PREFIX.openldap}|" \
-e "s|/usr/include/sasl|${BUILDLINK_PREFIX.cyrus-sasl}/include/sasl|"
.include "../../databases/openldap/buildlink2.mk"
.include "../../security/cyrus-sasl2/buildlink2.mk"
.include "../../lang/python/extension.mk"
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "pth"
SUBST_SED.setup+= -e "s|crypto|& pthread|"
.endif
.include "../../mk/bsd.pkg.mk"