Changeset View
Changeset View
Standalone View
Standalone View
games/py-mnemosyne/Makefile
# Created by: Beech Rintoul <beech@FreeBSD.org> | # Created by: Beech Rintoul <beech@FreeBSD.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= mnemosyne | PORTNAME= mnemosyne | ||||
PORTVERSION= 2.7.1 | PORTVERSION= 2.7.1 | ||||
PORTREVISION= 1 | |||||
PORTEPOCH= 1 | PORTEPOCH= 1 | ||||
CATEGORIES= games python | CATEGORIES= games python | ||||
MASTER_SITES= SF/mnemosyne-proj/${PORTNAME}/${PORTNAME}-${DISTVERSION} | MASTER_SITES= SF/mnemosyne-proj/${PORTNAME}/${PORTNAME}-${DISTVERSION} | ||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||||
DISTNAME= Mnemosyne-${DISTVERSION} | DISTNAME= Mnemosyne-${DISTVERSION} | ||||
MAINTAINER= ports@FreeBSD.org | MAINTAINER= lbartoletti@FreeBSD.org | ||||
COMMENT= Flash-card tool which optimises your learning process | COMMENT= Flash-card tool which optimises your learning process | ||||
LICENSE= LGPL3 | LICENSE= LGPL3 | ||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ | RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ | ||||
${PYTHON_PKGNAMEPREFIX}PyOpenGL>=0:graphics/py-PyOpenGL@${PY_FLAVOR} \ | ${PYTHON_PKGNAMEPREFIX}PyOpenGL>=0:graphics/py-PyOpenGL@${PY_FLAVOR} \ | ||||
${PY_PILLOW} \ | ${PY_PILLOW} \ | ||||
${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR} \ | ${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR} \ | ||||
${PYTHON_PKGNAMEPREFIX}webob>=1.4:www/py-webob@${PY_FLAVOR} \ | ${PYTHON_PKGNAMEPREFIX}webob>=1.4:www/py-webob@${PY_FLAVOR} \ | ||||
${PYTHON_PKGNAMEPREFIX}cheroot>=0:www/py-cheroot@${PY_FLAVOR} | ${PYTHON_PKGNAMEPREFIX}cheroot>=0:www/py-cheroot@${PY_FLAVOR} \ | ||||
${PYTHON_PKGNAMEPREFIX}googletrans>=0:textproc/py-googletrans@${PY_FLAVOR} \ | |||||
${PYTHON_PKGNAMEPREFIX}gtts>=0:audio/py-gtts@${PY_FLAVOR} | |||||
USES= pyqt:5 python:3.5+ | USES= pyqt:5 python:3.7+ #due textproc/py-googletrans | ||||
USE_PYQT= gui_run network_run printsupport_run sip_run sql_run webengine_run | USE_PYQT= gui_run network_run printsupport_run sip_run sql_run webengine_run | ||||
USE_PYTHON= distutils autoplist | USE_PYTHON= autoplist concurrent distutils | ||||
NO_ARCH= yes | NO_ARCH= yes | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's|\(share/\)icons|\1pixmaps|' ${WRKSRC}/setup.py | @${REINPLACE_CMD} -e 's|icons|pixmaps|' ${WRKSRC}/setup.py | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |