aboutsummaryrefslogtreecommitdiff
path: root/games/py-pychess/Makefile
blob: f1e17e210d5963bf62d12418a263365cecf381ec (plain) (blame)
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
# Created by: Nicola Vitale <nivit@FreeBSD.org>

PORTNAME=	pychess
PORTVERSION=	1.0.2
PORTREVISION=	3
CATEGORIES=	games python
MASTER_SITES=	https://github.com/pychess/pychess/releases/download/${PORTVERSION}/

MAINTAINER=	kevinz5000@gmail.com
COMMENT=	GTK chess client written in Python

LICENSE=	GPLv3

COMMON_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}sqlalchemy13>1.:databases/py-sqlalchemy13@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}psutil>0.:sysutils/py-psutil@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}gobject3>2:devel/py-gobject3@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}websockets>7.:devel/py-websockets@${PY_FLAVOR}
RUN_DEPENDS=	${COMMON_DEPENDS}
BUILD_DEPENDS=	${COMMON_DEPENDS}

USES=		desktop-file-utils display:configure gettext gnome python:3.7+
# DISPLAY must be set at all steps:
.for t in build install stage
_USES_$t+=	${_USES_configure}
.endfor
USE_GSTREAMER1=	yes
USE_PYTHON=	distutils autoplist
USE_GNOME=	gtksourceview3:run glib20 gtk30 librsvg2 introspection
PYDISTUTILS_INSTALLNOSINGLE=	nope

.include <bsd.port.mk>