aboutsummaryrefslogtreecommitdiff
path: root/mail/exilog
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-01-31 18:59:29 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-01-31 18:59:29 +0000
commitc7d76324ab4bdaeffc8d2fcac6ed500877e91081 (patch)
treeecd266250e9fb8d338c4369c7a35cde47fd4e2c6 /mail/exilog
parentedc7f0df5d1409547ff0ec69f281e200238dc472 (diff)
downloadports-c7d76324ab4bdaeffc8d2fcac6ed500877e91081.tar.gz
ports-c7d76324ab4bdaeffc8d2fcac6ed500877e91081.zip
- Use newly added @stopdaemon
Approved by: Larry Rosenman <ler at lerctr.org> (maintainer)
Notes
Notes: svn path=/head/; revision=183805
Diffstat (limited to 'mail/exilog')
-rw-r--r--mail/exilog/Makefile6
-rw-r--r--mail/exilog/pkg-plist2
2 files changed, 1 insertions, 7 deletions
diff --git a/mail/exilog/Makefile b/mail/exilog/Makefile
index e1f96c142551..ddb6c88274cd 100644
--- a/mail/exilog/Makefile
+++ b/mail/exilog/Makefile
@@ -47,12 +47,6 @@ PLIST_SUB+= AGENT="@comment "
.else
USE_RC_SUBR= exilog.sh
PLIST_SUB+= AGENT=""
-.if (${OSVERSION} >= 700007 || (${OSVERSION} < 700000 && ${OSVERSION} >= 600101))
-RCSCRIPT= exilog
-.else
-RCSCRIPT= exilog.sh
-.endif
-PLIST_SUB+= RCSCRIPT=${RCSCRIPT}
.endif
PLIST_SUB+= EXILOGDIR="${EXILOGDIR:S,^${PREFIX}/,,}"
diff --git a/mail/exilog/pkg-plist b/mail/exilog/pkg-plist
index 0184ec2fdd96..bb7433729a5b 100644
--- a/mail/exilog/pkg-plist
+++ b/mail/exilog/pkg-plist
@@ -1,4 +1,4 @@
-%%AGENT%%@unexec [ ! -f /var/run/exilog.pid ] || %D/etc/rc.d/%%RCSCRIPT%% stop
+%%AGENT%%@stopdaemon
%%AGENT%%sbin/exilog_agent.pl
sbin/exilog_cleanup.pl
%%EXILOGDIR%%/exilog_cgi.pl