2004-12-18 09:28:35 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2004/12/18 14:28:35 mbalmer Exp $
|
2004-01-29 12:13:37 -05:00
|
|
|
|
2004-09-14 19:29:07 -04:00
|
|
|
SHARED_ONLY= Yes
|
2003-11-01 10:24:06 -05:00
|
|
|
|
|
|
|
COMMENT= "LDAP client API for Python"
|
|
|
|
|
2004-12-18 09:28:35 -05:00
|
|
|
VERSION= 2.0.6
|
2003-11-01 10:24:06 -05:00
|
|
|
DISTNAME= python-ldap-${VERSION}
|
|
|
|
PKGNAME= py-ldap-${VERSION}
|
|
|
|
CATEGORIES= databases
|
|
|
|
|
|
|
|
HOMEPAGE= http://python-ldap.sourceforge.net/
|
|
|
|
|
2004-12-18 09:28:35 -05:00
|
|
|
MAINTAINER= Marc Balmer <mbalmer@openbsd.org>
|
2003-11-01 10:24:06 -05:00
|
|
|
|
|
|
|
# Python
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
|
2004-12-18 09:28:35 -05:00
|
|
|
WANTLIB= crypto ssl
|
|
|
|
|
2004-02-17 15:47:45 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=python-ldap/}
|
|
|
|
|
2004-12-18 09:28:35 -05:00
|
|
|
LIB_DEPENDS= ldap_r.7,lber.7::databases/openldap \
|
|
|
|
sasl2.2::security/cyrus-sasl2
|
2003-11-01 10:24:06 -05:00
|
|
|
|
2004-08-04 15:46:14 -04:00
|
|
|
MODULES= lang/python
|
2004-02-17 15:47:45 -05:00
|
|
|
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-ldap
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
|
|
|
|
cd ${WRKSRC}; tar cf - Demo | tar xf - -C ${EXAMPLESDIR}
|
|
|
|
|
|
|
|
do-regress: fake
|
|
|
|
@cd ${WRKSRC}/Tests/Lib && ${MAKE_ENV} \
|
|
|
|
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
|
|
|
|
${MODPY_BIN} ./test_ldapurl.py
|
2003-11-01 10:24:06 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|