aboutsummaryrefslogtreecommitdiff
path: root/sysutils/rubygem-smart_proxy_salt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/rubygem-smart_proxy_salt/Makefile')
-rw-r--r--sysutils/rubygem-smart_proxy_salt/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/sysutils/rubygem-smart_proxy_salt/Makefile b/sysutils/rubygem-smart_proxy_salt/Makefile
index c2c31bb051d4..3c38989bd843 100644
--- a/sysutils/rubygem-smart_proxy_salt/Makefile
+++ b/sysutils/rubygem-smart_proxy_salt/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= smart_proxy_salt
-PORTVERSION= 0.0.2
-PORTREVISION= 1
+PORTVERSION= 1.0.0
CATEGORIES= sysutils ruby
MASTER_SITES= RG
@@ -27,7 +26,8 @@ post-patch:
-e "s|/usr/bin/env ruby|${RUBY}|g" \
-e "s|/usr/bin/env python|${PYTHON_CMD}|g" \
-e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
- ${WRKSRC}/bin/foreman-node
+ ${WRKSRC}/bin/foreman-node \
+ ${WRKSRC}/sbin/upload-salt-reports
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/foreman-proxy
@@ -38,5 +38,6 @@ post-install:
${INSTALL_DATA} ${FILESDIR}/salt.rb ${STAGEDIR}${PREFIX}/share/foreman-proxy/bundler.d/salt.rb
${MKDIR} ${STAGEDIR}${PREFIX}/etc/salt
${INSTALL_DATA} ${FILESDIR}/foreman.yaml.sample ${STAGEDIR}${PREFIX}/etc/salt/foreman.yaml.sample
+ ${INSTALL_SCRIPT} ${WRKSRC}/sbin/upload-salt-reports ${STAGEDIR}${PREFIX}/sbin
.include <bsd.port.post.mk>