aboutsummaryrefslogtreecommitdiff
path: root/sysutils/mcollective-actionpolicy-auth/Makefile
blob: 20fc25ab47ec47a82e050e6f8c60e57fb066cd54 (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

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

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

LICENSE=	APACHE20

DEPRECATED=	Agents are better distributed through the Puppet forge

RUN_DEPENDS=	mcollective>=2: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>