From 3a8c19e871bd4c4bca8face405944de4f8691f9d Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Sun, 26 Feb 2023 00:03:16 -0800 Subject: [PATCH] devel/zycore-c: New port: Support library with platform independent types, macros, etc for Zydis --- devel/Makefile | 1 + devel/zycore-c/Makefile | 25 +++++++++++++++++++++++++ devel/zycore-c/distinfo | 3 +++ devel/zycore-c/pkg-descr | 2 ++ devel/zycore-c/pkg-plist | 30 ++++++++++++++++++++++++++++++ 5 files changed, 61 insertions(+) create mode 100644 devel/zycore-c/Makefile create mode 100644 devel/zycore-c/distinfo create mode 100644 devel/zycore-c/pkg-descr create mode 100644 devel/zycore-c/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index dad100c828b89..549464fee88f9 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7631,6 +7631,7 @@ SUBDIR += zpu-binutils SUBDIR += zpu-gcc SUBDIR += zthread + SUBDIR += zycore-c SUBDIR += zydis SUBDIR += zziplib diff --git a/devel/zycore-c/Makefile b/devel/zycore-c/Makefile new file mode 100644 index 0000000000000..579b1b2cafbd9 --- /dev/null +++ b/devel/zycore-c/Makefile @@ -0,0 +1,25 @@ +PORTNAME= zycore-c +DISTVERSIONPREFIX= v +DISTVERSION= 1.4.1 +CATEGORIES= devel + +MAINTAINER= freebsd@sysctl.cz +COMMENT= Support library with platform independent types, macros, etc for Zydis +WWW= https://zydis.re + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc powerpc64 powerpc64le riscv64 +ONLY_FOR_ARCHS_REASON= see definitions in include/Zycore/Defines.h + +USES= cmake:testing compiler:c++17-lang cpe +CPE_VENDOR= zyantific + +USE_GITHUB= yes +GH_ACCOUNT= zyantific + +CMAKE_ON= ZYCORE_BUILD_SHARED_LIB +CMAKE_TESTING_ON= ZYCORE_BUILD_TESTS + +.include diff --git a/devel/zycore-c/distinfo b/devel/zycore-c/distinfo new file mode 100644 index 0000000000000..803adcff9a750 --- /dev/null +++ b/devel/zycore-c/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1677398160 +SHA256 (zyantific-zycore-c-v1.4.1_GH0.tar.gz) = 8f610917c4254a69ec7e0c63492e9d0be9d18f4bb8fe91a3ff6ebed917d1f0f8 +SIZE (zyantific-zycore-c-v1.4.1_GH0.tar.gz) = 61002 diff --git a/devel/zycore-c/pkg-descr b/devel/zycore-c/pkg-descr new file mode 100644 index 0000000000000..4bf46bf75e5ef --- /dev/null +++ b/devel/zycore-c/pkg-descr @@ -0,0 +1,2 @@ +Zyan Core Library for C is an internal library providing platform independent +types, macros and a fallback for environments without LibC. diff --git a/devel/zycore-c/pkg-plist b/devel/zycore-c/pkg-plist new file mode 100644 index 0000000000000..86082e752531c --- /dev/null +++ b/devel/zycore-c/pkg-plist @@ -0,0 +1,30 @@ +include/Zycore/API/Memory.h +include/Zycore/API/Process.h +include/Zycore/API/Synchronization.h +include/Zycore/API/Terminal.h +include/Zycore/API/Thread.h +include/Zycore/Allocator.h +include/Zycore/ArgParse.h +include/Zycore/Atomic.h +include/Zycore/Bitset.h +include/Zycore/Comparison.h +include/Zycore/Defines.h +include/Zycore/Format.h +include/Zycore/Internal/AtomicGNU.h +include/Zycore/Internal/AtomicMSVC.h +include/Zycore/LibC.h +include/Zycore/List.h +include/Zycore/Object.h +include/Zycore/Status.h +include/Zycore/String.h +include/Zycore/Types.h +include/Zycore/Vector.h +include/Zycore/Zycore.h +lib/cmake/zycore/zyan-functions.cmake +lib/cmake/zycore/zycore-config-version.cmake +lib/cmake/zycore/zycore-config.cmake +lib/cmake/zycore/zycore-targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/zycore/zycore-targets.cmake +lib/libZycore.so +lib/libZycore.so.1.4 +lib/libZycore.so.1.4.0.0