summaryrefslogtreecommitdiff
path: root/x11/py-pyvirtualdisplay/Makefile
blob: ba61b3fbdb7580e9c48a270eb2e3a9bb4f47615e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41

PORTNAME=	pyvirtualdisplay
PORTVERSION=	0.2.4
PORTREVISION=	1
CATEGORIES=	x11 python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	PyVirtualDisplay-${PORTVERSION}

MAINTAINER=	daniel@blodan.se
COMMENT=	Python wrapper for Xvfb, Xephyr and Xvnc

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cog>=2.3:devel/py-cog@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}easyprocess>0:devel/py-easyprocess@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}paver>0:devel/py-paver@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}pyscreenshot>0:x11/py-pyscreenshot@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} \
		${PY_PILLOW} \
		xauth>0:x11/xauth

USES=		python:3.6+
USE_PYTHON=	autoplist distutils

OPTIONS_SINGLE=		BACKEND
OPTIONS_SINGLE_BACKEND=	XEPHYR XVFB XVNC
OPTIONS_DEFAULT=	XVFB
BACKEND_DESC=		Virtual Backend To Install
XVFB_DESC=		Install Xvfb backend
XEPHYR_DESC=		Install Xephyr backend
XVNC_DESC=		Install Xvnc backend

XVFB_RUN_DEPENDS=	xorg-vfbserver>0:x11-servers/xorg-vfbserver
XEPHYR_RUN_DEPENDS=	xephyr>=0:x11-servers/xephyr
XVNC_RUN_DEPENDS=	tightvnc>=0:net/tightvnc

NO_ARCH=	yes

.include <bsd.port.mk>