blob: d0d1bcaa1115d88b8e4e0acbc43d70d75e9b5860 (
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
|
# Created by: Tobias Kortkamp <t@tobik.me>
# $FreeBSD$
PORTNAME= openmw
DISTVERSIONPREFIX= openmw-
DISTVERSION= 0.45.0
PORTREVISION= 6
CATEGORIES= games
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES= a78d98df273e266c05c73837a5961fbf6a875ccf.patch:-p1
MAINTAINER= tobik@FreeBSD.org
COMMENT= Unofficial open source engine reimplementation of the game Morrowind
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
libboost_thread.so:devel/boost-libs \
libBulletCollision.so:devel/bullet \
libMyGUIEngine.so:x11-toolkits/mygui \
libosg.so:graphics/osg34 \
libunshield.so:archivers/unshield
USES= cmake compiler:c++14-lang gl openal pkgconfig qt:5 sdl xorg
USE_GITHUB= yes
GH_ACCOUNT= OpenMW
USE_GL= gl
USE_SDL= sdl2
USE_QT= core gui network opengl printsupport widgets buildtools_build \
qmake_build
CMAKE_ARGS= -DDESIRED_QT_VERSION=5 \
-DGLOBAL_DATA_PATH="${PREFIX}/share" \
-DMORROWIND_DATA_FILES="${DATADIR}/data" \
-DOPENMW_RESOURCE_FILES="${DATADIR}/resources"
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
.include <bsd.port.mk>
|