summaryrefslogtreecommitdiff
path: root/graphics/xpaint/Makefile
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2019-05-23 19:22:54 +0000
committerrillig <rillig@pkgsrc.org>2019-05-23 19:22:54 +0000
commitcabadf3d995dfdb93e43fa33e676fdfbb6f7d1f5 (patch)
treedfd45506cac9c8adb60a55d809ab0dbc4d5a750e /graphics/xpaint/Makefile
parentafe0216c35d9e0e0b96fe80eb38badf368ef84a7 (diff)
downloadpkgsrc-cabadf3d995dfdb93e43fa33e676fdfbb6f7d1f5.tar.gz
all: replace SUBST_SED with the simpler SUBST_VARS
pkglint -Wall -r --only "substitution command" -F With manual review and indentation fixes since pkglint doesn't get that part correct in every case.
Diffstat (limited to 'graphics/xpaint/Makefile')
-rw-r--r--graphics/xpaint/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/xpaint/Makefile b/graphics/xpaint/Makefile
index da2a232b9bb..5006071de30 100644
--- a/graphics/xpaint/Makefile
+++ b/graphics/xpaint/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.76 2015/10/14 20:17:27 wiz Exp $
+# $NetBSD: Makefile,v 1.77 2019/05/23 19:23:02 rillig Exp $
DISTNAME= xpaint-2.7.8.1
PKGREVISION= 11
@@ -17,8 +17,8 @@ MAKE_JOBS_SAFE= NO
SUBST_CLASSES+= foo
SUBST_STAGE.foo= pre-configure
SUBST_FILES.foo= Local.config configure
-SUBST_SED.foo= -e "s|@LOCALBASE@|${LOCALBASE}|g"
-SUBST_SED.foo+= -e "s|@PREFIX@|${PREFIX}|g"
+SUBST_VARS.foo= LOCALBASE
+SUBST_VARS.foo+= PREFIX
SUBST_SED.foo+= -e "s|@XAWDIR@|${BUILDLINK_PREFIX.libXaw3d}|g"
SUBST_SED.foo+= -e "s|@XPMDIR@|${BUILDLINK_PREFIX.libXpm}|g"