1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/games/barony/Makefile
Tobias Kortkamp 29a23b8db4 Clean up LLD_UNSAFE from openal-soft ports
After FreeBSD 12.0 EOL we no longer have to worry about LLD 6 and
can drop LLD_UNSAFE from openal-soft ports.  LLD can link them fine
now but some ports needs a little help on i386 (-Wl,-znotext).

PR:		226980
Reviewed by:	jbeich (earlier version)
Differential Revision:	https://reviews.freebsd.org/D23030
2020-03-19 23:02:30 +00:00

41 lines
848 B
Makefile

# $FreeBSD$
PORTNAME= barony
DISTVERSION= 3.3.0
PORTREVISION= 0
CATEGORIES= games
MAINTAINER= devnexen@gmail.com
COMMENT= 3D roguelike game
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/GPL.3.0.txt
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"
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>