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)
This commit is contained in:
Alexey Dokuchaev 2020-01-29 07:08:01 +00:00
parent c8396503c8
commit 1d00638388
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=524536

View File

@ -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}" "Game;ArcadeGame;" ""
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 \