2004-07-22 11:15:59 +02:00
|
|
|
# $NetBSD: Makefile,v 1.16 2004/07/22 09:16:00 recht Exp $
|
2000-10-25 21:34:29 +02:00
|
|
|
|
2004-01-20 06:16:58 +01:00
|
|
|
DISTNAME= python-ldap-2.0.0pre15
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-ldap-2.0.0pre15
|
2004-03-26 03:27:34 +01:00
|
|
|
PKGREVISION= 1
|
2004-07-22 11:15:59 +02:00
|
|
|
CATEGORIES= databases python
|
2000-11-11 18:49:22 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=python-ldap/}
|
2000-10-25 21:34:29 +02:00
|
|
|
|
2004-01-20 06:16:58 +01:00
|
|
|
MAINTAINER= david@netbsd-fr.org
|
2000-10-25 21:34:29 +02:00
|
|
|
HOMEPAGE= http://sourceforge.net/projects/python-ldap/
|
2001-02-16 15:17:22 +01:00
|
|
|
COMMENT= LDAP client API for Python
|
2000-10-25 21:34:29 +02:00
|
|
|
|
2004-01-20 06:16:58 +01:00
|
|
|
PYTHON_VERSIONS_ACCEPTED= 21pth 22pth 23pth
|
|
|
|
PYDISTUTILSPKG= yes
|
2004-04-25 15:36:29 +02:00
|
|
|
USE_BUILDLINK3= yes
|
2000-10-25 21:34:29 +02:00
|
|
|
|
2004-01-20 06:16:58 +01:00
|
|
|
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|"
|
2000-10-25 21:34:29 +02:00
|
|
|
|
2004-04-25 15:36:29 +02:00
|
|
|
.include "../../databases/openldap/buildlink3.mk"
|
|
|
|
.include "../../security/cyrus-sasl2/buildlink3.mk"
|
2004-01-20 06:16:58 +01:00
|
|
|
.include "../../lang/python/extension.mk"
|
2002-01-19 18:14:55 +01:00
|
|
|
|
2004-01-20 06:16:58 +01:00
|
|
|
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "pth"
|
|
|
|
SUBST_SED.setup+= -e "s|crypto|& pthread|"
|
|
|
|
.endif
|
2000-10-25 21:34:29 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|