1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/games/openmw/Makefile
Tobias C. Berner b1a1d38bf9 Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
	USES=		qt:4
	USE_QT=		foo bar
ports depending on Qt5 will use
	USES=		qt:5
	USE_QT=		foo bar

PR:		229225
Exp-run by:	antoine
Reviewed by:	mat
Approved by:	portmgr (antoine)
Differential Revision:	→https://reviews.freebsd.org/D15540
2018-06-28 17:39:53 +00:00

55 lines
1.3 KiB
Makefile

# Created by: Tobias Kortkamp <t@tobik.me>
# $FreeBSD$
PORTNAME= openmw
DISTVERSIONPREFIX= openmw-
DISTVERSION= 0.43.0
PORTREVISION= 4
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 qt:5
USE_GL= gl
USE_QT= 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>