games/unknown-horizons: Unbreak

Add shebangfix fix.
This commit is contained in:
Yuri Victorovich 2018-03-18 03:09:02 +00:00
parent a577a897a7
commit 8058ae434e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=464860

View File

@ -20,12 +20,12 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/fife/__init__.py:games/py-fife@${FLAVOR} \
ONLY_FOR_ARCHS= i386 amd64
USES= gettext-tools python:2.7 shebangfix tar:xz
USE_GITHUB= yes
USE_GNOME= intltool
USES= gettext-tools python:2.7 tar:xz
USE_PYTHON= distutils
PYDISTUTILS_PKGNAME= UnknownHorizons
SHEBANG_FILES= run_uh.py
.include <bsd.port.pre.mk>
@ -44,7 +44,7 @@ PLIST_SUB+= X64_ONLY="@comment "
.endif
post-patch:
${REINPLACE_CMD} -e "s|http://docbook.sourceforge.net/release/xsl/current|${LOCALBASE}/share/xsl/docbook|" \
@${REINPLACE_CMD} -e "s|http://docbook.sourceforge.net/release/xsl/current|${LOCALBASE}/share/xsl/docbook|" \
-e "s|share/man/man6|man/man6|" ${WRKSRC}/setup.py
# Install multiplayer lib (enet+pyenet)
@ -53,6 +53,6 @@ post-install:
${INSTALL_LIB} ${WRKSRC}/horizons/network/libs/freebsd-${ENET_DIR}/enet.so \
${STAGEDIR}${PYTHON_SITELIBDIR}/horizons/network/libs/freebsd-${ENET_DIR}/enet.so
# (rene) prune unwanted files to pass 'make check-plist'
${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}/UnknownHorizons-_unknown_-py${PYTHON_VER}.egg-info
@${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}/UnknownHorizons-_unknown_-py${PYTHON_VER}.egg-info
.include <bsd.port.post.mk>