1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/games/dreamchess/Makefile
Kevin Bowling da3162c7c9 graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.

PR:		246767
Reviewed by:	manu, bapt
Approved by:	x11
Differential Revision:	https://reviews.freebsd.org/D30824
2021-06-22 11:53:08 -07:00

61 lines
1.5 KiB
Makefile

PORTNAME= dreamchess
DISTVERSION= 0.3.0
PORTREVISION= 1
CATEGORIES= games
MAINTAINER= ports@FreeBSD.org
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= ${DISTNAME}.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>