blob: aac885873272fd7c9a9255949d1b177ea3996b3f (
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
|
# $NetBSD: Makefile,v 1.17 2006/01/06 15:10:07 wiz Exp $
#
PKGREVISION= 4
.include "../../sysutils/cfengine2/Makefile.common"
COMMENT= Automate configuration and administration of large systems
GNU_CONFIGURE= YES
PTHREAD_OPTS+= require
BUILD_DEFS+= USE_INET6
CONFIGURE_ARGS+= --with-berkeleydb=${BUILDLINK_PREFIX.db4}
CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl}
RCD_SCRIPTS= cfexecd cfservd cfenvd
pre-configure:
${MV} -f ${WRKSRC}/contrib/vicf.in ${WRKSRC}/contrib/vicf.in.orig
${SED} -e "s|@ECHO@|${ECHO}|" \
${WRKSRC}/contrib/vicf.in.orig > ${WRKSRC}/contrib/vicf.in
post-install:
${INSTALL_MAN_DIR} ${PREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/doc/*.8 ${PREFIX}/man/man8
${INSTALL_DATA} ${WRKSRC}/inputs/*.example \
${PREFIX}/share/examples/cfengine
${INSTALL_DATA_DIR} /var/cfengine/inputs
.include "../../mk/pthread.buildlink3.mk"
.include "../../databases/db4/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|