summaryrefslogtreecommitdiff
path: root/wm
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 /wm
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 'wm')
-rw-r--r--wm/icecc/Makefile10
-rw-r--r--wm/oroborox/Makefile12
2 files changed, 11 insertions, 11 deletions
diff --git a/wm/icecc/Makefile b/wm/icecc/Makefile
index 433c1ed1c79..d194f854572 100644
--- a/wm/icecc/Makefile
+++ b/wm/icecc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2014/01/25 10:30:26 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2014/01/25 10:45:21 wiz Exp $
# Package version reflects icecc version, with PKGREVISION incremented
# for any tool updates, according to the authors scheme.
@@ -35,9 +35,9 @@ WRKSRC= ${WRKDIR}
CONFIGURE_DIRS= icecc-2.9 icebgset-1.3 iceked-1.5 icemc-2.1
CONFIGURE_DIRS+= icesndcfg-1.3 icets-1.4 icewoed-1.8
-PYTHON_PATCH_SCRIPTS= icecursorscfg-0.6/icecurcfg.py iceiconcvt-1.0/iceiconcvt.py
-PYTHON_PATCH_SCRIPTS+= icemergeprefs-0.5/icemergeprefs.py icerrun-0.5/icerrrun.py
-PYTHON_PATCH_SCRIPTS+= icerrun-0.5/icerrun.py
+REPLACE_PYTHON= icecursorscfg-0.6/icecurcfg.py iceiconcvt-1.0/iceiconcvt.py
+REPLACE_PYTHON+= icemergeprefs-0.5/icemergeprefs.py icerrun-0.5/icerrrun.py
+REPLACE_PYTHON+= icerrun-0.5/icerrun.py
PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-qt3-base
@@ -67,7 +67,7 @@ post-build:
cd ${WRKSRC}/icewm4vim && ${SETENV} ${MAKE_ENV} ${GMAKE} QTDIR=${QTDIR:Q}
post-install:
-. for script in ${PYTHON_PATCH_SCRIPTS}
+. for script in ${REPLACE_PYTHON}
${INSTALL_SCRIPT} ${WRKSRC}/${script:Q} ${DESTDIR}${PREFIX}/bin
. endfor
${INSTALL_PROGRAM} ${WRKSRC}/icewm4vim/icecolsel ${DESTDIR}${PREFIX}/bin
diff --git a/wm/oroborox/Makefile b/wm/oroborox/Makefile
index 4c58f0acf0c..d5b1ac24ac5 100644
--- a/wm/oroborox/Makefile
+++ b/wm/oroborox/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2013/10/10 14:42:34 ryoon Exp $
+# $NetBSD: Makefile,v 1.43 2014/01/25 10:45:22 wiz Exp $
#
DISTNAME= OroboROX-0.9.8
@@ -23,11 +23,11 @@ USE_TOOLS+= autoconf pax pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-xft --with-platform=${PLATFORM:Q}
-PYTHON_PATCH_SCRIPTS= Configure/OroboScheme/AppRun
-PYTHON_PATCH_SCRIPTS+= Configure/OroboScheme/AppInfo.py
-PYTHON_PATCH_SCRIPTS+= Configure/OroboScheme/Schemer.py
-PYTHON_PATCH_SCRIPTS+= Configure/Windows/AppRun
-PYTHON_PATCH_SCRIPTS+= Configure/Workspaces/AppRun
+REPLACE_PYTHON= Configure/OroboScheme/AppRun
+REPLACE_PYTHON+= Configure/OroboScheme/AppInfo.py
+REPLACE_PYTHON+= Configure/OroboScheme/Schemer.py
+REPLACE_PYTHON+= Configure/Windows/AppRun
+REPLACE_PYTHON+= Configure/Workspaces/AppRun
INSTALLATION_DIRS= share/rox/OroboROX