diff options
Diffstat (limited to 'databases/py-ldap/Makefile')
-rw-r--r-- | databases/py-ldap/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/databases/py-ldap/Makefile b/databases/py-ldap/Makefile new file mode 100644 index 00000000000..550f6f400b1 --- /dev/null +++ b/databases/py-ldap/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/10/25 19:34:29 tsarna Exp $ + +DISTNAME= python-ldap-1.10alpha3-src +PKGNAME= py-ldap-1.10a3 +CATEGORIES= databases +MASTER_SITES= http://download.sourceforge.net/python-ldap/ + +MAINTAINER= tsarna@netbsd.org +HOMEPAGE= http://sourceforge.net/projects/python-ldap/ + +DEPENDS+= python>=2.0:../../lang/python \ + openldap>=1.2.11:../../databases/openldap + +WRKSRC= ${WRKDIR}/python-ldap-1.10alpha3 +GNU_CONFIGURE= yes +CONFIGURE_ARGS+=--with-ldap=${LOCALBASE} +MODPATH= + +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" |