mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
835b479670
The type real_t is float on ARM but double on other platforms. Pepper in a bunch of extra casts to make clang happy. The alternative of making real_t a double on ARM does not work. PR: 267442 Approved by: maintainer timeout, >2 weeks MFH: 2022Q4
43 lines
970 B
Makefile
43 lines
970 B
Makefile
PORTNAME= barony
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 3.3.7
|
|
PORTREVISION= 2
|
|
CATEGORIES= games
|
|
|
|
MAINTAINER= devnexen@gmail.com
|
|
COMMENT= 3D roguelike game
|
|
WWW= http://www.baronygame.com/
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/GPL.3.0.txt
|
|
|
|
BUILD_DEPENDS= rapidjson>=0:devel/rapidjson
|
|
LIB_DEPENDS= libogg.so:audio/libogg \
|
|
libphysfs.so:devel/physfs \
|
|
libpng.so:graphics/png \
|
|
libvorbisfile.so:audio/libvorbis
|
|
|
|
USES= cmake:insource compiler:c++11-lib dos2unix gl localbase:ldflags \
|
|
openal pkgconfig sdl
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= TurningWheel
|
|
GH_PROJECT= Barony
|
|
USE_GL= gl glu
|
|
USE_SDL= sdl2 image2 net2 ttf2
|
|
|
|
CMAKE_ON= OPENAL_ENABLED DATA_DIR
|
|
CMAKE_ARGS= -DEDITOR_EXE_NAME:STRING="barony-editor"
|
|
CONFIGURE_ENV= OPTIMIZATION_LEVEL=""
|
|
DOS2UNIX_FILES= src/menu.cpp
|
|
LDFLAGS+= -Wl,--as-needed
|
|
LDFLAGS_i386= -Wl,-znotext
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
PLIST_FILES= bin/barony \
|
|
bin/barony-editor \
|
|
${DATADIR}/lang/en.ttf \
|
|
${DATADIR}/lang/en.txt
|
|
|
|
.include <bsd.port.mk>
|