freebsd-ports/net/py-ldap2/Makefile
Pav Lucistnik 20687bc303 - Update to 2.0.6
PR:		ports/78027
Submitted by:	Boris B. Samorodov <bsam@ipt.ru>
2005-02-25 21:23:10 +00:00

29 lines
782 B
Makefile

# New ports collection makefile for: ldapmodule
# Date created: 05.Jul 2000
# Whom: dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
PORTNAME= ldap2
PORTVERSION= 2.0.6
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= python-ldap
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= python-ldap-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= An LDAP module for python, for OpenLDAP2
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_OPENLDAP= yes
USE_REINPLACE= yes
do-configure:
@${REINPLACE_CMD} -e "s=/usr/local/openldap-OPENLDAP_REL_ENG_2_2/lib=${LOCALBASE}/lib=" \
-e "s=/usr/local/openldap-OPENLDAP_REL_ENG_2_2/include=${LOCALBASE}/include=" \
-e "s=ldap_r lber ssl crypto sasl2=ldap_r lber ssl crypto=" \
${WRKSRC}/setup.cfg
.include <bsd.port.mk>