summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorwiz <wiz>2014-01-25 10:45:15 +0000
committerwiz <wiz>2014-01-25 10:45:15 +0000
commit9f71712097d6e7f432586b0248809bbd69a95570 (patch)
tree20b275e879e9a02978fb92613c271dbee7b21c37 /graphics
parent5f8b445828d88a6593afbdb393b77a1421f84a24 (diff)
downloadpkgsrc-9f71712097d6e7f432586b0248809bbd69a95570.tar.gz
No need to have two variables for the same logic.
Replace PYTHON_PATCH_SCRIPTS with REPLACE_PYTHON.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/dia-python/Makefile8
-rw-r--r--graphics/gif2png/Makefile4
-rw-r--r--graphics/skencil/Makefile4
3 files changed, 8 insertions, 8 deletions
diff --git a/graphics/dia-python/Makefile b/graphics/dia-python/Makefile
index a46045e7002..b197787427f 100644
--- a/graphics/dia-python/Makefile
+++ b/graphics/dia-python/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2014/01/25 10:30:09 wiz Exp $
+# $NetBSD: Makefile,v 1.40 2014/01/25 10:45:18 wiz Exp $
DIA_SUBPKG= -python
.include "../../graphics/dia/Makefile.common"
@@ -10,9 +10,9 @@ COMMENT+= (Python plugin)
CONFIGURE_ARGS:= ${CONFIGURE_ARGS:S/--without-python/--with-python/g}
CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}
-PYTHON_PATCH_SCRIPTS= po-checktrans.py
-PYTHON_PATCH_SCRIPTS+= plug-ins/python/gtkcons.py
-PYTHON_PATCH_SCRIPTS+= sheets/checktrans.py
+REPLACE_PYTHON= po-checktrans.py
+REPLACE_PYTHON+= plug-ins/python/gtkcons.py
+REPLACE_PYTHON+= sheets/checktrans.py
PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-gtk2
BUILD_DIRS+= plug-ins/python
diff --git a/graphics/gif2png/Makefile b/graphics/gif2png/Makefile
index a86d7dd5a47..b726de54876 100644
--- a/graphics/gif2png/Makefile
+++ b/graphics/gif2png/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2013/02/16 11:21:54 wiz Exp $
+# $NetBSD: Makefile,v 1.47 2014/01/25 10:45:18 wiz Exp $
DISTNAME= gif2png-2.5.8
PKGREVISION= 1
@@ -12,7 +12,7 @@ LICENSE= zlib
GNU_CONFIGURE= YES
-PYTHON_PATCH_SCRIPTS+= web2png
+REPLACE_PYTHON+= web2png
.include "../../graphics/png/buildlink3.mk"
.include "../../lang/python/application.mk"
diff --git a/graphics/skencil/Makefile b/graphics/skencil/Makefile
index 069d227f29b..36cf0a9ea92 100644
--- a/graphics/skencil/Makefile
+++ b/graphics/skencil/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2014/01/25 10:30:10 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2014/01/25 10:45:18 wiz Exp $
DISTNAME= skencil-0.6.17
PKGREVISION= 12
@@ -13,7 +13,7 @@ DEPENDS+= ${PYPKGPREFIX}-Tk-[0-9]*:../../x11/py-Tk
USE_TOOLS+= pax
-PYTHON_PATCH_SCRIPTS= sk2ppm.py sk2ps.py skconvert.py skencil.py skshow.py
+REPLACE_PYTHON= sk2ppm.py sk2ps.py skconvert.py skencil.py skshow.py
PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-imaging
SK_CONF_ARGS= --imaging-include=${BUILDLINK_PREFIX.pyimaging}/${PYINC}/PIL