blob: a7c56a013700826498e0c20a4ab07b1e62025b60 (
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
50
51
52
53
54
|
# Created by: Tobias Kortkamp <t@tobik.me>
# $FreeBSD$
PORTNAME= openmw
DISTVERSIONPREFIX= openmw-
DISTVERSION= 0.43.0
PORTREVISION= 1
CATEGORIES= games
MAINTAINER= tobik@FreeBSD.org
COMMENT= Unofficial open source engine reimplementation of the game Morrowind
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/docs/license/GPL3.txt
LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
libBulletCollision.so:devel/bullet \
libboost_thread.so:devel/boost-libs \
libMyGUIEngine.so:x11-toolkits/mygui \
libosg.so:graphics/osg \
libunshield.so:archivers/unshield
USE_GITHUB= yes
GH_ACCOUNT= OpenMW
USES= cmake:outsource compiler:c++14-lang openal pkgconfig
USE_GL= gl
USE_QT5= qmake_build buildtools_build core gui network opengl \
printsupport widgets
USE_SDL= sdl2
USE_XORG= xt
CMAKE_ARGS= -DCMAKE_BUILD_TYPE=Release \
-DDESIRED_QT_VERSION=5 \
-DBUILD_OPENMW=ON \
-DBUILD_BSATOOL=ON \
-DBUILD_ESMTOOL=ON \
-DBUILD_LAUNCHER=ON \
-DBUILD_MWINIIMPORTER=ON \
-DBUILD_ESSIMPORTER=ON \
-DBUILD_OPENCS=ON \
-DBUILD_WIZARD=ON \
-DBUILD_WITH_CODE_COVERAGE=OFF \
-DBUILD_UNITTEST=OFF \
-DBUILD_NIFTEST=OFF \
-DBUILD_MYGUI_PLUGIN=OFF \
-DMORROWIND_DATA_FILES="${DATADIR}/data" \
-DOPENMW_RESOURCE_FILES="${DATADIR}/resources" \
-DGLOBAL_DATA_PATH="${PREFIX}/share"
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
.include <bsd.port.mk>
|