git: 4c004dea267b - main - games/opensfx: update to 1.0.3

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Fri, 10 Jun 2022 14:43:30 UTC
The branch main has been updated by fernape:

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

commit 4c004dea267b781a874e41ec6b956242bedbefe6
Author:     Alastair Hogge <agh@riseup.net>
AuthorDate: 2022-05-29 17:21:16 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-06-10 14:40:55 +0000

    games/opensfx: update  to 1.0.3
    
    ChangeLog: https://github.com/OpenTTD/OpenSFX/blob/1.0.3/docs/changelog.txt
    
    PR:     264214
    Reported by:    agh@riseup.net
    Approved by:    rum1cro@yandex.ru (maintainer, timeout > 2 weeks)
---
 games/opensfx/Makefile | 22 ++++++++++++----------
 games/opensfx/distinfo |  5 +++--
 2 files changed, 15 insertions(+), 12 deletions(-)

diff --git a/games/opensfx/Makefile b/games/opensfx/Makefile
index 52f126ff7456..3a80f66a6572 100644
--- a/games/opensfx/Makefile
+++ b/games/opensfx/Makefile
@@ -1,27 +1,29 @@
 # Created by: Ilya A. Arhipov <admin@gorodkirov.ru>
 
 PORTNAME=	opensfx
-PORTVERSION=	0.2.3
-PORTREVISION=	2
+PORTVERSION=	1.0.3
 CATEGORIES=	games
-MASTER_SITES=	https://cdn.openttd.org/opensfx-releases/${PORTVERSION}/
+MASTER_SITES=	https://cdn.openttd.org/${PORTNAME}-releases/${PORTVERSION}/
+PKGNAMEPREFIX=	openttd-
 DISTNAME=	${PORTNAME}-${PORTVERSION}-all
 
 MAINTAINER=	rum1cro@yandex.ru
 COMMENT=	Free alternative sounds for OpenTTD game engine
 
-LICENSE=	CC-Sampling+-1.0
-LICENSE_NAME=	Creative Commons Sampling Plus 1.0
+LICENSE=	CC-BY-SA-3.0 CDDL GPLv2
+LICENSE_COMB=	multi
 LICENSE_FILE=	${WRKDIR}/opensfx-${PORTVERSION}/license.txt
-LICENSE_PERMS=	auto-accept
 
 USES=		zip
-NO_BUILD=	yes
 NO_ARCH=	yes
+NO_BUILD=	yes
+
+post-extract:
+	@cd ${WRKDIR} && tar -xf ${PORTNAME}-${PORTVERSION}.tar
 
 do-install:
-	@${MKDIR} ${STAGEDIR}${PREFIX}/share/openttd/baseset/opensfx
-	${INSTALL_DATA} ${WRKDIR}/opensfx-${PORTVERSION}/* \
-		${STAGEDIR}${PREFIX}/share/openttd/baseset/opensfx
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/openttd/baseset/${PORTNAME}
+	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/* \
+		${STAGEDIR}${PREFIX}/share/openttd/baseset/${PORTNAME}
 
 .include <bsd.port.mk>
diff --git a/games/opensfx/distinfo b/games/opensfx/distinfo
index ecdd27f71592..6ef7ba57531b 100644
--- a/games/opensfx/distinfo
+++ b/games/opensfx/distinfo
@@ -1,2 +1,3 @@
-SHA256 (opensfx-0.2.3-all.zip) = 6831b651b3dc8b494026f7277989a1d757961b67c17b75d3c2e097451f75af02
-SIZE (opensfx-0.2.3-all.zip) = 11359588
+TIMESTAMP = 1653449136
+SHA256 (opensfx-1.0.3-all.zip) = e0a218b7dd9438e701503b0f84c25a97c1c11b7c2f025323fb19d6db16ef3759
+SIZE (opensfx-1.0.3-all.zip) = 11566000