aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/mcollective-shell-client/Makefile
blob: e0c535a25e1c31fd6e8671ff239a49dea8998ec1 (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
33
34
35
36
37
# Created by: Bartek Rutkowski <robak@FreeBSD.org>
# $FreeBSD$

PORTNAME=   mcollective-shell-client
PORTVERSION=    0.0.1
CATEGORIES= sysutils
DISTNAME=   mcollective-shell-agent-${PORTVERSION}

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

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

RUN_DEPENDS=    mcollective>=2.2.4:${PORTSDIR}/sysutils/mcollective

WRKSRC=     ${WRKDIR}/${GH_ACCOUNT}-mcollective-shell-agent-${GH_COMMIT}

USE_GITHUB= yes
GH_ACCOUNT= puppetlabs
GH_TAGNAME= ${GH_COMMIT}
GH_COMMIT=  9fb27d5

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>