mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
da3162c7c9
Per discussion with bapt on helping pkg handle the changing of these deps and avoiding impossible upgrade senarios. PR: 246767 Reviewed by: manu, bapt Approved by: x11 Differential Revision: https://reviews.freebsd.org/D30824
37 lines
957 B
Makefile
37 lines
957 B
Makefile
PORTNAME= openmw
|
|
DISTVERSIONPREFIX= openmw-
|
|
DISTVERSION= 0.46.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= games
|
|
|
|
MAINTAINER= fluffy@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/osg \
|
|
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_QT= core gui network opengl printsupport widgets buildtools_build \
|
|
qmake_build
|
|
USE_SDL= sdl2
|
|
|
|
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>
|