aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/mcollective-shell-agent/Makefile
blob: 657ea54bb5e6c9e28816fe424106ffd253f73f8e (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
# Created by: Bartek Rutkowski <robak@FreeBSD.org>
# $FreeBSD$

PORTNAME=   mcollective-shell-agent
PORTVERSION=    0.0.1
CATEGORIES= sysutils

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

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

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

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

PLIST_FILES=    share/mcollective/agent/shell/job.rb \
        share/mcollective/agent/shell.rb \
        share/mcollective/agent/shell.ddl
PLIST_DIRS= share/mcollective/agent/shell

NO_BUILD=   yes

do-install:

    @${MKDIR} ${STAGEDIR}${PREFIX}/${PLIST_DIRS}
    ${INSTALL_DATA} ${WRKSRC}/lib/mcollective/agent/shell/job.rb ${STAGEDIR}${PREFIX}/share/mcollective/agent/shell/
    ${INSTALL_DATA} ${WRKSRC}/lib/mcollective/agent/shell.rb ${STAGEDIR}${PREFIX}/share/mcollective/agent/
    ${INSTALL_DATA} ${WRKSRC}/lib/mcollective/agent/shell.ddl ${STAGEDIR}${PREFIX}/share/mcollective/agent/

.include <bsd.port.mk>