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
This commit is contained in:
Lorenzo Salvadore 2022-05-21 16:06:14 +02:00
parent 75d76a0345
commit c19e5219b2
No known key found for this signature in database
GPG Key ID: B58F7C3CF6DB8A38

View File

@ -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