74 lines
1.7 KiB
Makefile
Raw Normal View History

2017-04-06 08:23:56 +00:00
# $OpenBSD: Makefile,v 1.139 2017/04/06 08:23:56 ajacoutot Exp $
2012-09-30 07:51:33 +00:00
PORTROACH= limitw:1,even
DPB_PROPERTIES= parallel
2006-09-19 18:10:14 +00:00
COMMENT-main= message bus system
COMMENT-suid= DBus setuid helper for starting system services
2017-04-06 08:23:56 +00:00
V= 1.10.18
DISTNAME= dbus-${V}
EPOCH-main= 0
PKGNAME-main= ${DISTNAME}
PKGNAME-suid= dbus-daemon-launch-helper-${V}
2017-04-06 08:23:56 +00:00
SHARED_LIBS += dbus-1 11.1 # 17.11
2012-08-15 08:03:43 +00:00
CATEGORIES= x11
2006-09-19 18:10:14 +00:00
HOMEPAGE= http://dbus.freedesktop.org/
2006-09-19 18:10:14 +00:00
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
2010-07-02 18:01:53 +00:00
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c expat pthread
WANTLIB-main += ${WANTLIB} ICE SM X11 xcb
2015-08-27 06:46:46 +00:00
WANTLIB-suid += ${WANTLIB} dbus-1
MULTI_PACKAGES= -main -suid
MASTER_SITES= http://dbus.freedesktop.org/releases/dbus/
2009-10-10 14:30:47 +00:00
USE_GMAKE= Yes
2009-10-10 14:30:47 +00:00
BUILD_DEPENDS= textproc/xmlto
2009-10-10 14:30:47 +00:00
2015-08-27 06:46:46 +00:00
LIB_DEPENDS-suid= ${BASE_PKGPATH},-main
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-dbus-user=_dbus \
--disable-doxygen-docs \
2015-08-27 06:46:46 +00:00
--disable-ducktype-docs \
--disable-modular-tests \
2015-08-27 06:46:46 +00:00
--disable-systemd
2009-10-10 14:30:47 +00:00
2012-03-31 17:56:44 +00:00
# gives no chance of picking up devel/libexecinfo
CONFIGURE_ENV += ac_cv_header_execinfo_h=no \
ac_cv_func_backtrace=no
2012-03-31 17:56:44 +00:00
# Full test coverage is disabled:
# * changes the final dbus binaries
2013-12-27 12:12:05 +00:00
# * requires py-gobject and dbus-python (dependency loop)
2012-03-31 17:56:44 +00:00
# * requires the python MODULE
#MODULES += lang/python
2015-08-27 06:46:46 +00:00
#TEST_DEPENDS += devel/py-gobject3
#BUILD_DEPENDS += devel/py-gobject3
#CONFIGURE_ARGS+= --enable-developer
#CONFIGURE_ARGS+= --enable-modular-tests
#CONFIGURE_ARGS+= --enable-tests
2009-10-10 14:30:47 +00:00
#CONFIGURE_ARGS+= --enable-verbose-mode
FAKE_FLAGS= sysconfdir=${TRUEPREFIX}/share/examples/dbus
2006-09-19 18:10:14 +00:00
post-install:
rm -r ${WRKINST}/var/{lib,run/dbus}
2006-09-19 18:10:14 +00:00
.include <bsd.port.mk>