aboutsummaryrefslogtreecommitdiff
path: root/sysutils/mcollective-shell-client/Makefile
blob: dc1770e75d8ef960c3ca6026043bcb9b8648c68f (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
28
29
30
31
32
# Created by: Bartek Rutkowski <robak@FreeBSD.org>

PORTNAME=	mcollective-shell-client
PORTVERSION=	0.0.2
CATEGORIES=	sysutils

MAINTAINER=	robak@FreeBSD.org
COMMENT=	MCollective shell client plugin

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

RUN_DEPENDS=	mcollective>=2.2.4:sysutils/mcollective

USE_GITHUB=	yes
GH_ACCOUNT=	puppetlabs
GH_PROJECT=	mcollective-shell-agent

PLIST_FILES=	share/mcollective/application/shell/watcher.rb \
		share/mcollective/application/shell/prefix_stream_buf.rb \
		share/mcollective/application/shell.rb
PLIST_DIRS=	share/mcollective/application/shell

NO_BUILD=	yes

do-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/${PLIST_DIRS}
	${INSTALL_DATA} ${WRKSRC}/lib/mcollective/application/shell/watcher.rb ${STAGEDIR}${PREFIX}/share/mcollective/application/shell/
	${INSTALL_DATA} ${WRKSRC}/lib/mcollective/application/shell/prefix_stream_buf.rb ${STAGEDIR}${PREFIX}/share/mcollective/application/shell/
	${INSTALL_DATA} ${WRKSRC}/lib/mcollective/application/shell.rb ${STAGEDIR}${PREFIX}/share/mcollective/application/

.include <bsd.port.mk>