From owner-svn-ports-head@freebsd.org Wed Jan 29 07:08:02 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2E1781C3EA1; Wed, 29 Jan 2020 07:08:02 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 486vhL0Q9Hz4DhC; Wed, 29 Jan 2020 07:08:02 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 093878446; Wed, 29 Jan 2020 07:08:02 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 00T781t3076711; Wed, 29 Jan 2020 07:08:01 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 00T781lc076710; Wed, 29 Jan 2020 07:08:01 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <202001290708.00T781lc076710@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Wed, 29 Jan 2020 07:08:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r524536 - head/games/battletanks X-SVN-Group: ports-head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: head/games/battletanks X-SVN-Commit-Revision: 524536 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jan 2020 07:08:02 -0000 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 \