2018-08-14 19:29:27 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= barony
|
2020-01-11 10:11:50 +00:00
|
|
|
DISTVERSION= 3.3.0
|
|
|
|
PORTREVISION= 0
|
2018-08-14 19:29:27 +00:00
|
|
|
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 \
|
2019-01-11 20:55:49 +00:00
|
|
|
libphysfs.so:devel/physfs \
|
2018-08-14 19:29:27 +00:00
|
|
|
libpng.so:graphics/png \
|
|
|
|
libvorbisfile.so:audio/libvorbis
|
|
|
|
|
2019-11-08 10:47:01 +00:00
|
|
|
USES= cmake:insource compiler:c++11-lib dos2unix gl localbase:ldflags \
|
|
|
|
openal pkgconfig sdl
|
2018-08-14 19:29:27 +00:00
|
|
|
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"
|
2018-09-12 13:53:48 +00:00
|
|
|
DOS2UNIX_FILES= src/menu.cpp
|
2018-08-14 19:29:27 +00:00
|
|
|
LDFLAGS+= -Wl,--as-needed
|
2020-03-19 23:02:30 +00:00
|
|
|
LDFLAGS_i386= -Wl,-znotext
|
2018-08-14 19:29:27 +00:00
|
|
|
|
2018-09-12 13:53:48 +00:00
|
|
|
SUB_FILES= pkg-message
|
2018-08-14 19:29:27 +00:00
|
|
|
|
|
|
|
PLIST_FILES= bin/barony \
|
|
|
|
bin/barony-editor \
|
|
|
|
${DATADIR}/lang/en.ttf \
|
|
|
|
${DATADIR}/lang/en.txt
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|