git: c996e21d9a4b - main - audio/libxmp: Update to 4.6.0

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Sun, 18 Jun 2023 10:20:22 UTC
The branch main has been updated by ehaupt:

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

commit c996e21d9a4bce39cddf953a6fe49127ed279259
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2023-06-18 10:20:07 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2023-06-18 10:20:16 +0000

    audio/libxmp: Update to 4.6.0
---
 audio/libxmp/Makefile  | 13 ++++---------
 audio/libxmp/distinfo  |  6 +++---
 audio/libxmp/pkg-plist | 12 ++++++++++++
 3 files changed, 19 insertions(+), 12 deletions(-)

diff --git a/audio/libxmp/Makefile b/audio/libxmp/Makefile
index 5a0cd1428c1d..6933d64f5114 100644
--- a/audio/libxmp/Makefile
+++ b/audio/libxmp/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	libxmp
-PORTVERSION=	4.5.0
+PORTVERSION=	4.6.0
 CATEGORIES=	audio
-MASTER_SITES=	SF/xmp/${PORTNAME}/${PORTVERSION}
+MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${PORTNAME}-${PORTVERSION}/
 
 MAINTAINER=	ehaupt@FreeBSD.org
 COMMENT=	Module rendering library for xmp
@@ -10,15 +10,10 @@ WWW=		http://xmp.sourceforge.net/
 LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/docs/COPYING.LIB
 
-USES=		gmake pathfix
+USES=		cmake
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
-
-PLIST_FILES=	include/xmp.h \
-		lib/libxmp.so \
-		lib/libxmp.so.${PORTVERSION} \
-		lib/libxmp.so.4 \
-		libdata/pkgconfig/libxmp.pc
+PLIST_SUB=	PORTVERSION=${PORTVERSION}
 
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libxmp.so.${PORTVERSION}
diff --git a/audio/libxmp/distinfo b/audio/libxmp/distinfo
index 85fd91426936..e9b647ebedeb 100644
--- a/audio/libxmp/distinfo
+++ b/audio/libxmp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1623950071
-SHA256 (libxmp-4.5.0.tar.gz) = 7847d262112d14e8442f44e5ac6ed9ddbca54c251284720b563c852b31f26e75
-SIZE (libxmp-4.5.0.tar.gz) = 652983
+TIMESTAMP = 1687082451
+SHA256 (libxmp-4.6.0.tar.gz) = 2d3c45fe523b50907e89e60f9a3b7f4cc9aab83ec9dbba7743eaffbcdcb35ea6
+SIZE (libxmp-4.6.0.tar.gz) = 738532
diff --git a/audio/libxmp/pkg-plist b/audio/libxmp/pkg-plist
new file mode 100644
index 000000000000..0311aa4cfe48
--- /dev/null
+++ b/audio/libxmp/pkg-plist
@@ -0,0 +1,12 @@
+include/xmp.h
+lib/libxmp.so
+lib/libxmp.so.%%PORTVERSION%%
+lib/libxmp.so.4
+libdata/pkgconfig/libxmp.pc
+lib/cmake/libxmp/libxmp-config-version.cmake
+lib/cmake/libxmp/libxmp-config.cmake
+lib/cmake/libxmp/libxmp-shared-targets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/libxmp/libxmp-shared-targets.cmake
+lib/cmake/libxmp/libxmp-static-targets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/libxmp/libxmp-static-targets.cmake
+lib/libxmp.a