summaryrefslogtreecommitdiff
path: root/sysutils/cfengine2/Makefile
blob: 860c572b69f6cf3afb5c1539b2bd9485206e4abf (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
38
# $NetBSD: Makefile,v 1.32 2010/05/11 14:50:27 pettai Exp $
#

DISTNAME=		cfengine-2.2.10
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

PKG_DESTDIR_SUPPORT=	user-destdir

BUILD_DEFS+=		IPV6_READY

USE_TOOLS+=		flex perl:run
USE_LIBTOOL=		yes

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 "../../mk/pthread.buildlink3.mk"
.include "../../databases/db4/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"