blob: 5e2ea08b1dd399d7f3893d76749ee282c440889a (
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
|
# $NetBSD: Makefile,v 1.15 2005/09/22 02:08:14 minskim Exp $
#
PKGREVISION= 3
.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}
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"
|