summaryrefslogtreecommitdiff
path: root/comms/op_panel
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 /comms/op_panel
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 'comms/op_panel')
-rw-r--r--comms/op_panel/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/comms/op_panel/Makefile b/comms/op_panel/Makefile
index 9c45395b27c..5797c86b72f 100644
--- a/comms/op_panel/Makefile
+++ b/comms/op_panel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2018/08/22 09:43:04 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2019/05/23 19:22:57 rillig Exp $
#
DISTNAME= op_panel-0.29
@@ -50,10 +50,10 @@ CONF_FILES+= ${EGDIR}/op_panel.conf ${PKG_SYSCONFDIR}/op_panel.conf
SUBST_CLASSES+= paths
SUBST_FILES.paths= ${WRKDIR}/${FOP}.conf.dist
-SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g'
-SUBST_SED.paths+= -e 's,@SMDIR@,${SMDIR},g'
-SUBST_SED.paths+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g'
-SUBST_SED.paths+= -e 's,@PERL5@,${PERL5},g'
+SUBST_VARS.paths= PREFIX
+SUBST_VARS.paths+= SMDIR
+SUBST_VARS.paths+= PKG_SYSCONFDIR
+SUBST_VARS.paths+= PERL5
SUBST_STAGE.paths= pre-configure
INSTALLATION_DIRS+= share/examples/${FOP}