blob: 98c0c17a09c0cd87f991b1e5924dda9494f0b697 (
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.13 2004/12/28 02:47:50 reed Exp $
#
PKGREVISION= 2
.include "../../sysutils/cfengine2/Makefile.common"
COMMENT= Automate configuration and administration of large systems
USE_BUILDLINK3= YES
GNU_CONFIGURE= YES
PTHREAD_OPTS+= require
BUILD_DEFS+= USE_INET6
CONFIGURE_ARGS+= --with-berkeleydb=${BUILDLINK_PREFIX.db4}
CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl}
USE_PKGINSTALL= YES
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"
|