mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
f5d541c155
Drop useless base-gcc on end of COMPILER line Fix from claudio@
38 lines
793 B
Makefile
38 lines
793 B
Makefile
COMMENT = Jagged Alliance 2 turn-based strategy game engine
|
|
|
|
GH_ACCOUNT = ja2-stracciatella
|
|
GH_PROJECT = ja2-stracciatella
|
|
GH_TAGNAME = v0.15.1
|
|
REVISION = 9
|
|
|
|
CATEGORIES = games
|
|
|
|
HOMEPAGE = https://ja2-stracciatella.github.io/
|
|
|
|
# SFI-SCLA / public domain
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += boost_filesystem c m pthread SDL ${COMPILER_LIBCXX}
|
|
|
|
COMPILER = base-clang ports-gcc
|
|
CXXFLAGS = -std=c++14
|
|
|
|
LIB_DEPENDS = devel/sdl \
|
|
devel/boost
|
|
|
|
RUN_DEPENDS = x11/gtk+4,-guic \
|
|
devel/desktop-file-utils
|
|
|
|
USE_GMAKE = Yes
|
|
MAKE_ENV = CXXFLAGS="${CXXFLAGS} -Wno-narrowing"
|
|
MAKE_FLAGS = Q= WITH_UNITTESTS=0 WITH_DEBUGINFO=1 \
|
|
CXX="${CXX}"
|
|
|
|
NO_TEST = Yes
|
|
|
|
# strip BOM, gcc 4.2.1 doesn't understand it
|
|
post-extract:
|
|
perl -pi -e 's,\xef\xbb\xbf,,' ${WRKSRC}/Build/Utils/_*Text.cc
|
|
|
|
.include <bsd.port.mk>
|