summaryrefslogtreecommitdiff
path: root/graphics/mypaint/Makefile
diff options
context:
space:
mode:
authorryoon <ryoon>2011-05-04 11:16:23 +0000
committerryoon <ryoon>2011-05-04 11:16:23 +0000
commit92e360518832e4d33dcbe9f87cf1fcae3c973051 (patch)
treee4154b0ab0fdb9e9a035d9280cca8dd8387d6a71 /graphics/mypaint/Makefile
parent18fe6167ec71f4478ff01ee3a50574e19cdc9042 (diff)
downloadpkgsrc-92e360518832e4d33dcbe9f87cf1fcae3c973051.tar.gz
* Replace '#!.../env python' with PYTHONBIN, fix build.
* Bump PKGREVISION.
Diffstat (limited to 'graphics/mypaint/Makefile')
-rw-r--r--graphics/mypaint/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/graphics/mypaint/Makefile b/graphics/mypaint/Makefile
index 153692821d3..f0ad3edcf5f 100644
--- a/graphics/mypaint/Makefile
+++ b/graphics/mypaint/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2011/04/22 13:43:49 obache Exp $
+# $NetBSD: Makefile,v 1.7 2011/05/04 11:16:23 ryoon Exp $
#
DISTNAME= mypaint-0.9.1
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://download.gna.org/mypaint/
EXTRACT_SUFX= .tar.bz2
@@ -32,6 +32,13 @@ SUBST_FILES.locale-dir= SConstruct
SUBST_SED.locale-dir= -e 's,share/locale,${PKGLOCALEDIR}/locale,'
USE_PKGLOCALEDIR= yes
+SUBST_CLASSES+= python
+SUBST_STAGE.python= pre-configure
+SUBST_FILES.python= brushlib/generate.py \
+ SConstruct
+SUBST_SED.python= -e 's,/usr/bin/env python,${PYTHONBIN},'
+SUBST_SED.python+= -e 's,%PYTHONBIN%,${PYTHONBIN},'
+
REPLACE_BASH= brushes/label-brush-mypaint.sh
do-build: