openbsd-ports/databases/py-ldap/Makefile

41 lines
883 B
Makefile
Raw Normal View History

2006-11-16 05:09:56 -05:00
# $OpenBSD: Makefile,v 1.12 2006/11/16 10:09:56 mbalmer Exp $
SHARED_ONLY= Yes
COMMENT= "LDAP client API for Python"
2006-11-16 05:09:56 -05:00
DISTNAME= python-ldap-2.2.0
CATEGORIES= databases
HOMEPAGE= http://python-ldap.sourceforge.net/
MAINTAINER= Marc Balmer <mbalmer@openbsd.org>
# Python
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
WANTLIB= crypto ssl
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=python-ldap/}
2006-08-01 18:19:46 -04:00
LIB_DEPENDS= ldap_r.>=7,lber.>=7::databases/openldap \
sasl2.>=2::security/cyrus-sasl2
2004-08-04 15:46:14 -04:00
MODULES= lang/python
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
.include <bsd.port.mk>