git: c19e5219b203 - main - games/dreamchess: Fix licenses, adopt again

From: Lorenzo Salvadore <salvadore_at_FreeBSD.org>
Date: Sat, 21 May 2022 17:51:23 UTC
The branch main has been updated by salvadore:

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

commit c19e5219b203283563310236979a0c858086167b
Author:     Lorenzo Salvadore <salvadore@FreeBSD.org>
AuthorDate: 2022-05-21 14:06:14 +0000
Commit:     Lorenzo Salvadore <salvadore@FreeBSD.org>
CommitDate: 2022-05-21 17:49:28 +0000

    games/dreamchess: Fix licenses, adopt again
    
    - Fix LICENSE_DISTFILES for all licenses: those set to ${DISTNAME} where
      set to inexistent distfiles, while the one set to ${DISTNAME}.tar.gz
      was the wrong distfile.
    - Improve style as suggested by portclippy and portfmt.
    - Take maintainership again.
    
    Approved by:    gerald (mentor)
    Differential Revision: https://reviews.freebsd.org/D35279
---
 games/dreamchess/Makefile | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/games/dreamchess/Makefile b/games/dreamchess/Makefile
index 0e9a865db0c2..5080140b70a8 100644
--- a/games/dreamchess/Makefile
+++ b/games/dreamchess/Makefile
@@ -1,18 +1,18 @@
 PORTNAME=	dreamchess
 DISTVERSION=	0.3.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	games
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	salvadore@FreeBSD.org
 COMMENT=	OpenGL chess game
 
-LICENSE=	GPLv3+ BSD2CLAUSE BSD3CLAUSE
+LICENSE=	BSD2CLAUSE BSD3CLAUSE GPLv3+
 LICENSE_COMB=	multi
 LICENSE_FILE_GPLv3+ =	${WRKSRC}/LICENSE.txt
-LICENSE_DISTFILES_GPLv3+ =		${DISTNAME}
-LICENSE_DISTFILES_BSD2CLAUSE=		${DISTNAME}
-LICENSE_DISTFILES_BSD3CLAUSE=		${DISTNAME}
-LICENSE_DISTFILES_CC-BY-NC-ND-3.0=	${DISTNAME}.tar.gz
+LICENSE_DISTFILES_BSD2CLAUSE=		${DISTFILES:N*music*}
+LICENSE_DISTFILES_BSD3CLAUSE=		${DISTFILES:N*music*}
+LICENSE_DISTFILES_CC-BY-NC-ND-3.0=	${DISTFILES:M*music*:S/:music//}
+LICENSE_DISTFILES_GPLv3+ =		${DISTFILES:N*music*}
 
 BUILD_DEPENDS=	flex:textproc/flex
 LIB_DEPENDS=	libexpat.so:textproc/expat2
@@ -24,11 +24,11 @@ USE_SDL=	image2 mixer2
 
 PLIST_FILES=	bin/dreamchess \
 		bin/dreamer \
-		share/man/man6/dreamchess.6.gz \
-		share/man/man6/dreamer.6.gz \
 		share/applications/dreamchess.desktop \
 		share/icons/hicolor/256x256/apps/dreamchess.png \
-		share/icons/hicolor/48x48/apps/dreamchess.png
+		share/icons/hicolor/48x48/apps/dreamchess.png \
+		share/man/man6/dreamchess.6.gz \
+		share/man/man6/dreamer.6.gz
 
 PORTDATA=	*
 PORTDOCS=	AUTHORS.txt