mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
da3162c7c9
Per discussion with bapt on helping pkg handle the changing of these deps and avoiding impossible upgrade senarios. PR: 246767 Reviewed by: manu, bapt Approved by: x11 Differential Revision: https://reviews.freebsd.org/D30824
42 lines
937 B
Makefile
42 lines
937 B
Makefile
PORTNAME= barony
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 3.3.7
|
|
PORTREVISION= 1
|
|
CATEGORIES= games
|
|
|
|
MAINTAINER= devnexen@gmail.com
|
|
COMMENT= 3D roguelike game
|
|
|
|
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>
|