Makefile 1.01 KB
Newer Older
1
2
3
4
5
6
# Created by: cy@FreeBSD.org

PORTNAME=	cfengine-masterfiles
PORTVERSION=	3.${CFENGINE_COMMIT_DATE}
CATEGORIES=	sysutils
PKGNAMESUFFIX=	-devel
7
8
HASH=		2f4a4947
CFENGINE_COMMIT_DATE=	2022.01.21
9
10
11
12
13
14
15
16

MAINTAINER=	cy@FreeBSD.org
#		gjb@FreeBSD.org is also committer for this port
#		skreuzer@FreeBSD.org is also committer for this port
COMMENT=	cfengine sample policies for installations and upgrades

LICENSE=	GPLv3

17
USE_GITHUB=	yes
18
GH_ACCOUNT=	cfengine
19
20
GH_PROJECT=	masterfiles
GH_TAGNAME=	${HASH}
21
CPE_VENDOR=	gnu
22
CPE_PRODUCT=	cfengine
23
24
25
26

CONFLICTS=	cfengine-masterfiles3[0-9]-* cfengine-masterfiles31[02-9]-* \
		cfengine-masterfiles-3.*

27
RUN_DEPENDS=	cf-agent:sysutils/cfengine${PKGNAMESUFFIX}
28
29
30
31

FETCH_BEFORE_ARGS=	-o ${DISTDIR}/${DISTFILES}

MAKE_JOBS_UNSAFE=	yes
32
USES=		autoreconf:build cpe gmake python:build
33
34
35
36
37
38
39
HAS_CONFIGURE=	yes
EXAMPLESDIR=	${PREFIX}/share/examples/cfengine-masterfiles
CONFIGURE_SCRIPT=	./autogen.sh
CONFIGURE_ARGS=	--prefix=${EXAMPLESDIR}
CONFIGURE_ENV=	EXPLICIT_VERSION=${PORTVERSION}-${HASH}

.include <bsd.port.mk>