blob: 1e71bfafd8591edf71225cbe7be2a6606204b52c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# $FreeBSD$
PORTNAME= opendungeons
PORTVERSION= 0.7.1
PORTREVISION= 3
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>
|