Date: Wed, 29 Jan 2020 07:08:01 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r524536 - head/games/battletanks Message-ID: <202001290708.00T781lc076710@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Wed Jan 29 07:08:01 2020 New Revision: 524536 URL: https://svnweb.freebsd.org/changeset/ports/524536 Log: 1) Assume maintainership of the port after r524492 2) Vocalize `pre-build' target to make debugging easier and move it after the patching stage; simplify the wording in the corresponding comment 3) Fix the sed(1) expression: properly escape the dot, remove needless global modifier, and wrap the overly long line while here Requested by: linimon, pkubaj (1) Modified: head/games/battletanks/Makefile Modified: head/games/battletanks/Makefile ============================================================================== --- head/games/battletanks/Makefile Wed Jan 29 07:06:35 2020 (r524535) +++ head/games/battletanks/Makefile Wed Jan 29 07:08:01 2020 (r524536) @@ -7,7 +7,7 @@ PORTREVISION= 9 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-source/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= danfe@FreeBSD.org COMMENT= Fast 2D tank arcade game with multiplayer and split-screen modes LICENSE= GPLv2+ @@ -34,13 +34,14 @@ DESKTOP_ENTRIES="Battle Tanks" "" "" "${PORTNAME}" "Ga OPTIONS_DEFINE= DOCS -pre-build: -# Regenerate `sl08.h' after we patch `sl08.py' (as patching the header itself -# would have resulted in a larger diff and gratuitous difference with Debian) - @cd ${WRKSRC} && ${PYTHON_CMD} engine/sl08/sl08.py > engine/sl08/sl08.h - post-patch: - @${REINPLACE_CMD} -e "s/lua5.1/lua-${LUA_VER}/g" ${WRKSRC}/engine/SConscript + @${REINPLACE_CMD} -e 's/lua5\.1/lua-${LUA_VER}/' \ + ${WRKSRC}/engine/SConscript + +pre-build: +# Regenerate `sl08.h' after we patch `sl08.py' (patching the header itself +# would've resulted in a larger diff and gratuitous difference with Debian) + cd ${WRKSRC} && ${PYTHON_CMD} engine/sl08/sl08.py > engine/sl08/sl08.h post-install: ${INSTALL_MAN} ${FILESDIR}/${PORTNAME}.6 \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001290708.00T781lc076710>