0442502f57
subsequent lines, which makes it easier to search for pre-requisite packages with a "DEPENDS.*pkg" regular expression.
28 lines
868 B
Makefile
28 lines
868 B
Makefile
# $NetBSD: Makefile,v 1.6 2001/05/03 11:21:32 agc 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/openldap
|
|
|
|
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"
|