blob: 1822a1e54cb0f8f6d826c07c080bd73ce4e7c491 (
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
29
30
31
|
# $NetBSD: Makefile,v 1.8 2002/01/19 17:14:55 drochner Exp $
DISTNAME= python-ldap-1.10alpha3-src
PKGNAME= ${PYPKGPREFIX}-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+= openldap>=1.2.11:../../databases/openldap1
WRKSRC= ${WRKDIR}/python-ldap-1.10alpha3
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
CONFIGURE_ARGS+=--with-python=${PYTHONBIN}
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
PY_PATCHPLIST= yes
post-install:
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
(cd ${PREFIX}; ${FIND} ${PYSITELIB}/python-ldap \
-type f -print >>${PLIST_SRC})
(cd ${PREFIX}; ${FIND} -d ${PYSITELIB}/python-ldap \
-type d -print | ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC})
.include "../../lang/python/extension.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
|