aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2019-01-05 21:05:00 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2019-01-05 21:05:00 +0000
commit15e5991832a8381eab5d7480c3346af4df0ee27c (patch)
tree71846a4ae74f9f9c60521f1ee07b921b5ebe067c
parent08dae82f3d9ac26b089573f0c7301c0e5279f0db (diff)
downloadports-15e5991832a8381eab5d7480c3346af4df0ee27c.tar.gz
ports-15e5991832a8381eab5d7480c3346af4df0ee27c.zip
Notes
-rw-r--r--games/wyrmgus/Makefile8
-rw-r--r--games/wyrmgus/distinfo6
2 files changed, 9 insertions, 5 deletions
diff --git a/games/wyrmgus/Makefile b/games/wyrmgus/Makefile
index 0c6ae7b8c848..e33938392a0f 100644
--- a/games/wyrmgus/Makefile
+++ b/games/wyrmgus/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= wyrmgus
-PORTVERSION= 3.4.1
-PORTREVISION= 1
+PORTVERSION= 3.5.1
DISTVERSIONPREFIX= v
CATEGORIES= games devel
@@ -45,6 +44,11 @@ OPENGL_USE= GL=gl,glu
OPENGL_CMAKE_ON= -DWITH_RENDERER="OpenGL"
OPENGL_CMAKE_OFF= -DWITH_RENDERER="NativeSDL"
+post-patch:
+# fix debug build
+ @${REINPLACE_CMD} -e 's|OAML_LIBRARIES_SHARED_DEBUG|OAML_LIBRARIES_SHARED|' ${WRKSRC}/CMakeLists.txt
+ @${REINPLACE_CMD} -e '/stratagus-dbg/ d' ${WRKSRC}/CMakeLists.txt
+
do-install:
${INSTALL_PROGRAM} ${CONFIGURE_WRKSRC}/stratagus ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/src/win32/wyrmsun.ico ${STAGEDIR}${PREFIX}/share/pixmaps/
diff --git a/games/wyrmgus/distinfo b/games/wyrmgus/distinfo
index 9031f2eef629..abc90053c411 100644
--- a/games/wyrmgus/distinfo
+++ b/games/wyrmgus/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1541690142
-SHA256 (Andrettin-Wyrmgus-v3.4.1_GH0.tar.gz) = 1c34b822cd7c25d2443ca35625194519d315868f4b825e4b919a0b954bb1297c
-SIZE (Andrettin-Wyrmgus-v3.4.1_GH0.tar.gz) = 1433286
+TIMESTAMP = 1545835219
+SHA256 (Andrettin-Wyrmgus-v3.5.1_GH0.tar.gz) = a27b9759893797bca72d5604042f08c6e1ef5f3a80ea2fb2e5b75e6c0efd6cef
+SIZE (Andrettin-Wyrmgus-v3.5.1_GH0.tar.gz) = 1477734