[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / x11 / arandr

File: [cvs.NetBSD.org] / pkgsrc / x11 / arandr / Makefile (download)

Revision 1.13, Tue Jul 3 05:03:42 2018 UTC (5 years, 7 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.12: +2 -2 lines

extend PYTHON_VERSIONS_ for Python 3.7

# $NetBSD: Makefile,v 1.13 2018/07/03 05:03:42 adam Exp $

DISTNAME=	arandr-0.1.9
PKGREVISION=	4
CATEGORIES=	x11
MASTER_SITES=	http://christian.amsuess.com/tools/arandr/files/

MAINTAINER=	rga@sdf.lonestar.org
HOMEPAGE=	http://christian.amsuess.com/tools/arandr/
COMMENT=	Designed to provide a simple visual front end for XRandR
LICENSE=	gnu-gpl-v3

DEPENDS+=	${PYPKGPREFIX}-docutils>=0.6:../../textproc/py-docutils

.include "../../mk/bsd.prefs.mk"

.if ${X11_TYPE} != "native"
DEPENDS+=	xrandr>=1.2:../../x11/xrandr
.endif

PY_PATCHPLIST=			YES
PYSETUP=			setup.py
PYTHON_VERSIONS_INCOMPATIBLE=	34 35 36 37 # py-gtk2, py-docutils

# Adjust setup.py
SUBST_CLASSES+=		setup
SUBST_STAGE.setup=	pre-configure
SUBST_MESSAGE.setup=	Fixing ${PYSETUP}
SUBST_FILES.setup=	${PYSETUP}
SUBST_SED.setup+=	-e 's,share/man/,${PKGMANDIR}/,g'

.include "../../x11/py-gtk2/buildlink3.mk"
.include "../../lang/python/distutils.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"