git: 99dfdc235ea8 - main - games/ponscripter-07th-mod: unbreak MANPAGES=off after a0bcd0fe9181

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 12 Dec 2022 11:01:20 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=99dfdc235ea8f81b337749b8f3f6f63d156b3ff9

commit 99dfdc235ea8f81b337749b8f3f6f63d156b3ff9
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-12-12 10:49:03 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-12-12 11:00:04 +0000

    games/ponscripter-07th-mod: unbreak MANPAGES=off after a0bcd0fe9181
    
    util/install-man install /wrkdirs/usr/ports/games/ponscripter-07th-mod/work/stage/usr/local doc/*.[0-9]
    install:  doc/*.[0-9] does not exist
    gmake[1]: *** [Makefile:39: install] Error 1
---
 games/ponscripter-07th-mod/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/games/ponscripter-07th-mod/Makefile b/games/ponscripter-07th-mod/Makefile
index 860720c6b093..d50d251c1f49 100644
--- a/games/ponscripter-07th-mod/Makefile
+++ b/games/ponscripter-07th-mod/Makefile
@@ -60,6 +60,11 @@ post-patch:
 	@${REINPLACE_CMD} -e 's/$$(LIBS)/$$(LDFLAGS) &/' \
 		${WRKSRC}/src/Makefile.ponscripter
 
+post-patch-MANPAGES-off:
+	@${REINPLACE_CMD} -i .manpages.bak \
+		-e '/install-man/d' \
+		${WRKSRC}/configure
+
 post-patch-TREMOR-on:
 	@${REINPLACE_CMD} -i .tremor.bak \
 		-e 's/"libogg, libvorbis"/libvorbisidec/' \