1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/games/opendungeons/Makefile
2018-04-18 13:57:42 +00:00

46 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= opendungeons
PORTVERSION= 0.7.1
PORTREVISION= 1
CATEGORIES= games
MAINTAINER= ports@FreeBSD.org
COMMENT= Open source game inspired by Dungeon Keeper
LICENSE= CC-BY-3.0 CC-BY-SA-3.0 CC0-1.0 GPLv3 MIT OFL11
LICENSE_COMB= multi
LICENSE_FILE_CC-BY-3.0= ${WRKSRC}/licenses/CC-BY-3.0.txt
LICENSE_FILE_CC-BY-SA-3.0= ${WRKSRC}/licenses/CC-BY-SA-3.0.txt
LICENSE_FILE_CC0-1.0= ${WRKSRC}/licenses/CC0.txt
LICENSE_FILE_GPLv3= ${WRKSRC}/licenses/GPL-3.0.txt
LICENSE_FILE_MIT= ${WRKSRC}/licenses/MIT.txt
LICENSE_FILE_OFL11= ${WRKSRC}/licenses/SIL-Open-Font-License.txt
ONLY_FOR_ARCHS= amd64 i386
LIB_DEPENDS= libboost_atomic.so:devel/boost-libs \
libOIS.so:devel/ois \
libsfml-audio.so:devel/sfml \
libCEGUIBase-0.so:graphics/cegui \
libOgreMain.so:graphics/ogre3d
USES= cmake pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= OpenDungeons
GH_PROJECT= OpenDungeons
CMAKE_ARGS= -DOD_BIN_PATH:PATH=${PREFIX}/bin \
-DOD_PLUGINS_CFG_PATH:PATH=${ETCDIR} \
-DOD_ENABLE_WARNINGS:BOOL=FALSE \
-DOD_TREAT_WARNINGS_AS_ERRORS:BOOL=FALSE
LDFLAGS+= -lexecinfo
post-patch:
@${REINPLACE_CMD} '/man6/ s|OD_SHARE_PATH|CMAKE_INSTALL_PREFIX|' \
${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>