From 4ae211566f7ed90b81d36e4fbd2908ea0c7cee6a Mon Sep 17 00:00:00 2001 From: joerg Date: Sun, 25 Sep 2011 19:41:38 +0000 Subject: Fix interpreter checks --- devel/ExmanIDE/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3