View | Details | Raw Unified | Return to bug 241263 | Differences between
and this patch

Collapse All | Expand All

(-)games/dreamchess/Makefile (+63 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	dreamchess
4
DISTVERSION=	0.3.0
5
CATEGORIES=	games
6
7
MAINTAINER=	phascolarctos@protonmail.ch
8
COMMENT=	OpenGL chess game
9
10
LICENSE=	GPLv3+ BSD2CLAUSE BSD3CLAUSE
11
LICENSE_COMB=	multi
12
LICENSE_FILE_GPLv3+ =	${WRKSRC}/LICENSE.txt
13
LICENSE_DISTFILES_GPLv3+ =		${DISTNAME}
14
LICENSE_DISTFILES_BSD2CLAUSE=		${DISTNAME}
15
LICENSE_DISTFILES_BSD3CLAUSE=		${DISTNAME}
16
LICENSE_DISTFILES_CC-BY-NC-ND-3.0=	dreamchess-dreamchess-music-0.3.0_GH0.tar.gz
17
18
BUILD_DEPENDS=	flex:textproc/flex
19
LIB_DEPENDS=	libexpat.so:textproc/expat2
20
21
USES=		bison cmake gl gnome sdl
22
USE_GITHUB=	yes
23
USE_GL=		gl glew glu
24
USE_SDL=	image2 mixer2
25
26
PLIST_FILES=	bin/dreamchess \
27
		bin/dreamer \
28
		man/man6/dreamchess.6.gz \
29
		man/man6/dreamer.6.gz \
30
		share/applications/dreamchess.desktop \
31
		share/icons/hicolor/256x256/apps/dreamchess.png \
32
		share/icons/hicolor/48x48/apps/dreamchess.png
33
34
PORTDATA=	*
35
INSTALLS_ICONS=	yes
36
37
OPTIONS_DEFINE=		DOCS MUSIC
38
OPTIONS_DEFAULT=	MUSIC
39
40
MUSIC_DESC=		Install DreamChess music
41
MUSIC_GH_PROJECT=	${PORTNAME}-music:music
42
MUSIC_GH_TAGNAME=	1.0:music
43
44
PORTDOCS=	AUTHORS.txt
45
46
.include <bsd.port.options.mk>
47
48
.if ${PORT_OPTIONS:MMUSIC}
49
LICENSE+=	CC-BY-NC-ND-3.0
50
.endif
51
52
post-install-DOCS-on:
53
	${MKDIR} ${STAGEDIR}${DOCSDIR}
54
	${MV} ${STAGEDIR}${PREFIX}/share/doc/DreamChess/AUTHORS.txt ${STAGEDIR}${DOCSDIR}
55
	${RM} -R ${STAGEDIR}${PREFIX}/share/doc/DreamChess
56
57
post-install-DOCS-off:
58
	${RM} -R ${STAGEDIR}${PREFIX}/share/doc/DreamChess
59
60
post-install-MUSIC-on:
61
	cd ${WRKDIR}/${PORTNAME}-music-${MUSIC_GH_TAGNAME:S/:music//}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
62
63
.include <bsd.port.mk>
(-)games/dreamchess/distinfo (+5 lines)
Line 0 Link Here
1
TIMESTAMP = 1571140451
2
SHA256 (dreamchess-dreamchess-0.3.0_GH0.tar.gz) = b070a34acf69ed92e523902683d104abb295d78b6f37663f4668e929b9e90470
3
SIZE (dreamchess-dreamchess-0.3.0_GH0.tar.gz) = 8831685
4
SHA256 (dreamchess-dreamchess-music-1.0_GH0.tar.gz) = 2067e7415318edbc95f5aefab7ba1d196fb070809bf613e46492d8084ff18f9d
5
SIZE (dreamchess-dreamchess-music-1.0_GH0.tar.gz) = 74214307
(-)games/dreamchess/pkg-descr (+10 lines)
Line 0 Link Here
1
DreamChess is an open source chess game.
2
3
It features 3D OpenGL graphics and provides various chess board sets, ranging
4
from classic wooden to flat figurine. Other features include music, sound
5
effects, on-screen move lists using SAN notation, undo functionality, and
6
savegames in PGN format. It comes with its own engine called Dreamer.
7
8
DreamChess can be controlled with the mouse and/or the keyboard.
9
10
WWW: https://www.dreamchess.org

Return to bug 241263