git: 1219706d8092 - main - games/easyrpg-player: update 0.7.0 → 0.8

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Tue, 02 May 2023 17:12:20 UTC
The branch main has been updated by amdmi3:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1219706d80928263873a447de8b2013b9591ba31

commit 1219706d80928263873a447de8b2013b9591ba31
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2023-05-02 15:24:02 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2023-05-02 17:12:06 +0000

    games/easyrpg-player: update 0.7.0 → 0.8
---
 games/easyrpg-player/Makefile  | 24 ++++++++++++------------
 games/easyrpg-player/distinfo  |  6 +++---
 games/easyrpg-player/pkg-plist |  7 ++++++-
 3 files changed, 21 insertions(+), 16 deletions(-)

diff --git a/games/easyrpg-player/Makefile b/games/easyrpg-player/Makefile
index b822376e1595..f73a62dfa4e7 100644
--- a/games/easyrpg-player/Makefile
+++ b/games/easyrpg-player/Makefile
@@ -1,11 +1,11 @@
 PORTNAME=	easyrpg-player
-PORTVERSION=	0.7.0
-PORTREVISION=	6
+PORTVERSION=	0.8
 CATEGORIES=	games
 
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	RPG Maker 2000/2003 and EasyRPG games interpreter
-WWW=		https://easyrpg.org/
+WWW=		https://easyrpg.org/ \
+		https://github.com/EasyRPG/Player
 
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING
@@ -29,8 +29,7 @@ LIB_DEPENDS=	liblcf.so:games/liblcf \
 # these come from liblcf
 LIB_DEPENDS+=	libicui18n.so:devel/icu \
 		libexpat.so:textproc/expat2
-BUILD_DEPENDS=	asciidoc:textproc/asciidoc \
-		${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
+BUILD_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	EasyRPG
@@ -38,19 +37,20 @@ GH_PROJECT=	Player
 
 USES=		cmake:insource compiler:c++14-lang localbase:ldflags pkgconfig \
 		sdl xorg
-CMAKE_ARGS=	-DCMAKE_INSTALL_MANDIR=share/man
 CMAKE_ON=	CMAKE_DISABLE_FIND_PACKAGE_Git
 USE_XORG=	pixman
 USE_SDL=	sdl2
 
-PORTDOCS=	AUTHORS.md README.md
+PORTDOCS=	README.md
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS MANPAGES
+OPTIONS_DEFAULT=MANPAGES
+OPTIONS_SUB=	yes
 
-post-install:
-	@${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions
-	${INSTALL_DATA} ${WRKSRC}/resources/unix/bash-completion/easyrpg-player \
-		${STAGEDIR}${PREFIX}/share/bash-completion/completions/
+MANPAGES_BUILD_DEPENDS=	asciidoctor:textproc/rubygem-asciidoctor
+
+post-patch-MANPAGES-off:
+	@${REINPLACE_CMD} -e '/find_program.*asciidoctor/ d' ${WRKSRC}/CMakeLists.txt
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/games/easyrpg-player/distinfo b/games/easyrpg-player/distinfo
index 35767ffaab1c..4bf54b92887f 100644
--- a/games/easyrpg-player/distinfo
+++ b/games/easyrpg-player/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1635777822
-SHA256 (EasyRPG-Player-0.7.0_GH0.tar.gz) = fa3a6bf37ad09dad8c811631845498b8cda166164d55bd9b89f9fc3944e5f8c3
-SIZE (EasyRPG-Player-0.7.0_GH0.tar.gz) = 6426198
+TIMESTAMP = 1683028073
+SHA256 (EasyRPG-Player-0.8_GH0.tar.gz) = 93e225e28f5636b76ce84555b19285a429e116b5c6bc479e5bfcc268069601ac
+SIZE (EasyRPG-Player-0.8_GH0.tar.gz) = 6584685
diff --git a/games/easyrpg-player/pkg-plist b/games/easyrpg-player/pkg-plist
index c4f8b2b6efe5..ee5ba517406e 100644
--- a/games/easyrpg-player/pkg-plist
+++ b/games/easyrpg-player/pkg-plist
@@ -1,3 +1,8 @@
 bin/easyrpg-player
-share/man/man6/easyrpg-player.6.gz
+share/applications/easyrpg-player.desktop
 share/bash-completion/completions/easyrpg-player
+share/icons/hicolor/48x48/apps/easyrpg-player.png
+share/icons/hicolor/scalable/apps/easyrpg-player.svg
+%%MANPAGES%%share/man/man6/easyrpg-player.6.gz
+share/metainfo/easyrpg-player.metainfo.xml
+share/pixmaps/easyrpg-player.png