| @@ -1,34 +1,34 @@ | | | @@ -1,34 +1,34 @@ |
1 | # $NetBSD: Makefile,v 1.3 2016/01/04 15:01:51 hauke Exp $ | | 1 | # $NetBSD: Makefile,v 1.4 2016/07/09 09:31:05 rillig Exp $ |
2 | | | 2 | |
3 | DISTNAME= arandr-0.1.8 | | 3 | DISTNAME= arandr-0.1.8 |
4 | CATEGORIES= x11 | | 4 | CATEGORIES= x11 |
5 | MASTER_SITES= http://christian.amsuess.com/tools/arandr/files/ | | 5 | MASTER_SITES= http://christian.amsuess.com/tools/arandr/files/ |
6 | | | 6 | |
7 | MAINTAINER= rga@sdf.lonestar.org | | 7 | MAINTAINER= rga@sdf.lonestar.org |
8 | HOMEPAGE= http://christian.amsuess.com/tools/arandr/ | | 8 | HOMEPAGE= http://christian.amsuess.com/tools/arandr/ |
9 | COMMENT= Designed to provide a simple visual front end for XRandR | | 9 | COMMENT= Designed to provide a simple visual front end for XRandR |
10 | LICENSE= gnu-gpl-v3 | | 10 | LICENSE= gnu-gpl-v3 |
11 | | | 11 | |
12 | DEPENDS+= ${PYPKGPREFIX}-docutils>=0.6:../../textproc/py-docutils | | 12 | DEPENDS+= ${PYPKGPREFIX}-docutils>=0.6:../../textproc/py-docutils |
13 | | | 13 | |
14 | .include "../../mk/bsd.prefs.mk" | | 14 | .include "../../mk/bsd.prefs.mk" |
15 | | | 15 | |
16 | .if ${X11_TYPE} != "native" | | 16 | .if ${X11_TYPE} != "native" |
17 | DEPENDS+= xrandr>=1.2:../../x11/xrandr | | 17 | DEPENDS+= xrandr>=1.2:../../x11/xrandr |
18 | .endif | | 18 | .endif |
19 | | | 19 | |
20 | PY_PATCHPLIST = YES | | 20 | PY_PATCHPLIST= YES |
21 | PYSETUP = setup.py | | 21 | PYSETUP= setup.py |
22 | PYTHON_VERSIONS_INCOMPATIBLE= 33 34 35 # py-gtk2, py-docutils | | 22 | PYTHON_VERSIONS_INCOMPATIBLE= 33 34 35 # py-gtk2, py-docutils |
23 | | | 23 | |
24 | # Adjust setup.py | | 24 | # Adjust setup.py |
25 | SUBST_CLASSES+= setup | | 25 | SUBST_CLASSES+= setup |
26 | SUBST_STAGE.setup= pre-configure | | 26 | SUBST_STAGE.setup= pre-configure |
27 | SUBST_MESSAGE.setup= Fixing ${PYSETUP} | | 27 | SUBST_MESSAGE.setup= Fixing ${PYSETUP} |
28 | SUBST_FILES.setup= ${PYSETUP} | | 28 | SUBST_FILES.setup= ${PYSETUP} |
29 | SUBST_SED.setup+= -e 's,share/man/,${PKGMANDIR}/,g' | | 29 | SUBST_SED.setup+= -e 's,share/man/,${PKGMANDIR}/,g' |
30 | | | 30 | |
31 | .include "../../x11/py-gtk2/buildlink3.mk" | | 31 | .include "../../x11/py-gtk2/buildlink3.mk" |
32 | .include "../../lang/python/distutils.mk" | | 32 | .include "../../lang/python/distutils.mk" |
33 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | | 33 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" |
34 | .include "../../mk/bsd.pkg.mk" | | 34 | .include "../../mk/bsd.pkg.mk" |