openbsd-ports/x11/dbus/Makefile
ajacoutot 4ec44530ca Simplify after recent rc.subr change.
The framework is now stable and we will start documenting it (at last).
2010-12-27 14:50:22 +00:00

61 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.57 2010/12/27 14:50:24 ajacoutot Exp $
# XXX patches/patch-configure_in disables PIE on arm/hppa. This is just a
# temporary workaround until PIE works.
COMMENT= message bus system
DISTNAME= dbus-1.4.1
EPOCH= 0
REVISION= 1
SHARED_LIBS += dbus-1 9.0 # .8.2
CATEGORIES= x11
HOMEPAGE= http://dbus.freedesktop.org/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv2+
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
WANTLIB= ICE X11 Xau Xdmcp SM c expat pthread pthread-stubs xcb
MASTER_SITES= ${HOMEPAGE}/releases/dbus/
SEPARATE_BUILD= simple
USE_LIBTOOL= Yes
USE_GROFF = Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -pthread"
CONFIGURE_ARGS= --localstatedir=/var \
--with-dbus-user=_dbus \
--with-xml=expat \
--enable-kqueue \
--disable-silent-rules \
--disable-xml-docs \
--disable-doxygen-docs \
--disable-abstract-sockets \
--disable-selinux \
--disable-libaudit \
--disable-dnotify \
--disable-inotify
# Tests are disabled as they change the final dbus binaries
#CONFIGURE_ARGS+= --enable-tests
#CONFIGURE_ARGS+= --enable-verbose-mode
FAKE_FLAGS= sysconfdir=${TRUEPREFIX}/share/examples/dbus
pre-configure:
@${SUBST_CMD} ${WRKSRC}/doc/dbus-daemon.1 ${WRKSRC}/doc/dbus-uuidgen.1
.include <bsd.port.mk>