freebsd-ports/games/diameter/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

41 lines
1.1 KiB
Makefile

# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
PORTNAME= diameter
PORTVERSION= 0.4.0.3
PORTREVISION= 13
CATEGORIES= games
MASTER_SITES= SF/game${PORTNAME}/game${PORTNAME}/${PORTNAME}-0.4.0
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Arcade-style game with elements of economy and adventure
BROKEN_armv6= fails to compile: res/3dsloader.cpp:77:15: comparison between pointer and integer ('char *' and 'int')
BROKEN_armv7= fails to compile: res/3dsloader.cpp:77:15: comparison between pointer and integer ('char *' and 'int')
LIB_DEPENDS= libpng.so:graphics/png \
libguichan.so:devel/guichan
USES= compiler:c++11-lang dos2unix tar:bzip2 gmake pkgconfig python:2.7
DOS2UNIX_FILES= src/res/3dsloader.cpp
GNU_CONFIGURE= yes
USE_GL= gl glu
USE_SDL= sdl mixer image
WRKSRC= ${WRKDIR}/gamediameter
CPPFLAGS+= `${SDL_CONFIG} --cflags` -I${LOCALBASE}/include
LDFLAGS+= `${SDL_CONFIG} --libs` -L${LOCALBASE}/lib
CXXFLAGS+= -Wno-static-float-init
DATADIR= ${PREFIX}/share/gamediameter
PLIST_FILES= bin/${PORTNAME}
PORTDATA= *
post-patch:
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|; /^CFLAGS=.*march/ d' \
${WRKSRC}/configure
.include <bsd.port.mk>