# Created by: Michael Moll # $FreeBSD$ PORTNAME= hammer_cli_foreman_salt PORTVERSION= 0.0.4 CATEGORIES= sysutils ruby MASTER_SITES= RG MAINTAINER= mmoll@FreeBSD.org COMMENT= SaltStack integration commands for Hammer CLI LICENSE= GPLv3 RUN_DEPENDS= rubygem-hammer_cli_foreman>=0.1.2:${PORTSDIR}/sysutils/rubygem-hammer_cli_foreman USE_RUBY= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes PLIST_FILES= "@sample etc/hammer/cli.modules.d/foreman_salt.yml.sample" post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/hammer ${MKDIR} ${STAGEDIR}${PREFIX}/etc/hammer/cli.modules.d ${INSTALL_DATA} ${WRKSRC}/config/foreman_salt.yml \ ${STAGEDIR}${PREFIX}/etc/hammer/cli.modules.d/foreman_salt.yml.sample .include