diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-06-10 19:03:48 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-06-10 19:03:48 +0000 |
commit | 70eb7f5569bd10de6b7f8c4031c36e8f14b4f58c (patch) | |
tree | 7fe8ad9a7c9f6d3c114aa928687036b8077f388b | |
parent | 136a06f03db93d8f720d36a84980d6db8bcc0536 (diff) | |
download | ports-70eb7f5569bd10de6b7f8c4031c36e8f14b4f58c.tar.gz ports-70eb7f5569bd10de6b7f8c4031c36e8f14b4f58c.zip |
Notes
-rw-r--r-- | devel/dbus/Makefile | 2 | ||||
-rw-r--r-- | devel/dbus/files/dbus.in | 10 |
2 files changed, 9 insertions, 3 deletions
diff --git a/devel/dbus/Makefile b/devel/dbus/Makefile index ec287c2bdf43..9b816b0351f6 100644 --- a/devel/dbus/Makefile +++ b/devel/dbus/Makefile @@ -7,7 +7,7 @@ PORTNAME= dbus PORTVERSION= 0.61 -PORTREVISION?= 3 +PORTREVISION?= 4 CATEGORIES?= devel gnome MASTER_SITES= http://dbus.freedesktop.org/releases/ diff --git a/devel/dbus/files/dbus.in b/devel/dbus/files/dbus.in index 02d9c577595d..61638229f36b 100644 --- a/devel/dbus/files/dbus.in +++ b/devel/dbus/files/dbus.in @@ -21,9 +21,15 @@ rcvar=`set_rcvar` command="%%PREFIX%%/bin/dbus-daemon" pidfile="/var/run/dbus/${name}.pid" -stop_postcmd=stop_postcmd +start_precmd="dbus_prestart" +stop_postcmd="dbus_poststop" -stop_postcmd() +dbus_prestart() +{ + mkdir -p $(dirname $pidfile) +} + +dbus_poststop() { rm -f $pidfile } |