<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e796e9a9a803b41bbfcb3c71249611261e5f4c50">https://github.com/macports/macports-ports/commit/e796e9a9a803b41bbfcb3c71249611261e5f4c50</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new e796e9a9a80 entityx: new port (version 1.3.0)
</span>e796e9a9a80 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e796e9a9a803b41bbfcb3c71249611261e5f4c50
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Tue Jan 30 16:22:47 2024 -0500
<span style='display:block; white-space:pre;color:#404040;'> entityx: new port (version 1.3.0)
</span>---
devel/entityx/Portfile | 31 +++++++++++++
devel/entityx/files/patch-CMakeLists.txt.diff | 63 +++++++++++++++++++++++++++
2 files changed, 94 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/entityx/Portfile b/devel/entityx/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..0d0b4090418
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/entityx/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,31 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cmake 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup alecthomas entityx 1.3.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description A fast, type-safe C++ Entity-Component system
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {*}${description}. Entity Component Systems \(ECS\) are a form of \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ decomposition that completely decouples entity logic and data from the \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ entity \"objects\" themselves. The Evolve your Hierarchy article provides \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ a solid overview of EC systems and why you should use them. EntityX is an \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ EC system that uses C++11 features to provide type-safe component \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ management, event delivery, etc. It was built during the creation of a 2D \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ space shooter.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories devel games
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license MIT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {gmail.com:herby.gillot @herbygillot} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 9a2be124ce7001b4d6cd1572b0877acc02dbe58e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 2cd56d4fc5c553b786b8caf0b5bd9231434f21d43ca0e963d3bc5ee503a06222 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 208389
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-CMakeLists.txt.diff
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/entityx/files/patch-CMakeLists.txt.diff b/devel/entityx/files/patch-CMakeLists.txt.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..d9576d26cfe
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/entityx/files/patch-CMakeLists.txt.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,63 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ./CMakeLists.txt 2024-01-30 16:18:44
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ./CMakeLists.txt 2024-01-30 16:20:01
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,7 +1,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cmake_minimum_required(VERSION 3.1)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set(ENTITYX_MAJOR_VERSION 1)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-set(ENTITYX_MINOR_VERSION 1)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-set(ENTITYX_PATCH_VERSION 2)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++set(ENTITYX_MINOR_VERSION 3)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++set(ENTITYX_PATCH_VERSION 0)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set(ENTITYX_VERSION ${ENTITYX_MAJOR_VERSION}.${ENTITYX_MINOR_VERSION}.${ENTITYX_PATCH_VERSION})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set(CMAKE_CXX_EXTENSIONS OFF)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -27,24 +27,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(${CMAKE_ROOT}/Modules/CheckIncludeFile.cmake)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(CheckCXXSourceCompiles)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-# Default compiler args
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if (CMAKE_CXX_COMPILER_ID MATCHES "(GNU|.*Clang)")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -Werror -Wall -Wextra -Wno-unused-parameter -Wno-error=unused-variable -Wno-error=sign-compare")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- set(CMAKE_CXX_FLAGS_MINSIZEREL "-g -Os -DNDEBUG")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- set(CMAKE_CXX_FLAGS_RELEASE "-g -O2 -DNDEBUG")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-elseif(CMAKE_CXX_COMPILER_ID STREQUAL 'MSVC')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # /Zi - Produces a program database (PDB) that contains type information and symbolic debugging information for use with the debugger.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # /FS - Allows multiple cl.exe processes to write to the same .pdb file
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # /DEBUG - Enable debug during linking
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # /Od - Disables optimization
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- set(CMAKE_CXX_FLAGS_DEBUG "/Zi /FS /DEBUG /Od /MDd")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # /Ox - Full optimization
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- set(CMAKE_CXX_FLAGS_RELEASE "/Ox -DNDEBUG")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "/Ox /Zi /FS /DEBUG")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Weverything -Wno-c++98-compat -Wno-shadow -Wno-padded -Wno-missing-noreturn -Wno-global-constructors")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -55,10 +37,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif(NOT DEFINED CMAKE_INSTALL_LIBDIR)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set(libdir ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-set(OLD_CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if ((MAKE_CXX_COMPILER_ID STREQUAL "GNU") OR (CMAKE_CXX_COMPILER_ID STREQUAL "Clang"))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ check_cxx_source_compiles(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <memory>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -70,14 +48,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ENTITYX_HAVE_CXX11_STDLIB
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if (NOT ENTITYX_HAVE_CXX11_STDLIB)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- message(STATUS "-- Not using -stdlib=libc++ (test failed to build)")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- set(CMAKE_CXX_FLAGS "${OLD_CMAKE_CXX_FLAGS}")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-else ()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- message(STATUS "-- Using -stdlib=libc++")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-endif ()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Misc features
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ check_include_file("stdint.h" HAVE_STDINT_H)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>