summaryrefslogtreecommitdiffstats
path: root/sysutils/mcollective-actionpolicy-auth/Makefile
blob: 1b5b96fe2241394f57f5b4f6a0214b2d032927d5 (plain)
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
# $FreeBSD$

PORTNAME=	mcollective-actionpolicy-auth
PORTVERSION=	2.1.0
CATEGORIES=	sysutils

MAINTAINER=	romain@FreeBSD.org
COMMENT=	MCollective Authorization plugin allowing fine grained ACLs

LICENSE=	APACHE20

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

USE_GITHUB=	yes
GH_ACCOUNT=	puppetlabs
SUB_FILES=	pkg-message

NO_BUILD=	yes
NO_ARCH=	yes

PLIST_FILES=	share/mcollective/util/actionpolicy.ddl \
		share/mcollective/util/actionpolicy.rb
PLIST_DIRS=	etc/mcollective/policies

.if !target(do-install)
do-install:
	cd ${WRKSRC} && ${COPYTREE_SHARE} "util" ${STAGEDIR}${PREFIX}/share/mcollective
	${MKDIR} ${STAGEDIR}${PREFIX}/etc/mcollective/policies
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud