aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/rubygem-hammer_cli_foreman_ssh/Makefile
blob: a205ddf0fceafd16f5d330f33df3d97e0b4676a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
PORTNAME=	hammer_cli_foreman_ssh
PORTVERSION=	0.0.3
PORTREVISION=	1
CATEGORIES=	sysutils ruby
MASTER_SITES=	RG

MAINTAINER=	ruby@FreeBSD.org
COMMENT=	SSH host commands for Hammer CLI
WWW=		https://github.com/theforeman/hammer-cli-foreman-ssh

LICENSE=	GPLv3+

RUN_DEPENDS=	rubygem-hammer_cli>=0.0.6:sysutils/rubygem-hammer_cli \
		rubygem-hammer_cli_foreman>=0:sysutils/rubygem-hammer_cli_foreman \
		rubygem-net-ssh-multi>=1.2.1:security/rubygem-net-ssh-multi

USES=		gem

NO_ARCH=	yes

PLIST_FILES=	"@sample etc/hammer/cli.modules.d/foreman_ssh.yml.sample"

post-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/etc/hammer/cli.modules.d
	${INSTALL_DATA} ${WRKSRC}/config/foreman_ssh.yml ${STAGEDIR}${PREFIX}/etc/hammer/cli.modules.d/foreman_ssh.yml.sample

.include <bsd.port.mk>