diff options
-rw-r--r-- | devel/dbus/Makefile | 3 | ||||
-rw-r--r-- | devel/dbus/pkg-plist | 7 |
2 files changed, 7 insertions, 3 deletions
diff --git a/devel/dbus/Makefile b/devel/dbus/Makefile index 671e253e10b4..4ba86365f573 100644 --- a/devel/dbus/Makefile +++ b/devel/dbus/Makefile @@ -7,7 +7,7 @@ PORTNAME= dbus PORTVERSION= 0.33 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES?= devel gnome MASTER_SITES= http://dbus.freedesktop.org/releases/ @@ -73,5 +73,6 @@ post-install: .endif ${INSTALL_SCRIPT} ${WRKSRC}/dbus.sh ${PREFIX}/etc/rc.d .endif + ${MKDIR} ${X11BASE}/share/dbus-1/services .include <bsd.port.post.mk> diff --git a/devel/dbus/pkg-plist b/devel/dbus/pkg-plist index 8b35fee5468e..fc71f783cf4b 100644 --- a/devel/dbus/pkg-plist +++ b/devel/dbus/pkg-plist @@ -43,8 +43,11 @@ lib/libdbus-glib-1.so.1 libdata/pkgconfig/dbus-1.pc libdata/pkgconfig/dbus-glib-1.pc @exec mkdir -p %D/share/dbus-1/services -@dirrm share/dbus-1/services -@dirrm share/dbus-1 +@exec mkdir -p %%X11BASE%%/share/dbus-1/services +@unexec rmdir %D/share/dbus-1/services 2>/dev/null || true +@unexec rmdir %D/share/dbus-1 2>/dev/null || true +@unexec rmdir %%X11BASE%%/share/dbus-1/services 2>/dev/null || true +@unexec rmdir %%X11BASE%%/share/dbus-1 2>/dev/null || true @dirrm include/dbus-%%VERSION%%/include/dbus @dirrm include/dbus-%%VERSION%%/include @dirrm include/dbus-%%VERSION%%/dbus |