aboutsummaryrefslogtreecommitdiff
path: root/sysutils/mcollective-service-common/Makefile
blob: 371bb0d766db5c9bb945a270939a8623edb6dc70 (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
# $FreeBSD$

PORTNAME?=	mcollective-service-common
PORTVERSION=	3.2.0
CATEGORIES=	sysutils

MAINTAINER=	puppet@FreeBSD.org
COMMENT?=	MCollective common files to manage the OS Services

LICENSE=	APACHE20

DEPRECATED=	Agents are better distributed through the Puppet forge

RUN_DEPENDS?=	mcollective>=2:sysutils/mcollective

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

NO_BUILD=	yes
NO_ARCH=	yes

PLIST_FILES?=	share/mcollective/agent/service.ddl \
		share/mcollective/data/service_data.ddl \
		share/mcollective/data/service_data.rb \
		share/mcollective/util/service/base.rb \
		share/mcollective/util/service/serviceservice.rb \
		share/mcollective/util/service/puppetservice.rb \
		share/mcollective/validator/service_name.ddl \
		share/mcollective/validator/service_name.rb

.if !target(do-install)
do-install:
	cd ${WRKSRC} && ${COPYTREE_SHARE} "agent/*.ddl data util validator" ${STAGEDIR}${PREFIX}/share/mcollective
.endif

.include <bsd.port.mk>