git: 7802c1baee40 - main - games/exult: follow stable releases

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sat, 06 Aug 2022 17:42:08 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7802c1baee406977e6477c408b9273ba6764fe61

commit 7802c1baee406977e6477c408b9273ba6764fe61
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2022-08-06 17:40:54 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-08-06 17:41:55 +0000

    games/exult: follow stable releases
    
     - follow stable releases (at 1.8)
---
 games/exult/Makefile  | 14 ++++++++++----
 games/exult/distinfo  |  6 +++---
 games/exult/pkg-plist |  3 ++-
 3 files changed, 15 insertions(+), 8 deletions(-)

diff --git a/games/exult/Makefile b/games/exult/Makefile
index 578fe06b7c1c..af38a8c15298 100644
--- a/games/exult/Makefile
+++ b/games/exult/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	exult
-DISTVERSIONPREFIX=	v
-DISTVERSION=	1.9.0.20220721
+DISTVERSION?=	1.8
 CATEGORIES=	games
 
 MAINTAINER=	eduardo@FreeBSD.org
@@ -17,8 +16,6 @@ LIB_DEPENDS=	libfreetype.so:print/freetype2 \
 USES=		autoreconf compiler:c++17-lang gmake libtool localbase \
 		pkgconfig sdl xorg
 
-USE_GITHUB=	yes
-GH_TAGNAME=	snapshot-${DISTVERSIONPREFIX}${DISTVERSION}
 USE_GNOME=	cairo gdkpixbuf2 glib20 gtk30
 USE_SDL=	mixer2 sdl2
 USE_XORG=	x11 xext
@@ -29,7 +26,16 @@ CONFIGURE_ARGS=	--disable-static \
 		--enable-shared \
 		--with-icondir=${PREFIX}/share/pixmaps
 
+CONFLICTS_INSTALL=	exult-devel
 SUB_FILES=	pkg-message
+PLIST?=		${.CURDIR}/pkg-plist
+
+.if !defined(MASTERDIR)
+MASTER_SITES=	http://prdownloads.sourceforge.net/exult/
+.else
+USE_GITHUB=	yes
+GH_TAGNAME=	snapshot-${DISTVERSIONPREFIX}${DISTVERSION}
+.endif
 
 OPTIONS_DEFINE=		ALSA DEBUG DOCS FLUIDSYNTH GIMP STUDIO
 OPTIONS_DEFAULT=	STUDIO
diff --git a/games/exult/distinfo b/games/exult/distinfo
index 30df66f787e9..20ad1041b9a7 100644
--- a/games/exult/distinfo
+++ b/games/exult/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1658394368
-SHA256 (exult-exult-v1.9.0.20220721-snapshot-v1.9.0.20220721_GH0.tar.gz) = 677a08e61c8c08c9073b043e44c6b87a680f8caf6a176299a1ca77e48bdff0d7
-SIZE (exult-exult-v1.9.0.20220721-snapshot-v1.9.0.20220721_GH0.tar.gz) = 19260449
+TIMESTAMP = 1659184424
+SHA256 (exult-1.8.tar.gz) = dae6b7b08925d3db1dda3aca612bdc08d934ca04de817a008f305320e667faf9
+SIZE (exult-1.8.tar.gz) = 19104130
diff --git a/games/exult/pkg-plist b/games/exult/pkg-plist
index 9515ce3c2a3b..1c4cf5bfa941 100644
--- a/games/exult/pkg-plist
+++ b/games/exult/pkg-plist
@@ -11,6 +11,7 @@ bin/textpack
 bin/u7voice2syx
 bin/ucxt
 bin/wuc
+%%GIMP%%libexec/gimp/2.2/plug-ins/u7shp
 man/man1/expack.1.gz
 man/man1/exult_studio.1.gz
 man/man1/ipack.1.gz
@@ -19,7 +20,6 @@ man/man1/splitshp.1.gz
 man/man1/textpack.1.gz
 man/man1/ucc.1.gz
 man/man6/exult.6.gz
-%%GIMP%%libexec/gimp/2.2/plug-ins/u7shp
 share/applications/exult.desktop
 %%PORTDOCS%%%%DOCSDIR%%/FAQ
 %%PORTDOCS%%%%DOCSDIR%%/NEWS
@@ -63,6 +63,7 @@ share/applications/exult.desktop
 %%DATADIR%%/exult_bg.flx
 %%DATADIR%%/exult_si.flx
 %%STUDIO%%%%DATADIR%%/exult_studio.glade
+%%DATADIR%%/exultmsg.txt
 %%DATADIR%%/midisfx.flx
 %%DATADIR%%/u7bgintrinsics.data
 %%DATADIR%%/u7misc.data