git: feb029aa817e - main - devel/dill: New port: Code generation for generating executable code directly into memory
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 05 Apr 2024 02:16:23 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=feb029aa817e6bfd12bf31fd1d50849c50e76d2c commit feb029aa817e6bfd12bf31fd1d50849c50e76d2c Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-04-05 02:15:44 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-04-05 02:15:44 +0000 devel/dill: New port: Code generation for generating executable code directly into memory --- devel/Makefile | 1 + devel/dill/Makefile | 24 ++++++++++++++++++++++++ devel/dill/distinfo | 3 +++ devel/dill/files/patch-CMakeLists.txt | 11 +++++++++++ devel/dill/pkg-descr | 3 +++ devel/dill/pkg-plist | 13 +++++++++++++ 6 files changed, 55 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index b9f009bc19a8..c028874ff2e5 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -558,6 +558,7 @@ SUBDIR += dfuife-curses SUBDIR += dia2code SUBDIR += dia2code+ + SUBDIR += dill SUBDIR += ding-libs SUBDIR += dispy SUBDIR += distcc diff --git a/devel/dill/Makefile b/devel/dill/Makefile new file mode 100644 index 000000000000..3c3860041ef5 --- /dev/null +++ b/devel/dill/Makefile @@ -0,0 +1,24 @@ +PORTNAME= dill +DISTVERSION= 2.4.1-75 +DISTVERSIONSUFFIX= -g2598741 +CATEGORIES= devel + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Code generation for generating executable code directly into memory +WWW= https://github.com/GTkorvo/dill + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= bash:shells/bash + +USES= cmake shebangfix perl5 +USE_PERL5= build +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= GTkorvo + +SHEBANG_FILES= dill-config.in + +.include <bsd.port.mk> diff --git a/devel/dill/distinfo b/devel/dill/distinfo new file mode 100644 index 000000000000..a1bcb4546508 --- /dev/null +++ b/devel/dill/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1712252926 +SHA256 (GTkorvo-dill-2.4.1-75-g2598741_GH0.tar.gz) = 6c0704e3df0b179e4f205999ecb393bcbc740c117239a0c89dc3c86876739177 +SIZE (GTkorvo-dill-2.4.1-75-g2598741_GH0.tar.gz) = 230790 diff --git a/devel/dill/files/patch-CMakeLists.txt b/devel/dill/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..6c83373016f4 --- /dev/null +++ b/devel/dill/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2024-04-04 17:50:01 UTC ++++ CMakeLists.txt +@@ -102,7 +102,7 @@ unset(NATIVE_ARCH) + check_type_size("long" SIZEOF_LONG) + set(NATIVE_CG TRUE) + unset(NATIVE_ARCH) +-if(CMAKE_SYSTEM_PROCESSOR MATCHES "i.86|x86_64|AMD64") ++if(CMAKE_SYSTEM_PROCESSOR MATCHES "i.86|x86_64|AMD64|amd64") + if(CMAKE_SIZEOF_VOID_P EQUAL 8) + set(NATIVE_ARCH x86_64) + set(HOST_X86_64 1) diff --git a/devel/dill/pkg-descr b/devel/dill/pkg-descr new file mode 100644 index 000000000000..ed3d44107249 --- /dev/null +++ b/devel/dill/pkg-descr @@ -0,0 +1,3 @@ +DILL provides instruction-level code generation, register allocation and simple +optimizations for generating executable code directly into memory regions for +immediate use. diff --git a/devel/dill/pkg-plist b/devel/dill/pkg-plist new file mode 100644 index 000000000000..6e637612b319 --- /dev/null +++ b/devel/dill/pkg-plist @@ -0,0 +1,13 @@ +bin/dill-config +include/dill.h +lib/cmake/dill/FindBinUtils.cmake +lib/cmake/dill/FindLibFFI.cmake +lib/cmake/dill/dill-config-common.cmake +lib/cmake/dill/dill-config-version.cmake +lib/cmake/dill/dill-config.cmake +lib/cmake/dill/dill-targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/dill/dill-targets.cmake +lib/libdill.so +lib/libdill.so.3 +lib/libdill.so.3.0.0 +libdata/pkgconfig/dill.pc