git: 6bdb90e84bbe - main - games/alephone: Switch to fork and update to 20230119

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sat, 08 Apr 2023 11:47:39 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6bdb90e84bbe6268693797f3d6346c7b6ae8f5dc

commit 6bdb90e84bbe6268693797f3d6346c7b6ae8f5dc
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-04-08 11:43:12 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-04-08 11:43:15 +0000

    games/alephone: Switch to fork and update to 20230119
    
    - Update to latest release
    - Align port with upcoming change regarding sound libraries
    - This also fixes compilation with FFmpeg 6
    
    Note: Companion ports games/alephone-data and games/alephone-scenarios
    might also need updating
    
    Changelog: https://github.com/Aleph-One-Marathon/alephone/releases/tag/release-20230119
    
    PR:             270217
    Approved by:    portmgr (maintainer timeout, 3+ weeks)
---
 games/alephone/Makefile | 48 ++++++++++++++++++++----------------------------
 games/alephone/distinfo |  6 +++---
 2 files changed, 23 insertions(+), 31 deletions(-)

diff --git a/games/alephone/Makefile b/games/alephone/Makefile
index 11c79b57f8d9..435a9b14a31f 100644
--- a/games/alephone/Makefile
+++ b/games/alephone/Makefile
@@ -1,7 +1,8 @@
 PORTNAME=	alephone
-DISTVERSION=	20190331
-PORTREVISION=	6
+DISTVERSION=	20230119
 CATEGORIES=	games
+MASTER_SITES=	https://github.com/Aleph-One-Marathon/${PORTNAME}/releases/download/release-${DISTVERSION}/
+DISTNAME=	AlephOne-${DISTVERSION}
 
 MAINTAINER=	fiziologus@gmail.com
 COMMENT=	Open source version of Bungies Marathon game
@@ -9,53 +10,44 @@ WWW=		http://source.bungie.org/
 
 LICENSE=	GPLv3
 
-LIB_DEPENDS=	libexpat.so:textproc/expat2 \
-		libboost_filesystem.so:devel/boost-libs
+LIB_DEPENDS=	libboost_filesystem.so:devel/boost-libs \
+		libavcodec.so:multimedia/ffmpeg \
+		libsndfile.so:audio/libsndfile \
 
-USES=		autoreconf compiler:c++11-lang gmake localbase \
+USES=		compiler:c++17-lang gmake localbase openal \
 		pkgconfig shared-mime-info sdl gl tar:bzip2
-
 USE_SDL=	sdl2 image2 net2 ttf2
 USE_GL=		gl glu
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	Aleph-One-Marathon
-GH_TAGNAME=	release-20190331
-
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--disable-alsa
 
 PORTDOCS=	*
-
 DATADIR=	${PREFIX}/share/AlephOne
 
-OPTIONS_DEFINE=	MAD FFMPEG OGG SPEEX ZZIP PNG CURL SNDFILE DOCS
-OPTIONS_DEFAULT=MAD FFMPEG OGG SPEEX ZZIP PNG CURL SNDFILE
+CONFIGURE_ARGS=	--without-alsa --without-mad --without-miniupnpc \
+		--without-smpeg --without-vorbis
+
+OPTIONS_DEFINE=	CURL DOCS PNG SPEEX ZZIP
+OPTIONS_DEFAULT=CURL DOCS PNG SPEEX ZZIP
 
-FFMPEG_DESC=	Use ffmpeg for film export and playback
 ZZIP_DESC=	Enable zziplib support
 
-MAD_LIB_DEPENDS=	libmad.so:audio/libmad
-MAD_CONFIGURE_WITH=	mad
-FFMPEG_LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg
-FFMPEG_CONFIGURE_WITH=	ffmpeg
-OGG_LIB_DEPENDS=	libvorbisfile.so:audio/libvorbis
-OGG_CONFIGURE_WITH=	vorbis
+CURL_LIB_DEPENDS=	libcurl.so:ftp/curl
+CURL_CONFIGURE_WITH=	curl
+
+PNG_LIB_DEPENDS=	libpng.so:graphics/png
+PNG_CONFIGURE_WITH=	png
+
 SPEEX_LIB_DEPENDS=	libspeex.so:audio/speex \
 			libspeexdsp.so:audio/speexdsp
 SPEEX_CONFIGURE_WITH=	speex
+
 ZZIP_LIB_DEPENDS=	libzzip.so:devel/zziplib
 ZZIP_CONFIGURE_WITH=	zzip
-PNG_LIB_DEPENDS=	libpng.so:graphics/png
-PNG_CONFIGURE_WITH=	png
-CURL_LIB_DEPENDS=	libcurl.so:ftp/curl
-CURL_CONFIGURE_WITH=	curl
-SNDFILE_LIB_DEPENDS=	libsndfile.so:audio/libsndfile
-SNDFILE_CONFIGURE_WITH=	sndfile
 
 post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC}/docs && ${INSTALL_DATA} README.txt ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC}/docs && ${INSTALL_DATA} *.html ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>
diff --git a/games/alephone/distinfo b/games/alephone/distinfo
index 50d07001de62..a053d0a022f5 100644
--- a/games/alephone/distinfo
+++ b/games/alephone/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1587472217
-SHA256 (Aleph-One-Marathon-alephone-20190331-release-20190331_GH0.tar.gz) = eee993933d7c24c4dbf8caf5a0fc41ec98cbff31c9f99564de2781030a0ec2f2
-SIZE (Aleph-One-Marathon-alephone-20190331-release-20190331_GH0.tar.gz) = 6677609
+TIMESTAMP = 1678806377
+SHA256 (AlephOne-20230119.tar.bz2) = ac2f517d652896c2a3286b096868f43da3be2781cd17f81085de7a5daa5c3026
+SIZE (AlephOne-20230119.tar.bz2) = 6109704