summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2011-04-28 09:57:05 +0000
committeradam <adam@pkgsrc.org>2011-04-28 09:57:05 +0000
commit3b6723fd4e58ef88bb207af5fe53e89f5b64edd6 (patch)
tree1bc75ee32d173a434b2a343c081e0ebc9f15ce77 /www
parent4333e2b07d2b98a2057398b1b1ff3cd22868e7ec (diff)
downloadpkgsrc-3b6723fd4e58ef88bb207af5fe53e89f5b64edd6.tar.gz
Avoid 'not allowed interpreter' error
Diffstat (limited to 'www')
-rw-r--r--www/py-cherrypy/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/py-cherrypy/Makefile b/www/py-cherrypy/Makefile
index e6ababc30ac..a9cb0de3314 100644
--- a/www/py-cherrypy/Makefile
+++ b/www/py-cherrypy/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2011/04/05 11:56:08 adam Exp $
+# $NetBSD: Makefile,v 1.2 2011/04/28 09:57:05 adam Exp $
DISTNAME= CherryPy-3.2.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -15,5 +15,9 @@ PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= # none
EGG_NAME= ${DISTNAME}
+REPLACE_PYTHON= py2/cherrypy/cherryd
+REPLACE_PYTHON+= py3/cherrypy/cherryd
+
+.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"