Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Mar 2018 03:09:02 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r464860 - head/games/unknown-horizons
Message-ID:  <201803180309.w2I392CR055312@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Mar 18 03:09:02 2018
New Revision: 464860
URL: https://svnweb.freebsd.org/changeset/ports/464860

Log:
  games/unknown-horizons: Unbreak
  
  Add shebangfix fix.

Modified:
  head/games/unknown-horizons/Makefile

Modified: head/games/unknown-horizons/Makefile
==============================================================================
--- head/games/unknown-horizons/Makefile	Sun Mar 18 03:06:14 2018	(r464859)
+++ head/games/unknown-horizons/Makefile	Sun Mar 18 03:09:02 2018	(r464860)
@@ -20,12 +20,12 @@ RUN_DEPENDS=	${PYTHON_SITELIBDIR}/fife/__init__.py:gam
 
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803180309.w2I392CR055312>