summaryrefslogtreecommitdiff
path: root/devel
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
commit31eff76ca5f38f772821a4644338f811124aa341 (patch)
treede58c0dc9b9e31914d00981c4fb8b52cef524a85 /devel
parentc2fa0a34c086145cde8abb7fc501b37b6f499bd0 (diff)
downloadpkgsrc-31eff76ca5f38f772821a4644338f811124aa341.tar.gz
Fix interpreter checks
Diffstat (limited to 'devel')
-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: