Index: head/devel/dbus/Makefile =================================================================== --- head/devel/dbus/Makefile (revision 431497) +++ head/devel/dbus/Makefile (revision 431498) @@ -1,60 +1,60 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ PORTNAME= dbus PORTVERSION= 1.10.14 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel gnome MASTER_SITES= http://dbus.freedesktop.org/releases/dbus/ MAINTAINER= gnome@FreeBSD.org COMMENT= Message bus system for inter-application communication LICENSE= GPLv2 LIB_DEPENDS= libexpat.so:textproc/expat2 PORTSCOUT= limitw:1,even USES= cpe gmake libtool localbase pathfix GNU_CONFIGURE= yes USE_LDCONFIG= yes CONFIGURE_ARGS= --with-test-socket-dir=${WRKDIR} \ --disable-doxygen-docs \ --disable-selinux \ --disable-apparmor \ --disable-systemd INSTALL_TARGET= install-strip CPE_VENDOR= d-bus_project CPE_PRODUCT= d-bus USE_RC_SUBR= dbus USERS= messagebus GROUPS= messagebus PLIST_SUB= VERSION="1.0" GROUPS=${GROUPS} OPTIONS_DEFINE= EXAMPLES MANPAGES X11 OPTIONS_DEFAULT=MANPAGES X11 OPTIONS_SUB= yes X11_DESC= Support X11 Desktop Environments MANPAGES_CONFIGURE_ENV= XMLTO=${LOCALBASE}/bin/minixmlto MANPAGES_BUILD_DEPENDS= minixmlto:textproc/minixmlto MANPAGES_CONFIGURE_ENABLE= xml-docs X11_USE= xorg=ice,sm,x11 X11_CONFIGURE_WITH= x post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/dbus/dbus-sysdeps-unix.c @${REINPLACE_CMD} '/^SUBDIRS =/s|test||' ${WRKSRC}/Makefile.in post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${MV} ${STAGEDIR}${DOCSDIR}/examples/* ${STAGEDIR}${EXAMPLESDIR} ${RM} -r ${STAGEDIR}${DOCSDIR} .include Index: head/devel/dbus/files/dbus.in =================================================================== --- head/devel/dbus/files/dbus.in (revision 431497) +++ head/devel/dbus/files/dbus.in (revision 431498) @@ -1,40 +1,41 @@ #!/bin/sh # # $FreeBSD$ # # PROVIDE: dbus # REQUIRE: DAEMON ldconfig # # Add the following lines to /etc/rc.conf to enable the D-BUS messaging system: # # dbus_enable="YES" # . /etc/rc.subr : ${dbus_enable=${gnome_enable-NO}} ${dbus_flags="--system"} name=dbus rcvar=dbus_enable command="%%PREFIX%%/bin/dbus-daemon" pidfile="/var/run/dbus/pid" start_precmd="dbus_prestart" stop_postcmd="dbus_poststop" dbus_prestart() { %%PREFIX%%/bin/dbus-uuidgen --ensure + mkdir -p /var/run/dbus } dbus_poststop() { rm -f $pidfile # The following two lines may be removed after 2018-01-01 rm -f /var/db/dbus/machine-id [ ! -d /var/db/dbus ] || rmdir /var/db/dbus } load_rc_config ${name} run_rc_command "$1"