aboutsummaryrefslogtreecommitdiff
path: root/sysutils/syslog-ng
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/syslog-ng')
-rw-r--r--sysutils/syslog-ng/Makefile15
-rw-r--r--sysutils/syslog-ng/files/pkg-message.in (renamed from sysutils/syslog-ng/pkg-message)4
2 files changed, 6 insertions, 13 deletions
diff --git a/sysutils/syslog-ng/Makefile b/sysutils/syslog-ng/Makefile
index 3a838e1cb143..b061b1b5faa5 100644
--- a/sysutils/syslog-ng/Makefile
+++ b/sysutils/syslog-ng/Makefile
@@ -8,10 +8,9 @@
PORTNAME= syslog-ng
PORTVERSION= 1.6.12
CATEGORIES= sysutils
-MASTER_SITES= http://www.balabit.com/downloads/syslog-ng/1.6/src/ \
- http://www.balabit.com/downloads/syslog-ng/1.6/src/old/
+MASTER_SITES= http://www.balabit.com/downloads/files/syslog-ng/sources/1.9/src/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= lars.engels@0x20.net
COMMENT= A powerful syslogd replacement
CONFIGURE_ARGS= --mandir=${MANPREFIX}/man
@@ -22,6 +21,8 @@ USE_RC_SUBR= syslog-ng.sh
OPTIONS= TCP_WRAPPERS "Enable TCP wrapper support" off
+SUB_FILES= pkg-message
+
MAN5= syslog-ng.conf.5
MAN8= syslog-ng.8
@@ -31,14 +32,6 @@ MAN8= syslog-ng.8
CONFIGURE_ARGS+= --enable-tcp-wrapper
.endif
-post-patch:
- @${REINPLACE_CMD} -e 's:__PREFIX__:${PREFIX}:g' \
- ${WRKSRC}/src/syslog-ng.h
-
-post-build:
- @${SED} -e 's,__PREFIX__,${PREFIX},g' ${PKGDIR}/pkg-message \
- > ${PKGMESSAGE}
-
post-install:
.if !defined(NOPORTDOCS)
${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} \
diff --git a/sysutils/syslog-ng/pkg-message b/sysutils/syslog-ng/files/pkg-message.in
index 223446c811e0..be772e96dd4a 100644
--- a/sysutils/syslog-ng/pkg-message
+++ b/sysutils/syslog-ng/files/pkg-message.in
@@ -2,7 +2,7 @@
syslog-ng is now installed! To replace FreeBSD's standard syslogd
(/usr/sbin/syslogd), complete these steps:
-1. Create a configuration file named __PREFIX__/etc/syslog-ng/syslog-ng.conf
+1. Create a configuration file named %%PREFIX%%/etc/syslog-ng/syslog-ng.conf
(a sample named syslog-ng.conf.sample has been included)
2. Configure syslog-ng to start automatically by adding the following
@@ -21,5 +21,5 @@ syslog-ng is now installed! To replace FreeBSD's standard syslogd
5. Start syslog-ng:
- __PREFIX__/etc/rc.d/syslog-ng.sh start
+ %%PREFIX%%/etc/rc.d/syslog-ng.sh start