openbsd-ports/x11/dbus/Makefile
alek afa58596de Update to 0.94 and make it work.
Sessionwide dbus tested with gaim; systemwide bus untested but at least it
starts up without dumping core.
2006-11-07 10:40:19 +00:00

41 lines
982 B
Makefile

# $OpenBSD: Makefile,v 1.3 2006/11/07 10:40:19 alek Exp $
COMMENT= "message system"
DISTNAME= dbus-0.94
SHARED_LIBS += dbus-1 5.0 # .5.0
CATEGORIES= x11
HOMEPAGE= http://dbus.freedesktop.org/
# GPL
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
WANTLIB= ICE X11 SM c pthread
MASTER_SITES= ${HOMEPAGE}releases/dbus/
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
LIB_DEPENDS= expat.>=6::textproc/expat
SEPARATE_BUILD= simple
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= LDFLAGS=-L${LOCALBASE}/lib \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include -pthread"
CONFIGURE_ARGS= --localstatedir=/var \
--with-dbus-user=_dbus \
--with-xml=expat
# Tests are disabled as they change the final dbus binaries
#CONFIGURE_ARGS= --enable-tests
#CONFIGURE_ARGS= --enable-verbose-mode
USE_LIBTOOL= Yes
FAKE_FLAGS= sysconfdir=${TRUEPREFIX}/share/examples/dbus \
DESTDIR=${WRKINST}
.include <bsd.port.mk>