pkgsrc/sysutils/py-dbus/Makefile
2020-03-08 16:47:24 +00:00

29 lines
869 B
Makefile

# $NetBSD: Makefile,v 1.40 2020/03/08 16:48:12 wiz Exp $
DISTNAME= dbus-python-1.2.16
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-python//}
PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://dbus.freedesktop.org/releases/dbus-python/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.freedesktop.org/Software/dbus
COMMENT= Python bindings for the D-BUS message bus system
LICENSE= mit
USE_TOOLS+= pkg-config gmake
GNU_CONFIGURE= yes
PY_PATCHPLIST= YES
# py-expat is only needed at runtime
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
BUILDLINK_TRANSFORM.SunOS+= rm:-std=c9x
.include "../../devel/glib2/buildlink3.mk"
.include "../../lang/python/extension.mk"
BUILDLINK_API_DEPENDS.dbus+= dbus>=1.6
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../sysutils/dbus-python-common/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"