pkgsrc/sysutils/dbus-python-common/Makefile
rillig b686dd9180 all: migrate several HOMEPAGEs to https
pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
2020-01-18 23:30:43 +00:00

39 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.21 2020/01/18 23:35:15 rillig Exp $
DISTNAME= dbus-python-1.2.14
PKGNAME= ${DISTNAME:S/python/python-common/}
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
CONFLICTS+= py[0-9]*-dbus<1.1.1
PYTHON_FOR_BUILD_ONLY= yes
#BUILD_DEPENDS+= ${PYPKGPREFIX}-docutils>=0:../../textproc/py-docutils
#DEPENDS+= ${PYPKGPREFIX}-pyrex>=0.9.3:../../lang/py-pyrex
#PYTHON_VERSIONS_INCOMPATIBLE= 36 # py-pyrex
USE_TOOLS+= pkg-config gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-html-docs --disable-api-docs
BUILDLINK_TRANSFORM.SunOS+= rm:-std=c9x
INSTALLATION_DIRS+= include/dbus-1.0/dbus
INSTALLATION_DIRS+= lib/pkgconfig
do-install:
${INSTALL_DATA} ${WRKSRC}/include/dbus/dbus-python.h \
${DESTDIR}${PREFIX}/include/dbus-1.0/dbus
${INSTALL_DATA} ${WRKSRC}/dbus-python.pc \
${DESTDIR}${PREFIX}/lib/pkgconfig
.include "../../lang/python/application.mk"
BUILDLINK_API_DEPENDS.dbus+= dbus>=1.0
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"