summaryrefslogtreecommitdiff
path: root/net/xnap
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/xnap
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/xnap')
-rw-r--r--net/xnap/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/xnap/Makefile b/net/xnap/Makefile
index a982d3a9064..abca7d66e22 100644
--- a/net/xnap/Makefile
+++ b/net/xnap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2012/10/23 17:19:21 asau Exp $
+# $NetBSD: Makefile,v 1.16 2019/05/23 19:23:11 rillig Exp $
#
DISTNAME= xnap-2.0
@@ -22,7 +22,7 @@ SUBST_STAGE.path= pre-configure
SUBST_MESSAGE.path= fixing java path
SUBST_FILES.path= xnap.sh
SUBST_SED.path= -e 's,@JAVA_HOME@,${PKG_JAVA_HOME}/,g'
-SUBST_SED.path+= -e 's,@PREFIX@,${PREFIX},g'
+SUBST_VARS.path= PREFIX
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/xnap.sh ${DESTDIR}${PREFIX}/bin/xnap