1 # $NetBSD: Makefile,v 1.24 2012/08/04 19:56:09 wiz Exp $
4 DISTNAME= dbus-python-1.1.1
5 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-python//}
8 MASTER_SITES= http://dbus.freedesktop.org/releases/dbus-python/
10 MAINTAINER= pkgsrc-users@NetBSD.org
11 HOMEPAGE= http://www.freedesktop.org/Software/dbus
12 COMMENT= Python bindings for the D-BUS message bus system
15 PKG_DESTDIR_SUPPORT= user-destdir
17 PYTHON_VERSIONS_INCOMPATIBLE= 25
18 PYTHON_VERSIONS_INCLUDE_3X= yes
20 USE_TOOLS+= pkg-config gmake
22 CONFIGURE_ARGS+= --disable-html-docs --disable-api-docs
26 # py-expat is only needed at runtime
27 DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
29 .include "../../mk/bsd.prefs.mk"
30 .if ${OPSYS} == "SunOS"
31 BUILDLINK_TRANSFORM+= rm:-std=c9x
34 .include "../../devel/glib2/buildlink3.mk"
35 .include "../../lang/python/extension.mk"
36 BUILDLINK_API_DEPENDS.dbus+= dbus>=1.0
37 .include "../../sysutils/dbus/buildlink3.mk"
38 .include "../../sysutils/dbus-glib/buildlink3.mk"
39 .include "../../sysutils/dbus-python-common/buildlink3.mk"
40 .include "../../mk/bsd.pkg.mk"