diff options
author | ryoon <ryoon@pkgsrc.org> | 2011-05-04 11:16:23 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2011-05-04 11:16:23 +0000 |
commit | 29aeeaaaf0d685573e75b65898dd3b26c18f087e (patch) | |
tree | e4154b0ab0fdb9e9a035d9280cca8dd8387d6a71 /graphics/mypaint/Makefile | |
parent | 00db7d34cdc6e9e90551f0387b0d85bf7554dbdb (diff) | |
download | pkgsrc-29aeeaaaf0d685573e75b65898dd3b26c18f087e.tar.gz |
* Replace '#!.../env python' with PYTHONBIN, fix build.
* Bump PKGREVISION.
Diffstat (limited to 'graphics/mypaint/Makefile')
-rw-r--r-- | graphics/mypaint/Makefile | 11 |
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: |