2bd0c5e9e0
D-BUS is a message bus, used for sending messages between applications. Conceptually, it fits somewhere in between raw sockets and CORBA in terms of complexity. D-BUS supports broadcast messages, asynchronous messages (thus decreasing latency), authentication, and more. It is designed to be low-overhead; messages are sent using a binary protocol, not using XML. D-BUS also supports a method call mapping for its messages, but it is not required; this makes using the system quite simple. This package provides the D-BUS interface to GLib and the dbus-monitor utility (included here because it also uses GLib).
25 lines
811 B
Makefile
25 lines
811 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2004/10/11 17:46:41 jmmv Exp $
|
|
#
|
|
|
|
DBUS_INTERFACE= glib
|
|
DBUS_DIRS= glib tools
|
|
|
|
.include "../../sysutils/dbus/Makefile.common"
|
|
|
|
# We can't install from within the 'tools' directory automatically because
|
|
# we'd get a lot of other utilities installed (overriding the ones in the
|
|
# dbus package). We install dbus-monitor by hand below.
|
|
INSTALL_DIRS= ${WRKSRC}/glib
|
|
|
|
INSTALLATION_DIRS= bin lib/pkgconfig man/man1
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/dbus-glib-1.pc \
|
|
${PREFIX}/lib/pkgconfig/dbus-glib-1.pc
|
|
cd ${WRKSRC}/tools && ${LIBTOOL} --mode=install \
|
|
${INSTALL_PROGRAM} dbus-monitor ${PREFIX}/bin/dbus-monitor
|
|
${INSTALL_DATA} ${WRKSRC}/tools/dbus-monitor.1 \
|
|
${PREFIX}/man/man1/dbus-monitor.1
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|