git: 0506e30b892a - main - devel/rustc-demangle: New port: Library for Rust symbol demangling
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 Jan 2023 23:10:19 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=0506e30b892a1b017a7d163cac41941e70e10575 commit 0506e30b892a1b017a7d163cac41941e70e10575 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-01-10 16:03:17 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-01-10 23:10:17 +0000 devel/rustc-demangle: New port: Library for Rust symbol demangling --- devel/Makefile | 1 + devel/rustc-demangle/Makefile | 40 ++++++++++++++++++++++++++++++++++++++++ devel/rustc-demangle/distinfo | 19 +++++++++++++++++++ devel/rustc-demangle/pkg-descr | 4 ++++ 4 files changed, 64 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 1160a2d265d4..df033504ccb6 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7243,6 +7243,7 @@ SUBDIR += rust-analyzer SUBDIR += rust-bindgen SUBDIR += rust-cbindgen + SUBDIR += rustc-demangle SUBDIR += rvi SUBDIR += rvm SUBDIR += sabre diff --git a/devel/rustc-demangle/Makefile b/devel/rustc-demangle/Makefile new file mode 100644 index 000000000000..fc02ed45679d --- /dev/null +++ b/devel/rustc-demangle/Makefile @@ -0,0 +1,40 @@ +PORTNAME= rustc-demangle +DISTVERSION= 0.1.21 +CATEGORIES= devel + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Library for Rust symbol demangling +WWW= https://github.com/rust-lang/rustc-demangle + +LICENSE= APACHE20 MIT +LICENSE_COMB= dual +LICENSE_FILE_APACHE20= ${WRKSRC}/../../LICENSE-APACHE +LICENSE_FILE_MIT= ${WRKSRC}/../../LICENSE-MIT + +USES= cargo +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= rust-lang + +WRKSRC_SUBDIR= crates/capi + +CARGO_CRATES= arbitrary-1.2.2 \ + cc-1.0.78 \ + compiler_builtins-0.1.86 \ + jobserver-0.1.25 \ + libc-0.2.139 \ + libfuzzer-sys-0.4.5 \ + once_cell-1.17.0 \ + rustc-std-workspace-core-1.0.0 + +PLIST_FILES= include/rustc_demangle.h \ + lib/librustc_demangle.a \ + lib/librustc_demangle.so + +do-install: + ${INSTALL_DATA} ${WRKSRC}/../../crates/capi/include/rustc_demangle.h ${STAGEDIR}${PREFIX}/include + ${INSTALL_DATA} ${WRKDIR}/target/x86_64-unknown-freebsd/release/librustc_demangle.a ${STAGEDIR}${PREFIX}/lib + ${INSTALL_LIB} ${WRKDIR}/target/x86_64-unknown-freebsd/release/librustc_demangle.so ${STAGEDIR}${PREFIX}/lib + +.include <bsd.port.mk> diff --git a/devel/rustc-demangle/distinfo b/devel/rustc-demangle/distinfo new file mode 100644 index 000000000000..c45b448f22af --- /dev/null +++ b/devel/rustc-demangle/distinfo @@ -0,0 +1,19 @@ +TIMESTAMP = 1673374089 +SHA256 (rust/crates/arbitrary-1.2.2.crate) = b0224938f92e7aef515fac2ff2d18bd1115c1394ddf4a092e0c87e8be9499ee5 +SIZE (rust/crates/arbitrary-1.2.2.crate) = 30011 +SHA256 (rust/crates/cc-1.0.78.crate) = a20104e2335ce8a659d6dd92a51a767a0c062599c73b343fd152cb401e828c3d +SIZE (rust/crates/cc-1.0.78.crate) = 61375 +SHA256 (rust/crates/compiler_builtins-0.1.86.crate) = 5dae98c88e576098d7ab13ebcb40cc43e5114b2beafe61a87cda9200649ff205 +SIZE (rust/crates/compiler_builtins-0.1.86.crate) = 167530 +SHA256 (rust/crates/jobserver-0.1.25.crate) = 068b1ee6743e4d11fb9c6a1e6064b3693a1b600e7f5f5988047d98b3dc9fb90b +SIZE (rust/crates/jobserver-0.1.25.crate) = 21888 +SHA256 (rust/crates/libc-0.2.139.crate) = 201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79 +SIZE (rust/crates/libc-0.2.139.crate) = 638983 +SHA256 (rust/crates/libfuzzer-sys-0.4.5.crate) = c8fff891139ee62800da71b7fd5b508d570b9ad95e614a53c6f453ca08366038 +SIZE (rust/crates/libfuzzer-sys-0.4.5.crate) = 127802 +SHA256 (rust/crates/once_cell-1.17.0.crate) = 6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66 +SIZE (rust/crates/once_cell-1.17.0.crate) = 32736 +SHA256 (rust/crates/rustc-std-workspace-core-1.0.0.crate) = 1956f5517128a2b6f23ab2dadf1a976f4f5b27962e7724c2bf3d45e539ec098c +SIZE (rust/crates/rustc-std-workspace-core-1.0.0.crate) = 714 +SHA256 (rust-lang-rustc-demangle-0.1.21_GH0.tar.gz) = f1663f2b4312dc65d4081e6254b916c58398192870864fb35297ebf2ea0e498b +SIZE (rust-lang-rustc-demangle-0.1.21_GH0.tar.gz) = 29692 diff --git a/devel/rustc-demangle/pkg-descr b/devel/rustc-demangle/pkg-descr new file mode 100644 index 000000000000..ab40f2985823 --- /dev/null +++ b/devel/rustc-demangle/pkg-descr @@ -0,0 +1,4 @@ +Library that demangles for Rust symbols. + +The library is written in Rust. +This port has it's C/C++ API.