summaryrefslogtreecommitdiff
path: root/databases/py-ldap/Makefile
blob: 6d372fedecd4c3ee4decfe4d5a466dfb54118b3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $NetBSD: Makefile,v 1.7 2001/10/27 15:22:07 kleink Exp $

DISTNAME=	python-ldap-1.10alpha3-src
PKGNAME=	py-ldap-1.10a3
CATEGORIES=	databases
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=python-ldap/}

MAINTAINER=	tsarna@netbsd.org
HOMEPAGE=	http://sourceforge.net/projects/python-ldap/
COMMENT=	LDAP client API for Python

DEPENDS+=	python>=2.0:../../lang/python
DEPENDS+=	openldap>=1.2.11:../../databases/openldap1

WRKSRC=		${WRKDIR}/python-ldap-1.10alpha3
GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}

PLIST_SRC=      ${WRKDIR}/.PLIST_SRC

post-install:
	${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
	(cd ${PREFIX}; ${FIND} lib/python2.0/site-packages/python-ldap \
	 -type f -print >>${PLIST_SRC})
	(cd ${PREFIX}; ${FIND} -d lib/python2.0/site-packages/python-ldap \
	 -type d -print | ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC})

.include "../../mk/bsd.pkg.mk"