summaryrefslogtreecommitdiff
path: root/net/vpnc
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 /net/vpnc
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 'net/vpnc')
-rw-r--r--net/vpnc/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/net/vpnc/Makefile b/net/vpnc/Makefile
index f9fb4f1773a..e806c03310a 100644
--- a/net/vpnc/Makefile
+++ b/net/vpnc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2018/08/22 09:46:08 wiz Exp $
+# $NetBSD: Makefile,v 1.45 2019/05/23 19:23:11 rillig Exp $
#
DISTNAME= vpnc-0.5.3
@@ -24,12 +24,12 @@ SUBST_MESSAGE.paths= fixing pathnames
SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths= config.c vpnc-script.in makeman.pl pcf2vpnc
SUBST_FILES.paths+= vpnc.8.template vpnc-disconnect
-SUBST_SED.paths= -e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g'
-SUBST_SED.paths+= -e 's|@PREFIX@|${PREFIX}|g'
-SUBST_SED.paths+= -e 's|@PKGMANDIR@|${PKGMANDIR}|g'
-SUBST_SED.paths+= -e 's|@VARBASE@|${VARBASE}|g'
-SUBST_SED.paths+= -e 's|@PERL5@|${PERL5}|g'
-SUBST_SED.paths+= -e 's|@SH@|${SH}|g'
+SUBST_VARS.paths= PKG_SYSCONFDIR
+SUBST_VARS.paths+= PREFIX
+SUBST_VARS.paths+= PKGMANDIR
+SUBST_VARS.paths+= VARBASE
+SUBST_VARS.paths+= PERL5
+SUBST_VARS.paths+= SH
BUILD_DEFS+= VARBASE