9637f7852e
pkglint -r --network --only "migrate" As a side-effect of migrating the homepages, pkglint also fixed a few indentations in unrelated lines. These and the new homepages have been checked manually.
35 lines
1,003 B
Makefile
35 lines
1,003 B
Makefile
# $NetBSD: Makefile,v 1.19 2020/01/26 17:32:26 rillig Exp $
|
|
|
|
DISTNAME= arandr-0.1.10
|
|
PKGREVISION= 1
|
|
CATEGORIES= x11
|
|
MASTER_SITES= http://christian.amsuess.com/tools/arandr/files/
|
|
|
|
MAINTAINER= rga@sdf.lonestar.org
|
|
HOMEPAGE= https://christian.amsuess.com/tools/arandr/
|
|
COMMENT= Designed to provide a simple visual front end for XRandR
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-docutils>=0.6:../../textproc/py-docutils
|
|
DEPENDS+= ${PYPKGPREFIX}-gobject3-[0-9]*:../../devel/py-gobject3
|
|
|
|
.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= 27
|
|
|
|
# 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 "../../lang/python/distutils.mk"
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|