summaryrefslogtreecommitdiff
path: root/sysutils/salt/Makefile
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2018-01-21 13:28:07 +0000
committerbsiegert <bsiegert@pkgsrc.org>2018-01-21 13:28:07 +0000
commita7795a05b965010ab7e2f20ff7886d7f3d5da9a0 (patch)
tree71c5d2809c0f2e40cf942f11ec277bf2a1b07c25 /sysutils/salt/Makefile
parentb71e59855dc986d1cd1a12fd201ebf26da5a2440 (diff)
downloadpkgsrc-a7795a05b965010ab7e2f20ff7886d7f3d5da9a0.tar.gz
Add ${VARBASE} replacements in example config.
Patch from Travis Paul in PR pkg/52930. Bump revision.
Diffstat (limited to 'sysutils/salt/Makefile')
-rw-r--r--sysutils/salt/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysutils/salt/Makefile b/sysutils/salt/Makefile
index c29ad50b535..f9ab2d5341e 100644
--- a/sysutils/salt/Makefile
+++ b/sysutils/salt/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.55 2017/10/11 09:40:28 sborrill Exp $
+# $NetBSD: Makefile,v 1.56 2018/01/21 13:28:07 bsiegert Exp $
DISTNAME= salt-2017.7.2
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_PYPI:=s/salt/}
@@ -68,6 +69,10 @@ SUBST_SED.fix-paths+= -e 's,/etc/munin,${PKG_SYSCONFBASEDIR}/munin,g'
SUBST_SED.fix-paths+= -e 's,share/man,${PKGMANDIR},g'
SUBST_SED.fix-paths+= -e 's,/opt/local/lib,${PREFIX}/lib,g'
SUBST_SED.fix-paths+= -e 's,/opt/local/etc,${PKG_SYSCONFBASEDIR},g'
+SUBST_SED.fix-paths+= -e 's,/var/run,${VARBASE}/run,g'
+SUBST_SED.fix-paths+= -e 's,/var/cache,${VARBASE}/cache,g'
+SUBST_SED.fix-paths+= -e 's,/var/log,${VARBASE}/log,g'
+
post-install:
${INSTALL_DATA} ${WRKSRC}/conf/master ${DESTDIR}${EGDIR}/