summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: