summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-09-25 19:41:38 +0000
committerjoerg <joerg@pkgsrc.org>2011-09-25 19:41:38 +0000
commit4ae211566f7ed90b81d36e4fbd2908ea0c7cee6a (patch)
treede58c0dc9b9e31914d00981c4fb8b52cef524a85
parent2d11ad967bc38527a1b922334439e1f3729b1d93 (diff)
downloadpkgsrc-4ae211566f7ed90b81d36e4fbd2908ea0c7cee6a.tar.gz
Fix interpreter checks
-rw-r--r--devel/ExmanIDE/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/ExmanIDE/Makefile b/devel/ExmanIDE/Makefile
index 53195ec268f..77d6a4f7bb3 100644
--- a/devel/ExmanIDE/Makefile
+++ b/devel/ExmanIDE/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2010/02/10 19:17:34 joerg Exp $
+# $NetBSD: Makefile,v 1.16 2011/09/25 19:41:38 joerg Exp $
DISTNAME= ExmanIDE-0.9.4
PKGREVISION= 6
@@ -32,6 +32,12 @@ SUBST_STAGE.py= post-patch
SUBST_FILES.py= ExmanIDE
SUBST_SED.py= -e 's,python \$$0\.pyw,${PYTHONBIN} ${PREFIX}/share/${PKGBASE}/ExmanIDE.pyw,g'
+SUBST_CLASSES+= py2
+SUBST_MESSAGE.py2= Fixing path in Python module.
+SUBST_STAGE.py2= post-patch
+SUBST_FILES.py2= ExmanIDE.pyw
+SUBST_SED.py2= -e 's,/usr/bin/env python.*$$,${PYTHONBIN},'
+
INSTALLATION_DIRS= bin share/ExmanIDE
do-install: