openbsd-ports/x11/dbus/Makefile

53 lines
1.2 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.37 2010/06/30 20:48:57 ajacoutot Exp $
# XXX patches/patch-configure_in disables PIE on arm/hppa. This is just a
2009-04-15 12:12:52 -04:00
# temporary workaround until PIE works.
2006-09-19 14:10:14 -04:00
2009-10-10 10:30:47 -04:00
COMMENT= message bus system
2010-04-20 10:54:21 -04:00
DISTNAME= dbus-1.2.24
PKGNAME= ${DISTNAME}p3
2009-10-10 10:30:47 -04:00
SHARED_LIBS += dbus-1 7.1 # .7.0
CATEGORIES= x11
2006-09-19 14:10:14 -04:00
2009-10-10 10:30:47 -04:00
HOMEPAGE= http://dbus.freedesktop.org/
2006-09-19 14:10:14 -04:00
# GPLv2+
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
2009-10-10 10:30:47 -04:00
WANTLIB= ICE X11 Xau Xdmcp SM c expat pthread pthread-stubs xcb
MASTER_SITES= ${HOMEPAGE}/releases/dbus/
SEPARATE_BUILD= simple
USE_LIBTOOL= Yes
USE_X11= 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 \
2010-04-20 10:54:21 -04:00
--enable-kqueue \
--disable-silent-rules \
2009-10-10 10:30:47 -04:00
--disable-xml-docs \
--disable-doxygen-docs \
--disable-abstract-sockets
# Tests are disabled as they change the final dbus binaries
2009-10-10 10:30:47 -04:00
#CONFIGURE_ARGS+= --enable-tests
#CONFIGURE_ARGS+= --enable-verbose-mode
2009-10-10 10:30:47 -04:00
FAKE_FLAGS= sysconfdir=${TRUEPREFIX}/share/examples/dbus
2006-09-19 14:10:14 -04:00
2009-10-10 10:30:47 -04:00
pre-configure:
@${SUBST_CMD} ${WRKSRC}/bus/dbus-daemon.1 ${WRKSRC}/tools/dbus-uuidgen.1
2006-09-19 14:10:14 -04:00
.include <bsd.port.mk>