summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-01-25 10:45:15 +0000
committerwiz <wiz@pkgsrc.org>2014-01-25 10:45:15 +0000
commitcd2034a69a241488c900469d394306659c70713a (patch)
tree20b275e879e9a02978fb92613c271dbee7b21c37 /games
parent0d00e3eefba959b1aee2446dc7691d3411626d66 (diff)
downloadpkgsrc-cd2034a69a241488c900469d394306659c70713a.tar.gz
No need to have two variables for the same logic.
Replace PYTHON_PATCH_SCRIPTS with REPLACE_PYTHON.
Diffstat (limited to 'games')
-rw-r--r--games/4stAttack/Makefile4
-rw-r--r--games/freeciv-share/Makefile.common4
-rw-r--r--games/gnome-games/Makefile6
-rw-r--r--games/monsterz/Makefile4
4 files changed, 9 insertions, 9 deletions
diff --git a/games/4stAttack/Makefile b/games/4stAttack/Makefile
index 5d3b1bcffaf..31a6b4aef71 100644
--- a/games/4stAttack/Makefile
+++ b/games/4stAttack/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2014/01/25 10:30:08 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2014/01/25 10:45:18 wiz Exp $
DISTNAME= 4stAttack-2.1.4
PKGREVISION= 17
@@ -13,7 +13,7 @@ INSTALLATION_DIRS= bin share/${PKGBASE}
USE_TOOLS+= pax
-PYTHON_PATCH_SCRIPTS= 4stattack.py
+REPLACE_PYTHON= 4stattack.py
PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 2.1.4
FIND_EXCLUDE= \( -name \*.orig -or -name \*.txt -or -name \*.pre -or -name GPL -or -name \*~ -or -name 4stattack \)
diff --git a/games/freeciv-share/Makefile.common b/games/freeciv-share/Makefile.common
index fbda937a970..468d6469ec2 100644
--- a/games/freeciv-share/Makefile.common
+++ b/games/freeciv-share/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.40 2014/01/25 10:30:08 wiz Exp $
+# $NetBSD: Makefile.common,v 1.41 2014/01/25 10:45:18 wiz Exp $
# used by games/freeciv-share/Makefile
# used by games/freeciv-client/Makefile
@@ -24,7 +24,7 @@ USE_PKGLOCALEDIR= yes
DISTINFO_FILE= ${.CURDIR}/../../games/freeciv-share/distinfo
PATCHDIR= ${.CURDIR}/../../games/freeciv-share/patches
-PYTHON_PATCH_SCRIPTS= ${WRKSRC}/common/generate_packets.py
+REPLACE_PYTHON= ${WRKSRC}/common/generate_packets.py
PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 2.3.2
SUBST_CLASSES+= data
diff --git a/games/gnome-games/Makefile b/games/gnome-games/Makefile
index 8671b9ddc7b..953d2fb2461 100644
--- a/games/gnome-games/Makefile
+++ b/games/gnome-games/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.140 2014/01/25 10:30:08 wiz Exp $
+# $NetBSD: Makefile,v 1.141 2014/01/25 10:45:18 wiz Exp $
DISTNAME= gnome-games-2.32.1
PKGREVISION= 24
@@ -46,8 +46,8 @@ GCONF_SCHEMAS+= mahjongg.schemas
GCONF_SCHEMAS+= swell-foop.schemas
GCONF_SCHEMAS+= gnome-sudoku.schemas
-PYTHON_PATCH_SCRIPTS+= glchess/src/glchess.in.in
-PYTHON_PATCH_SCRIPTS+= gnome-sudoku/src/gnome-sudoku.in.in
+REPLACE_PYTHON+= glchess/src/glchess.in.in
+REPLACE_PYTHON+= gnome-sudoku/src/gnome-sudoku.in.in
PY_PATCHPLIST= yes
#!/usr/bin/env sh is pretty dumb and REPLACE_SH doesn't support fixing it
diff --git a/games/monsterz/Makefile b/games/monsterz/Makefile
index 0f33edf307d..5301966a609 100644
--- a/games/monsterz/Makefile
+++ b/games/monsterz/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2014/01/25 10:30:08 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2014/01/25 10:45:18 wiz Exp $
DISTNAME= monsterz-0.7.1
PKGREVISION= 4
@@ -12,7 +12,7 @@ COMMENT= Puzzle game similar to the famous Bejeweled or Zookeeper
DEPENDS+= ${PYPKGPREFIX}-game-[0-9]*:../../devel/py-game
DEPENDS+= ${PYPKGPREFIX}-Numeric-[0-9]*:../../math/py-Numeric
-PYTHON_PATCH_SCRIPTS= monsterz.py
+REPLACE_PYTHON= monsterz.py
PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-Numeric
MAKE_ENV+= GAMEOWN=${GAMEOWN:Q}