2000-04-25 14:48:06 +02:00
|
|
|
# New ports collection makefile for: syslog-ng
|
|
|
|
# Date created: 22 April 2000
|
2003-03-06 16:00:05 +01:00
|
|
|
# Whom: Vince Valenti <vince@blue-box.net>
|
2000-04-25 14:48:06 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= syslog-ng
|
2007-02-05 15:48:57 +01:00
|
|
|
PORTVERSION= 1.6.12
|
2000-04-25 14:48:06 +02:00
|
|
|
CATEGORIES= sysutils
|
2007-06-08 20:08:42 +02:00
|
|
|
MASTER_SITES= http://www.balabit.com/downloads/files/syslog-ng/sources/1.6/src/
|
2000-04-25 14:48:06 +02:00
|
|
|
|
2007-07-12 20:52:00 +02:00
|
|
|
MAINTAINER= lme@FreeBSD.org
|
2006-02-19 19:35:00 +01:00
|
|
|
COMMENT= A powerful syslogd replacement
|
2000-04-25 14:48:06 +02:00
|
|
|
|
2007-02-05 15:48:57 +01:00
|
|
|
CONFIGURE_ARGS= --mandir=${MANPREFIX}/man
|
2000-04-25 14:48:06 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2007-02-05 15:48:57 +01:00
|
|
|
PKGMESSAGE= ${WRKDIR}/MESSAGE
|
2005-03-05 19:59:30 +01:00
|
|
|
USE_GCC= 3.3+
|
2007-02-05 15:48:57 +01:00
|
|
|
USE_RC_SUBR= syslog-ng.sh
|
2000-04-25 14:48:06 +02:00
|
|
|
|
2007-02-05 15:48:57 +01:00
|
|
|
OPTIONS= TCP_WRAPPERS "Enable TCP wrapper support" off
|
|
|
|
|
2007-05-30 08:42:40 +02:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
2007-02-05 15:48:57 +01:00
|
|
|
MAN5= syslog-ng.conf.5
|
|
|
|
MAN8= syslog-ng.8
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
2000-04-25 14:48:06 +02:00
|
|
|
|
2003-03-06 16:00:05 +01:00
|
|
|
.if defined(WITH_TCP_WRAPPERS)
|
2007-02-05 15:48:57 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-tcp-wrapper
|
2003-03-06 16:00:05 +01:00
|
|
|
.endif
|
|
|
|
|
2000-04-25 14:48:06 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} \
|
2007-02-05 15:48:57 +01:00
|
|
|
${DOCSDIR} ${DOCSDIR}/sgml
|
|
|
|
.for f in AUTHORS COPYING ChangeLog INSTALL NEWS PORTS README
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/sgml/${PORTNAME}.* ${DOCSDIR}/sgml
|
2000-04-25 14:48:06 +02:00
|
|
|
.endif
|
2007-02-05 15:48:57 +01:00
|
|
|
${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} ${PREFIX}/etc/syslog-ng
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/syslog-ng.conf.sample \
|
|
|
|
${PREFIX}/etc/syslog-ng
|
2000-04-25 14:48:06 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2007-02-05 15:48:57 +01:00
|
|
|
.include <bsd.port.post.mk>
|