1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/games/duel/Makefile
Piotr Kubaj b70e284d01 games/duel: fix build on GCC architectures
Use C++11 compiler:
/usr/local/include/FTGL/FTLibrary.h:137: error: ISO C++ forbids declaration of 'atomic' with no type
2020-08-16 13:20:33 +00:00

37 lines
997 B
Makefile

# Created by: Alejandro Pulver <alejandro@varnet.biz>
# $FreeBSD$
PORTNAME= duel
PORTVERSION= 0.98
PORTREVISION= 10
CATEGORIES= games
MASTER_SITES= LOCAL/alepulver
DISTNAME= lin${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Overhead, OpenGL space shooter
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfreetype.so:print/freetype2 \
libftgl.so:graphics/ftgl
USES= compiler:c++11-lang gl libtool sdl tar:bzip2
USE_GL= gl
USE_SDL= sdl
GNU_CONFIGURE= yes
CPPFLAGS+= `${SDL_CONFIG} --cflags` `freetype-config --cflags` -I${LOCALBASE}/include -I${LOCALBASE}/include/FTGL
LDFLAGS+= `${SDL_CONFIG} --libs` -L${LOCALBASE}/lib
WRKSRC= ${WRKDIR}/${PORTNAME}
SUB_FILES= ${PORTNAME}-sh
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/libexec
@${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC}/runDir && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>