diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2020-03-24 19:54:57 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2020-03-24 19:54:57 +0000 |
commit | 1bf9457272318a99eb550ee7603ef85903c36cea (patch) | |
tree | 30969701cc82a93abc61c62dd66cf03666bbe585 /games/pysolfc | |
parent | b4990c3eb608adca7aab250206f47b154ccd7711 (diff) | |
download | ports-1bf9457272318a99eb550ee7603ef85903c36cea.tar.gz ports-1bf9457272318a99eb550ee7603ef85903c36cea.zip |
Notes
Diffstat (limited to 'games/pysolfc')
-rw-r--r-- | games/pysolfc/Makefile | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/games/pysolfc/Makefile b/games/pysolfc/Makefile index 4f721f532f4c..cb4b06758b78 100644 --- a/games/pysolfc/Makefile +++ b/games/pysolfc/Makefile @@ -18,7 +18,8 @@ LICENSE_COMB= multi RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}random2>=0:math/py-random2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR} \ + ${PY_PILLOW} LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING LICENSE_DISTFILES_GPLv3+ = ${PYSOLFCDIST} @@ -74,14 +75,6 @@ PYSOLFCDIST= ${PYSOLFCDIR}${EXTRACT_SUFX} CARDSETDIR= PySolFC-Cardsets-2.0 CARDSETDIST= ${CARDSETDIR}.tar.bz2 -.include <bsd.port.pre.mk> - -.if ${PYTHON_REL} < 3500 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR} -.else -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} -.endif - post-patch: @${MV} ${WRKSRC}/pysol.py ${WRKSRC}/pysolfc @${REINPLACE_CMD} -e 's|pysol.py|pysolfc|' ${WRKSRC}/setup.py @@ -104,4 +97,4 @@ post-install: (cd ${WRKDIR}/${CARDSETDIR} && \ ${FIND} . -type f | ${SED} -e 's|^./|${DATADIR_REL}/|' >> ${TMPPLIST}) -.include <bsd.port.post.mk> +.include <bsd.port.mk> |