pkgsrc/databases/py-ldap/Makefile

32 lines
1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.16 2004/07/22 09:16:00 recht Exp $
2000-10-25 21:34:29 +02:00
DISTNAME= python-ldap-2.0.0pre15
PKGNAME= ${PYPKGPREFIX}-ldap-2.0.0pre15
PKGREVISION= 1
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
MAINTAINER= david@netbsd-fr.org
2000-10-25 21:34:29 +02:00
HOMEPAGE= http://sourceforge.net/projects/python-ldap/
COMMENT= LDAP client API for Python
2000-10-25 21:34:29 +02: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
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"
.include "../../lang/python/extension.mk"
2002-01-19 18:14:55 +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"