Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Nov 2019 07:49:17 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r516392 - in head/games: . dreamchess
Message-ID:  <201911030749.xA37nHXx076603@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Sun Nov  3 07:49:16 2019
New Revision: 516392
URL: https://svnweb.freebsd.org/changeset/ports/516392

Log:
  New port: games/dreamchess: OpenGL chess game
  
  DreamChess is an open source chess game.
  
  It features 3D OpenGL graphics and provides various chess board sets, ranging
  from classic wooden to flat figurine. Other features include music, sound
  effects, on-screen move lists using SAN notation, undo functionality, and
  savegames in PGN format. It comes with its own engine called Dreamer.
  
  DreamChess can be controlled with the mouse and/or the keyboard.
  
  WWW: https://www.dreamchess.org
  
  PR:		241263
  Submitted by:	Lorenzo Salvadore <phascolarctos@protonmail.ch>

Added:
  head/games/dreamchess/
  head/games/dreamchess/Makefile   (contents, props changed)
  head/games/dreamchess/distinfo   (contents, props changed)
  head/games/dreamchess/pkg-descr   (contents, props changed)
Modified:
  head/games/Makefile

Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile	Sun Nov  3 07:39:13 2019	(r516391)
+++ head/games/Makefile	Sun Nov  3 07:49:16 2019	(r516392)
@@ -208,6 +208,7 @@
     SUBDIR += doom-wolfendoom
     SUBDIR += doomlegacy
     SUBDIR += doomsday
+    SUBDIR += dreamchess
     SUBDIR += drm
     SUBDIR += duckmaze
     SUBDIR += duel

Added: head/games/dreamchess/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/dreamchess/Makefile	Sun Nov  3 07:49:16 2019	(r516392)
@@ -0,0 +1,61 @@
+# $FreeBSD$
+
+PORTNAME=	dreamchess
+DISTVERSION=	0.3.0
+CATEGORIES=	games
+
+MAINTAINER=	phascolarctos@protonmail.ch
+COMMENT=	OpenGL chess game
+
+LICENSE=	GPLv3+ BSD2CLAUSE BSD3CLAUSE
+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=	dreamchess-dreamchess-music-0.3.0_GH0.tar.gz
+
+BUILD_DEPENDS=	flex:textproc/flex
+LIB_DEPENDS=	libexpat.so:textproc/expat2
+
+USES=		bison cmake gl sdl
+USE_GITHUB=	yes
+USE_GL=		gl glew glu
+USE_SDL=	image2 mixer2
+
+PLIST_FILES=	bin/dreamchess \
+		bin/dreamer \
+		man/man6/dreamchess.6.gz \
+		man/man6/dreamer.6.gz \
+		share/applications/dreamchess.desktop \
+		share/icons/hicolor/256x256/apps/dreamchess.png \
+		share/icons/hicolor/48x48/apps/dreamchess.png
+
+PORTDATA=	*
+PORTDOCS=	AUTHORS.txt
+
+OPTIONS_DEFINE=		DOCS MUSIC
+OPTIONS_DEFAULT=	MUSIC
+
+MUSIC_DESC=		Install DreamChess music
+MUSIC_GH_PROJECT=	${PORTNAME}-music:music
+MUSIC_GH_TAGNAME=	1.0:music
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MMUSIC}
+LICENSE+=	CC-BY-NC-ND-3.0
+.endif
+
+post-install-DOCS-on:
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${MV} ${STAGEDIR}${PREFIX}/share/doc/DreamChess/AUTHORS.txt ${STAGEDIR}${DOCSDIR}
+	${RM} -R ${STAGEDIR}${PREFIX}/share/doc/DreamChess
+
+post-install-DOCS-off:
+	${RM} -R ${STAGEDIR}${PREFIX}/share/doc/DreamChess
+
+post-install-MUSIC-on:
+	cd ${WRKDIR}/${PORTNAME}-music-${MUSIC_GH_TAGNAME:S/:music//}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
+
+.include <bsd.port.mk>

Added: head/games/dreamchess/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/dreamchess/distinfo	Sun Nov  3 07:49:16 2019	(r516392)
@@ -0,0 +1,5 @@
+TIMESTAMP = 1571140451
+SHA256 (dreamchess-dreamchess-0.3.0_GH0.tar.gz) = b070a34acf69ed92e523902683d104abb295d78b6f37663f4668e929b9e90470
+SIZE (dreamchess-dreamchess-0.3.0_GH0.tar.gz) = 8831685
+SHA256 (dreamchess-dreamchess-music-1.0_GH0.tar.gz) = 2067e7415318edbc95f5aefab7ba1d196fb070809bf613e46492d8084ff18f9d
+SIZE (dreamchess-dreamchess-music-1.0_GH0.tar.gz) = 74214307

Added: head/games/dreamchess/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/dreamchess/pkg-descr	Sun Nov  3 07:49:16 2019	(r516392)
@@ -0,0 +1,10 @@
+DreamChess is an open source chess game.
+
+It features 3D OpenGL graphics and provides various chess board sets, ranging
+from classic wooden to flat figurine. Other features include music, sound
+effects, on-screen move lists using SAN notation, undo functionality, and
+savegames in PGN format. It comes with its own engine called Dreamer.
+
+DreamChess can be controlled with the mouse and/or the keyboard.
+
+WWW: https://www.dreamchess.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911030749.xA37nHXx076603>