blob: 566a0015e2092956a698d8adfdb2826564f7cfc5 (
plain) (
blame)
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
46
47
48
49
|
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= arx-libertatis
PORTVERSION= 1.1.2
PORTREVISION= 9
CATEGORIES= games
MASTER_SITES= http://downloads.sourceforge.net/arx/ \
http://arx-libertatis.org/files/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Cross-platform port of Arx Fatalis
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/ARX_PUBLIC_LICENSE.txt
LIB_DEPENDS= libfreetype.so:print/freetype2
BUILD_DEPENDS= ${LOCALBASE}/include/boost/foreach.hpp:devel/boost-libs
USES= cmake openal tar:xz
USE_SDL= sdl
USE_GL= gl glew
LLD_UNSAFE= yes
CMAKE_ARGS= -DDATA_DIR=arx \
-DSTRICT_USE=ON
SUB_FILES= pkg-message
PORTDOCS= AUTHORS CHANGELOG README.md
OPTIONS_DEFINE= CRASHREPORTER DOCS
OPTIONS_SUB= yes
CRASHREPORTER_DESC= Build crash reporter (requires Qt4)
CRASHREPORTER_USE= QT4=corelib,gui,network \
QT4=rcc_build,moc_build,uic_build,qmake_build
CRASHREPORTER_CMAKE_ON= -DBUILD_CRASHREPORTER=ON -DUSE_QT5=OFF
CRASHREPORTER_CMAKE_OFF=-DBUILD_CRASHREPORTER=OFF
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/CMakeLists.txt
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
.endfor
.include <bsd.port.mk>
|