aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2020-03-29 14:57:46 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2020-03-29 14:57:46 +0000
commit92afe57c3eecfde509d92a7e68564ca50318b4c7 (patch)
tree63f3f69cb587a5ab27e77c952cb288ec726c9d53
parent1518f20e8dac0a1541507dbe6cb7bc3ccd9bb4f7 (diff)
downloadports-92afe57c3eecfde509d92a7e68564ca50318b4c7.tar.gz
ports-92afe57c3eecfde509d92a7e68564ca50318b4c7.zip
Notes
-rw-r--r--games/powder-toy/Makefile10
-rw-r--r--games/powder-toy/distinfo6
-rw-r--r--games/powder-toy/files/patch-resources_powder.appdata.xml19
3 files changed, 19 insertions, 16 deletions
diff --git a/games/powder-toy/Makefile b/games/powder-toy/Makefile
index b34c213ee1d0..5c83e3ff97f5 100644
--- a/games/powder-toy/Makefile
+++ b/games/powder-toy/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= powder-toy
-PORTVERSION= 94.1
-PORTREVISION= 1
+PORTVERSION= 95.0
DISTVERSIONPREFIX= v
CATEGORIES= games
@@ -29,8 +28,8 @@ SUB_FILES= ${PORTNAME}.sh
PORTDOCS= README.md TODO
-OPTIONS_DEFINE= DOCS OPTIMIZED_CFLAGS SSE SSE3 OPENGL
-OPTIONS_DEFAULT= OPTIMIZED_CFLAGS
+OPTIONS_DEFINE= DOCS OPTIMIZED_CFLAGS SSE SSE3 OPENGL HTTP
+OPTIONS_DEFAULT= OPTIMIZED_CFLAGS HTTP
OPTIONS_DEFAULT_amd64= SSE
# upstream also uses -funsafe-loop-optimizations, but it's not supported by clang
OPTIMIZED_CFLAGS_CXXFLAGS= -O3 -ftree-vectorize -funsafe-math-optimizations -ffast-math -fomit-frame-pointer
@@ -42,6 +41,9 @@ OPENGL_USES= gl
OPENGL_USE= GL=gl,glu,glew
OPENGL_MAKE_ARGS= --opengl --opengl-renderer
OPENGL_BROKEN= Application dies with SIGBUS at startup
+HTTP_DESC= Enable HTTP requests support
+HTTP_LIB_DEPENDS= libcurl.so:ftp/curl
+HTTP_MAKE_ARGS_OFF= --nohttp
post-patch:
@${REINPLACE_CMD} -e '/#include/ s|lua5.1/|lua51/|' ${WRKSRC}/src/lua/LuaCompat.h
diff --git a/games/powder-toy/distinfo b/games/powder-toy/distinfo
index a46b1350f9c6..aab3e62824a4 100644
--- a/games/powder-toy/distinfo
+++ b/games/powder-toy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1551187366
-SHA256 (ThePowderToy-The-Powder-Toy-v94.1_GH0.tar.gz) = 9770c0732c97e4e89a1e53330c969e9675595f78e6673c519c3724d6df591e72
-SIZE (ThePowderToy-The-Powder-Toy-v94.1_GH0.tar.gz) = 1254309
+TIMESTAMP = 1583263544
+SHA256 (ThePowderToy-The-Powder-Toy-v95.0_GH0.tar.gz) = f60c3dc93e4ceddeda92b768e75a2d218f8df3da4a569b7d7cb57fff5515e15b
+SIZE (ThePowderToy-The-Powder-Toy-v95.0_GH0.tar.gz) = 1250743
diff --git a/games/powder-toy/files/patch-resources_powder.appdata.xml b/games/powder-toy/files/patch-resources_powder.appdata.xml
index c1d2e314269d..b6bc4e2b6685 100644
--- a/games/powder-toy/files/patch-resources_powder.appdata.xml
+++ b/games/powder-toy/files/patch-resources_powder.appdata.xml
@@ -1,10 +1,11 @@
---- resources/powder.appdata.xml.orig 2019-02-17 19:08:04 UTC
+--- resources/powder.appdata.xml.orig 2020-02-27 03:38:53 UTC
+++ resources/powder.appdata.xml
-@@ -1,6 +1,6 @@
- <?xml version="1.0" encoding="UTF-8"?>
- <component type="desktop">
-- <id>powder.desktop</id>
-+ <id>powder-toy.desktop</id>
- <metadata_license>CC0-1.0</metadata_license>
- <project_license>GPL-3.0</project_license>
- <name>Powder Toy</name>
+@@ -8,7 +8,7 @@
+ <content_rating type="oars-1.1">
+ <content_attribute id="social-chat">moderate</content_attribute>
+ </content_rating>
+- <launchable type="desktop-id">powder.desktop</launchable>
++ <launchable type="desktop-id">powder-toy.desktop</launchable>
+ <description>
+ <p>
+ The Powder Toy is a free physics sandbox game, which simulates air pressure and velocity, heat, gravity and a countless number of interactions between different substances! The game provides you with various building materials, liquids, gases and electronic components which can be used to construct complex machines, guns, bombs, realistic terrains and almost anything else. You can then mine them and watch cool explosions, add intricate wirings, play with little stickmen or operate your machine. You can browse and play thousands of different saves made by the community or upload your own - we welcome your creations!