Skip to content

Commit

Permalink
devel/zycore-c: New port: Support library with platform independent t…
Browse files Browse the repository at this point in the history
…ypes, macros, etc for Zydis
  • Loading branch information
yurivict committed Feb 26, 2023
1 parent b22b89d commit 3a8c19e
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -7631,6 +7631,7 @@
SUBDIR += zpu-binutils
SUBDIR += zpu-gcc
SUBDIR += zthread
SUBDIR += zycore-c
SUBDIR += zydis
SUBDIR += zziplib

Expand Down
25 changes: 25 additions & 0 deletions 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 <bsd.port.mk>
3 changes: 3 additions & 0 deletions 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
2 changes: 2 additions & 0 deletions 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.
30 changes: 30 additions & 0 deletions 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

0 comments on commit 3a8c19e

Please sign in to comment.