1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/games/cave9/Makefile
Piotr Kubaj da4d61d214 games/cave9: fix build on GCC architectures
In file included from display.c:19:
/usr/local/include/SDL/SDL_opengl.h:116:1: error: "GL_GLEXT_VERSION" redefined
In file included from /usr/local/include/GL/gl.h:2050,
                 from /usr/local/include/SDL/SDL_opengl.h:46,
                 from display.c:19:
/usr/local/include/GL/glext.h:54:1: error: this is the location of the previous definition
2020-11-15 22:18:56 +00:00

55 lines
1.1 KiB
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= cave9
PORTVERSION= 0.4.1.git20150408
PORTREVISION= 1
CATEGORIES= games
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Gravity cave-exploration game
LICENSE= GPLv3+ CC-BY-SA-3.0 CC-BY-2.5
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/data/README.txt # CC licenses
LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING.txt
USE_GITHUB= yes
GH_ACCOUNT= bart9h
GH_TAGNAME= e6896eb
USES= compiler:c++11-lang gl gmake sdl
USE_SDL= sdl ttf image
USE_GL= gl glu
BUILD_WRKSRC= ${WRKSRC}/src
MAKEFILE= GNUmakefile
CFLAGS+= -DDATADIR=\\\"${DATADIR}\\\"
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *
PORTDATA= *
DESKTOP_ENTRIES="${PORTNAME}" \
"" \
"${DATADIR}/icon.png" \
"${PORTNAME}" \
"Game;ArcadeGame;" \
""
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cave9 ${STAGEDIR}${PREFIX}/bin/
@${MKDIR} ${STAGEDIR}${DATADIR}
.for d in wav png ttf jpg
${INSTALL_DATA} ${WRKSRC}/data/*.$d ${STAGEDIR}${DATADIR}/
.endfor
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/AUTHORS.txt ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>