blob: c11c60094918c89db8779a0b920d81d26282744b (
plain) (
blame)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# New ports collection makefile for: rsyslog3
# Date created: 9 July 2007
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= rsyslog
PORTREVISION= 1
COMMENT= Enhanced syslog daemon
LIB_DEPENDS= gnutls.40:${PORTSDIR}/security/gnutls
NO_LATEST_LINK= yes
USE_RC_SUBR= ${PORTNAME}d
SUB_FILES= pkg-message
MAN8= rsyslogd.8
MAN5= rsyslog.conf.5
CONFIGURE_ARGS+=--enable-klog --disable-static --enable-mail \
--enable-imfile --enable-imtemplate --enable-gnutls
.ifdef WITH_DEBUG
CONFIGURE_ARGS+=--enable-rtinst --enable-debug
.endif
PORTSCOUT= skipv:3.21.10,3.21.9,3.21.8,3.21.7,3.21.6,3.21.5,3.21.4,3.21.3,3.21.2,3.21.1,3.21.0
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|/lib/rsyslog/|${PREFIX}/lib/rsyslog/|'\
${WRKSRC}/tools/syslogd.c
@${GREP} -rl '/etc/rsyslog.conf' ${WRKSRC}|${XARGS} ${REINPLACE_CMD} -e\
's|/etc/rsyslog.conf|${PREFIX}/etc/rsyslog.conf|'
@${FIND} ${WRKSRC} -name '*.bak' -delete
post-install:
.ifndef NOPORTDOCS
@${INSTALL} -d ${DOCSDIR}/
@${INSTALL_DATA} ${WRKSRC}/doc/*html ${DOCSDIR}/
.endif
@${CAT} ${PKGMESSAGE}
.include "${.CURDIR}/bsd.rsyslog.mk"
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 900007
BROKEN= does not build
.endif
.include <bsd.port.post.mk>
|