aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-06-06 17:15:44 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-06-06 17:15:44 +0000
commit3ddcaa8e852bc187447f9d4233f83bbf284e906f (patch)
tree1201fd13301bfc9645ea2f265370f496dc19e8f4
parentc948f928e591da031e591362ec0aeb782a1b9b97 (diff)
downloadports-3ddcaa8e852bc187447f9d4233f83bbf284e906f.tar.gz
ports-3ddcaa8e852bc187447f9d4233f83bbf284e906f.zip
Notes
-rw-r--r--games/minetest/Makefile5
-rw-r--r--games/minetest/distinfo6
-rw-r--r--games/minetest/files/patch-src_CMakeLists.txt17
-rw-r--r--games/minetest/pkg-descr2
-rw-r--r--games/minetest/pkg-plist4
5 files changed, 16 insertions, 18 deletions
diff --git a/games/minetest/Makefile b/games/minetest/Makefile
index 623f4acabcfb..9f82f1c7e49a 100644
--- a/games/minetest/Makefile
+++ b/games/minetest/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= minetest
-PORTVERSION= 0.4.15
-PORTREVISION= 2
+PORTVERSION= 0.4.16
CATEGORIES= games
MAINTAINER= amdmi3@FreeBSD.org
@@ -58,7 +57,7 @@ REDIS_CMAKE_BOOL= ENABLE_REDIS
REDIS_LIB_DEPENDS= libhiredis.so:databases/hiredis
FREETYPE_CMAKE_BOOL= ENABLE_FREETYPE
FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2
-LUAJIT_CMAKE_BOOL= ENABLE_LUAJIT
+LUAJIT_CMAKE_BOOL= ENABLE_LUAJIT REQUIRE_LUAJIT
LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit
SPATIAL_LIB_DEPENDS= libspatialindex.so:devel/spatialindex
SPATIAL_CMAKE_BOOL= ENABLE_SPATIAL
diff --git a/games/minetest/distinfo b/games/minetest/distinfo
index 071ae16335fa..da2a1b079b94 100644
--- a/games/minetest/distinfo
+++ b/games/minetest/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1482488146
-SHA256 (minetest-minetest-0.4.15_GH0.tar.gz) = 5684e6118e3484f8901323f1ca4179202659010b33c72f02bc03df792493e3a9
-SIZE (minetest-minetest-0.4.15_GH0.tar.gz) = 8809609
+TIMESTAMP = 1496650421
+SHA256 (minetest-minetest-0.4.16_GH0.tar.gz) = 0ef3793de9f569746ea78af7a66fe96ef65400019e5e64a04a5c3fa26a707655
+SIZE (minetest-minetest-0.4.16_GH0.tar.gz) = 7753436
diff --git a/games/minetest/files/patch-src_CMakeLists.txt b/games/minetest/files/patch-src_CMakeLists.txt
index 0997f450f671..f5a9271b3adf 100644
--- a/games/minetest/files/patch-src_CMakeLists.txt
+++ b/games/minetest/files/patch-src_CMakeLists.txt
@@ -1,6 +1,6 @@
---- src/CMakeLists.txt.orig 2016-12-22 22:14:17 UTC
+--- src/CMakeLists.txt.orig 2017-06-03 18:42:10 UTC
+++ src/CMakeLists.txt
-@@ -344,11 +344,6 @@ else()
+@@ -325,11 +325,6 @@ else()
endif(HAVE_LIBRT)
endif(APPLE)
@@ -12,12 +12,11 @@
# Prefer local iconv if installed
find_library(ICONV_LIBRARY iconv)
mark_as_advanced(ICONV_LIBRARY)
-@@ -760,7 +755,7 @@ else()
- set(OTHER_FLAGS "${OTHER_FLAGS} -mthreads -fexceptions")
- endif()
+@@ -756,7 +751,6 @@ else()
-- set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG ${RELEASE_WARNING_FLAGS} ${WARNING_FLAGS} ${OTHER_FLAGS} -ffast-math -Wall -pipe -funroll-loops")
-+ set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG ${RELEASE_WARNING_FLAGS} ${WARNING_FLAGS} ${OTHER_FLAGS} -Wall -pipe -funroll-loops")
- if(APPLE)
- set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Os")
+ set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG ${RELEASE_WARNING_FLAGS} ${WARNING_FLAGS} ${OTHER_FLAGS} -Wall -pipe -funroll-loops")
+ if(CMAKE_SYSTEM_NAME MATCHES "(Darwin|FreeBSD)")
+- set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Os")
else()
+ set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -ffast-math -fomit-frame-pointer")
+ endif(CMAKE_SYSTEM_NAME MATCHES "(Darwin|FreeBSD)")
diff --git a/games/minetest/pkg-descr b/games/minetest/pkg-descr
index c6127177c525..e8a17546a969 100644
--- a/games/minetest/pkg-descr
+++ b/games/minetest/pkg-descr
@@ -1,4 +1,4 @@
Minetest is a near-infinite-world block sandbox game and a game engine,
inspired by InfiniMiner, Minecraft, and the like.
-WWW: http://minetest.net/
+WWW: http://www.minetest.net/
diff --git a/games/minetest/pkg-plist b/games/minetest/pkg-plist
index 5d80ce202754..8867e04cc5fe 100644
--- a/games/minetest/pkg-plist
+++ b/games/minetest/pkg-plist
@@ -3,7 +3,7 @@
@sample etc/minetest.conf.example etc/minetest.conf
man/man6/minetest.6.gz
man/man6/minetestserver.6.gz
-share/applications/minetest.desktop
-share/appdata/minetest.appdata.xml
+share/applications/net.minetest.minetest.desktop
share/icons/hicolor/128x128/apps/minetest.png
share/icons/hicolor/scalable/apps/minetest.svg
+share/metainfo/net.minetest.minetest.appdata.xml