svn commit: r524536 - head/games/battletanks
Alexey Dokuchaev
danfe at FreeBSD.org
Wed Jan 29 07:08:02 UTC 2020
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 at FreeBSD.org
+MAINTAINER= danfe at 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 \
More information about the svn-ports-all
mailing list