summaryrefslogtreecommitdiff
path: root/sysutils/cfengine2/Makefile
blob: 2ddff2cb6e785c2330d888ddad156a1bc2a5f333 (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
32
33
34
35
36
37
# $NetBSD: Makefile,v 1.42 2016/03/05 11:29:28 jperkin Exp $

DISTNAME=	cfengine-2.2.10
PKGREVISION=	7
CATEGORIES=	sysutils net
MASTER_SITES=	http://www.cfengine.org/tarballs/ \
		http://ftp.osuosl.org/pub/cfengine/ \
		ftp://sunsite.uio.no/pub/cfengine/

MAINTAINER=	rhaen@NetBSD.org
HOMEPAGE=	http://www.cfengine.org/
COMMENT=	Automate configuration and administration of large systems
LICENSE=	gnu-gpl-v2

BUILD_DEFS+=		IPV6_READY

BDB_ACCEPTED=		db4
USE_LIBTOOL=		yes
USE_TOOLS+=		flex perl:run yacc
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-berkeleydb=${BUILDLINK_PREFIX.db4}
CONFIGURE_ARGS+=	--with-openssl=${BUILDLINK_PREFIX.openssl}

PTHREAD_OPTS+=		require
REPLACE_PERL=		contrib/cfdoc

RCD_SCRIPTS=		cfexecd cfservd cfenvd

INSTALLATION_DIRS=	${PKGMANDIR}/man8 ${VARBASE}/cfengine/inputs

post-install:
	${INSTALL_MAN} ${WRKSRC}/doc/*.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8

.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bdb.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"