diff options
author | drochner <drochner@pkgsrc.org> | 2002-01-22 18:47:14 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2002-01-22 18:47:14 +0000 |
commit | f85bca23c322cba83beac2db5ad03a5165d7623a (patch) | |
tree | b4757c11e61cd4e40eab3a1d9d8c7f922011282a /www/zope/Makefile | |
parent | 326b7447a4f0a16f0f3606e2d2b873743cae4e18 (diff) | |
download | pkgsrc-f85bca23c322cba83beac2db5ad03a5165d7623a.tar.gz |
use buildlink file for python, but keep tied to version 2.0
because of some dependencies
Diffstat (limited to 'www/zope/Makefile')
-rw-r--r-- | www/zope/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/www/zope/Makefile b/www/zope/Makefile index 98f112b97d4..bb447bf3a40 100644 --- a/www/zope/Makefile +++ b/www/zope/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2001/02/25 04:18:25 hubertf Exp $ +# $NetBSD: Makefile,v 1.17 2002/01/22 18:47:14 drochner Exp $ # DISTNAME= Zope-2.2.2-src @@ -20,6 +20,8 @@ PLIST_SRC= ${WRKDIR}/.PLIST_SRC ZOPEDIR= ${PREFIX}/lib/zope +PYTHON_VERSIONS_ACCEPTED= 20 # XXX for now + do-configure: ${SED} -e "s,@PREFIX@,${PREFIX}," \ <${FILESDIR}/Makefile.in > ${WRKSRC}/Makefile @@ -32,7 +34,7 @@ do-install: ${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC} ${INSTALL_DATA_DIR} ${ZOPEDIR} (cd ${WRKSRC}; ${PAX} -r -w -s'/.*\.[cho]$$//' . ${ZOPEDIR}) - ${PREFIX}/bin/python \ + ${PYTHONBIN} \ ${PREFIX}/lib/python2.0/compileall.py ${ZOPEDIR} ${CHMOD} -R a+rX ${ZOPEDIR} (cd ${PREFIX}; ${FIND} lib/zope \( -type f -o -type l \) -print >>${PLIST_SRC}) @@ -44,4 +46,5 @@ do-install: <${FILESDIR}/zope-shutdown.py >${PREFIX}/sbin/zope-shutdown ${CHMOD} 755 ${PREFIX}/sbin/zope-install ${PREFIX}/sbin/zope-shutdown +.include "../../lang/python/application.buildlink.mk" .include "../../mk/bsd.pkg.mk" |