diff options
Diffstat (limited to 'games/openmw/Makefile')
-rw-r--r-- | games/openmw/Makefile | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/games/openmw/Makefile b/games/openmw/Makefile index 07996735825b..e0654383dacc 100644 --- a/games/openmw/Makefile +++ b/games/openmw/Makefile @@ -1,6 +1,7 @@ PORTNAME= openmw DISTVERSIONPREFIX= openmw- DISTVERSION= 0.49.0 +PORTREVISION= 2 CATEGORIES= games MAINTAINER= fluffy@FreeBSD.org @@ -14,6 +15,7 @@ LIB_DEPENDS= libavcodec.so.60:multimedia/ffmpeg \ libboost_thread.so:devel/boost-libs \ libMyGUIEngine.so:x11-toolkits/mygui \ libBulletCollision.so:devel/bullet@double \ + libcollada-dom2.5-dp.so:devel/collada-dom \ libosg.so:graphics/osg \ libRecast.so:graphics/recastnavigation \ libunshield.so:archivers/unshield \ @@ -22,18 +24,15 @@ LIB_DEPENDS= libavcodec.so.60:multimedia/ffmpeg \ libyaml-cpp.so:devel/yaml-cpp USES= cmake compiler:c++20-lang desktop-file-utils gl luajit openal \ - pkgconfig qt:5 sdl sqlite xorg + pkgconfig qt:6 sdl sqlite xorg USE_GITHUB= yes GH_ACCOUNT= OpenMW USE_GL= gl -USE_QT= core gui linguisttools network opengl printsupport svg widgets \ - buildtools:build qmake:build -#USE_QT= base imageformats multimedia svg tools:build +USE_QT= base imageformats multimedia svg tools:build USE_SDL= sdl2 USE_CXXSTD= c++20 -#USE_GCC= yes -CMAKE_ARGS= -DDESIRED_QT_VERSION=5 \ +CMAKE_ARGS= -DDESIRED_QT_VERSION=${_QT_VER} \ -DOPENMW_USE_SYSTEM_BULLET=ON \ -DOPENMW_USE_SYSTEM_RECASTNAVIGATION=ON \ -DGLOBAL_DATA_PATH="${PREFIX}/share" \ @@ -64,6 +63,13 @@ PORTDOCS= * LDFLAGS_i386+= -Wl,--no-check-dynamic-relocations .endif +post-patch: + ${REINPLACE_CMD} -e 's/Qt6 Qt5/Qt6/' \ + -e 's/program_options system/program_options/' \ + ${WRKSRC}/CMakeLists.txt + ${REINPLACE_CMD} -e '/Boost::system/d' \ + ${WRKSRC}/components/CMakeLists.txt + post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* |