2008-04-30 15:38:14 +02:00
|
|
|
# $NetBSD: Makefile,v 1.28 2008/04/30 13:38:16 jmmv Exp $
|
2004-10-11 19:45:26 +02:00
|
|
|
#
|
|
|
|
|
2006-12-15 20:06:00 +01:00
|
|
|
DISTNAME= dbus-1.0.2
|
2008-03-02 14:21:07 +01:00
|
|
|
PKGREVISION= 5
|
2006-08-23 11:44:27 +02:00
|
|
|
CATEGORIES= sysutils
|
2006-11-13 16:16:20 +01:00
|
|
|
MASTER_SITES= http://dbus.freedesktop.org/releases/dbus/
|
2004-10-11 19:45:26 +02:00
|
|
|
|
2008-04-30 15:38:14 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2006-08-23 11:44:27 +02:00
|
|
|
HOMEPAGE= http://www.freedesktop.org/Software/dbus
|
|
|
|
COMMENT= Message bus system
|
2006-04-23 02:12:35 +02:00
|
|
|
|
2006-11-05 18:06:43 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2006-08-23 11:44:27 +02:00
|
|
|
CONFLICTS+= dbus-glib<0.71
|
|
|
|
CONFLICTS+= py*-dbus<0.71
|
2006-04-23 02:12:35 +02:00
|
|
|
|
2006-08-23 11:44:27 +02:00
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
USE_TOOLS+= gmake msgfmt pkg-config
|
|
|
|
USE_LIBTOOL= YES
|
2004-10-11 19:45:26 +02:00
|
|
|
|
2006-08-23 11:44:27 +02:00
|
|
|
PKGCONFIG_OVERRIDE= dbus-1.pc.in
|
2004-10-11 19:45:26 +02:00
|
|
|
|
2006-08-23 11:44:27 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-abstract-sockets
|
|
|
|
CONFIGURE_ARGS+= --disable-ansi
|
|
|
|
CONFIGURE_ARGS+= --disable-asserts
|
|
|
|
CONFIGURE_ARGS+= --disable-console-owner-file
|
|
|
|
CONFIGURE_ARGS+= --disable-dnotify
|
|
|
|
CONFIGURE_ARGS+= --disable-doxygen-docs
|
|
|
|
CONFIGURE_ARGS+= --disable-gcov
|
|
|
|
CONFIGURE_ARGS+= --disable-selinux
|
|
|
|
CONFIGURE_ARGS+= --disable-tests
|
|
|
|
CONFIGURE_ARGS+= --disable-verbose-mode
|
|
|
|
CONFIGURE_ARGS+= --disable-xml-docs
|
|
|
|
CONFIGURE_ARGS+= --enable-checks
|
|
|
|
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
|
|
CONFIGURE_ARGS+= --with-xml=expat
|
2006-11-29 11:11:53 +01:00
|
|
|
CONFIGURE_ARGS+= --with-dbus-user=${DBUS_USER}
|
2004-10-11 19:45:26 +02:00
|
|
|
|
2006-08-23 11:44:27 +02:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.dbus
|
2006-12-15 20:06:00 +01:00
|
|
|
PKG_SUPPORTED_OPTIONS+= debug nox11
|
2004-10-11 19:45:26 +02:00
|
|
|
|
2006-08-23 11:44:27 +02:00
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mdebug)
|
|
|
|
CONFIGURE_ARGS+= --enable-asserts
|
|
|
|
CONFIGURE_ARGS+= --enable-tests
|
|
|
|
CONFIGURE_ARGS+= --enable-verbose-mode
|
|
|
|
.endif
|
|
|
|
|
2006-12-15 20:06:00 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Mnox11)
|
|
|
|
CONFIGURE_ARGS+= --without-x
|
|
|
|
.else
|
2007-01-10 09:35:57 +01:00
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
2006-12-15 20:06:00 +01:00
|
|
|
.endif
|
|
|
|
|
2006-08-23 11:44:27 +02:00
|
|
|
PKG_SYSCONFSUBDIR= dbus-1
|
|
|
|
MAKE_DIRS= ${PKG_SYSCONFDIR}/event.d
|
|
|
|
MAKE_DIRS+= ${PKG_SYSCONFDIR}/system.d
|
|
|
|
|
|
|
|
EGDIR= ${PREFIX}/share/examples/dbus
|
|
|
|
CONF_FILES= ${EGDIR}/session.conf ${PKG_SYSCONFDIR}/session.conf
|
|
|
|
CONF_FILES+= ${EGDIR}/system.conf ${PKG_SYSCONFDIR}/system.conf
|
2006-11-13 16:16:20 +01:00
|
|
|
INSTALLATION_DIRS= ${EGDIR}
|
2006-03-31 18:40:41 +02:00
|
|
|
|
2006-08-23 11:44:27 +02:00
|
|
|
RCD_SCRIPTS= dbus
|
|
|
|
|
2007-07-04 22:54:31 +02:00
|
|
|
PKG_GROUPS_VARS+= DBUS_GROUP
|
|
|
|
PKG_USERS_VARS+= DBUS_USER
|
2006-11-29 11:11:53 +01:00
|
|
|
|
|
|
|
PKG_GROUPS= ${DBUS_GROUP}
|
|
|
|
PKG_USERS= ${DBUS_USER}:${DBUS_GROUP}
|
|
|
|
PKG_GECOS.${DBUS_USER}= System message bus
|
|
|
|
PKG_HOME.${DBUS_USER}= ${VARBASE}/run/dbus
|
|
|
|
|
|
|
|
FILES_SUBST+= DBUS_USER=${DBUS_USER}
|
|
|
|
FILES_SUBST+= DBUS_GROUP=${DBUS_GROUP}
|
2006-08-23 11:44:27 +02:00
|
|
|
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
|
|
.include "../../textproc/expat/buildlink3.mk"
|
2004-10-11 19:45:26 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|