git: e0bac3926f9c - main - audio/libmodplug: Update to 0.8.9.1.r461

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Tue, 07 Mar 2023 18:55:13 UTC
The branch main has been updated by ehaupt:

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

commit e0bac3926f9ce85a7153f0ab1b103786dadb10d5
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2023-03-07 18:54:57 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2023-03-07 18:55:04 +0000

    audio/libmodplug: Update to 0.8.9.1.r461
    
    - Update to 0.8.9.1.r461
    - Switch to a well maintained fork
    - Switch to cmake
---
 audio/libmodplug/Makefile | 16 +++++++---------
 audio/libmodplug/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/audio/libmodplug/Makefile b/audio/libmodplug/Makefile
index d2521baf8ff6..93a3bb3ded05 100644
--- a/audio/libmodplug/Makefile
+++ b/audio/libmodplug/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	libmodplug
-PORTVERSION=	0.8.9.0
+PORTVERSION=	0.8.9.1.r461
 CATEGORIES=	audio
-MASTER_SITES=	SF/modplug-xmms/${PORTNAME}/${PORTVERSION} LOCAL/ehaupt
 
 MAINTAINER=	ehaupt@FreeBSD.org
 COMMENT=	ModPlug mod-like music shared libraries
@@ -10,14 +9,13 @@ WWW=		http://modplug-xmms.sourceforge.net/
 LICENSE=	PD
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		cpe pathfix pkgconfig libtool
-INSTALL_TARGET=	install-strip
-USE_LDCONFIG=	yes
-GNU_CONFIGURE=	yes
+USES=		cmake cpe
 CPE_VENDOR=	konstanty_bialkowski
+USE_GITHUB=	yes
+GH_ACCOUNT=	ShiftMediaProject
+GH_PROJECT=	modplug
+USE_LDCONFIG=	yes
 
-post-patch:
-	@${REINPLACE_CMD} -e '/^CXXFLAGS=/d' \
-		${WRKSRC}/configure
+CMAKE_ARGS=	-DBUILD_SHARED_LIBS:BOOL=ON
 
 .include <bsd.port.mk>
diff --git a/audio/libmodplug/distinfo b/audio/libmodplug/distinfo
index fcd19541dab5..9ba7de252b92 100644
--- a/audio/libmodplug/distinfo
+++ b/audio/libmodplug/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1493361396
-SHA256 (libmodplug-0.8.9.0.tar.gz) = 457ca5a6c179656d66c01505c0d95fafaead4329b9dbaa0f997d00a3508ad9de
-SIZE (libmodplug-0.8.9.0.tar.gz) = 576566
+TIMESTAMP = 1678209552
+SHA256 (ShiftMediaProject-modplug-0.8.9.1.r461_GH0.tar.gz) = d489a13cc863180b0f8209ad7b69d4413df454858d6f4ce94a03669213dc56cd
+SIZE (ShiftMediaProject-modplug-0.8.9.1.r461_GH0.tar.gz) = 238609