blob: d9278f5f38ec70b5237eabc72e1352a765830480 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $NetBSD: Makefile,v 1.22 2005/05/20 20:13:56 rillig Exp $
DISTNAME= python-ldap-2.0.2
PKGNAME= ${DISTNAME:S/python/${PYPKGPREFIX}/}
PKGREVISION= 1
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=python-ldap/}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/python-ldap/
COMMENT= LDAP client API for Python
PYTHON_VERSIONS_ACCEPTED= 21 22 23
PYDISTUTILSPKG= yes
SUBST_CLASSES+= setup
SUBST_STAGE.setup= pre-configure
SUBST_FILES.setup= 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/buildlink3.mk"
.include "../../security/cyrus-sasl2/buildlink3.mk"
.include "../../lang/python/extension.mk"
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == ""
SUBST_SED.setup+= -e "s|crypto|& read|"
.endif
.include "../../mk/bsd.pkg.mk"
|