Changeset View
Changeset View
Standalone View
Standalone View
games/adonthell/Makefile
Show All 32 Lines | PLIST_FILES= bin/adonthell \ | ||||
${DATADIR}/modules/dialogue.py | ${DATADIR}/modules/dialogue.py | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
# The "--embed" flag was introduced with Python 3.8 and is required because | # The "--embed" flag was introduced with Python 3.8 and is required because | ||||
# C extensions are no longer linked to libpython since Python 3.8 and onwards. | # C extensions are no longer linked to libpython since Python 3.8 and onwards. | ||||
# | # | ||||
# See also https://bugs.python.org/issue36721 for reference. | # See also https://bugs.python.org/issue36721 for reference. | ||||
.if ${PYTHON_REL} >= 3800 | .if ${PYTHON_REL} >= 30800 | ||||
_PY_EMBED= --embed | _PY_EMBED= --embed | ||||
.endif | .endif | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} 's,adonthell-0.3,adonthell,g' ${WRKSRC}/src/Makefile.in | @${REINPLACE_CMD} 's,adonthell-0.3,adonthell,g' ${WRKSRC}/src/Makefile.in | ||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |