git: a5d86f4fcffb - main - lang/amber: New port: Amber: the programming language compiled to bash
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 25 May 2024 04:12:26 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=a5d86f4fcffb7c295c1ae189ed77d75549fc1069 commit a5d86f4fcffb7c295c1ae189ed77d75549fc1069 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-05-25 04:11:35 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-05-25 04:12:12 +0000 lang/amber: New port: Amber: the programming language compiled to bash --- lang/Makefile | 1 + lang/amber/Makefile | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++ lang/amber/distinfo | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++ lang/amber/pkg-descr | 3 +++ 4 files changed, 117 insertions(+) diff --git a/lang/Makefile b/lang/Makefile index 6705651f3f54..e14e1afedd38 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -3,6 +3,7 @@ SUBDIR += abcl SUBDIR += alchemist.el SUBDIR += algol68g + SUBDIR += amber SUBDIR += angelscript SUBDIR += antimony SUBDIR += apache-commons-jelly diff --git a/lang/amber/Makefile b/lang/amber/Makefile new file mode 100644 index 000000000000..0cc22158d336 --- /dev/null +++ b/lang/amber/Makefile @@ -0,0 +1,56 @@ +PORTNAME= amber +DISTVERSION= 0.3.1-alpha +CATEGORIES= lang +PKGNAMESUFFIX= -language + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Amber: the programming language compiled to bash +WWW= https://amber-lang.com + +LICENSE= GPLv3 + +RUN_DEPENDS= bash:shells/bash + +USES= cargo + +USE_GITHUB= yes +GH_ACCOUNT= Ph0enixKM +GH_PROJECT= Amber + +CARGO_CRATES= bitflags-2.4.0 \ + capitalize-0.1.0 \ + cc-1.0.83 \ + colored-2.0.4 \ + either-1.9.0 \ + errno-0.3.3 \ + errno-dragonfly-0.1.2 \ + heraclitus-compiler-1.5.8 \ + hermit-abi-0.3.2 \ + is-terminal-0.4.9 \ + itertools-0.10.5 \ + lazy_static-1.4.0 \ + libc-0.2.147 \ + linux-raw-sys-0.4.5 \ + pad-0.1.6 \ + rustix-0.38.10 \ + similar-string-1.4.3 \ + unicode-width-0.1.10 \ + windows-sys-0.48.0 \ + windows-targets-0.48.5 \ + windows_aarch64_gnullvm-0.48.5 \ + windows_aarch64_msvc-0.48.5 \ + windows_i686_gnu-0.48.5 \ + windows_i686_msvc-0.48.5 \ + windows_x86_64_gnu-0.48.5 \ + windows_x86_64_gnullvm-0.48.5 \ + windows_x86_64_msvc-0.48.5 + +PLIST_FILES= bin/${PORTNAME} + +post-patch: + @${REINPLACE_CMD} -e 's|"/bin/bash"|"${LOCALBASE}/bin/bash"|' ${WRKSRC}/src/compiler.rs + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + +.include <bsd.port.mk> diff --git a/lang/amber/distinfo b/lang/amber/distinfo new file mode 100644 index 000000000000..d8ad58ca728d --- /dev/null +++ b/lang/amber/distinfo @@ -0,0 +1,57 @@ +TIMESTAMP = 1716609391 +SHA256 (rust/crates/bitflags-2.4.0.crate) = b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635 +SIZE (rust/crates/bitflags-2.4.0.crate) = 36954 +SHA256 (rust/crates/capitalize-0.1.0.crate) = 702cfe2f052c6542d55a9924efef63dd315c168cc4f315a824fb0f47da4e11c8 +SIZE (rust/crates/capitalize-0.1.0.crate) = 2591 +SHA256 (rust/crates/cc-1.0.83.crate) = f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0 +SIZE (rust/crates/cc-1.0.83.crate) = 68343 +SHA256 (rust/crates/colored-2.0.4.crate) = 2674ec482fbc38012cf31e6c42ba0177b431a0cb6f15fe40efa5aab1bda516f6 +SIZE (rust/crates/colored-2.0.4.crate) = 23654 +SHA256 (rust/crates/either-1.9.0.crate) = a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07 +SIZE (rust/crates/either-1.9.0.crate) = 16660 +SHA256 (rust/crates/errno-0.3.3.crate) = 136526188508e25c6fef639d7927dfb3e0e3084488bf202267829cf7fc23dbdd +SIZE (rust/crates/errno-0.3.3.crate) = 10543 +SHA256 (rust/crates/errno-dragonfly-0.1.2.crate) = aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf +SIZE (rust/crates/errno-dragonfly-0.1.2.crate) = 1810 +SHA256 (rust/crates/heraclitus-compiler-1.5.8.crate) = 1b30d37150dbf5477a91ad1a9546eab07c3f73225dbe61dd9a8bacd7074deb43 +SIZE (rust/crates/heraclitus-compiler-1.5.8.crate) = 3678536 +SHA256 (rust/crates/hermit-abi-0.3.2.crate) = 443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b +SIZE (rust/crates/hermit-abi-0.3.2.crate) = 13783 +SHA256 (rust/crates/is-terminal-0.4.9.crate) = cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b +SIZE (rust/crates/is-terminal-0.4.9.crate) = 8109 +SHA256 (rust/crates/itertools-0.10.5.crate) = b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473 +SIZE (rust/crates/itertools-0.10.5.crate) = 115354 +SHA256 (rust/crates/lazy_static-1.4.0.crate) = e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646 +SIZE (rust/crates/lazy_static-1.4.0.crate) = 10443 +SHA256 (rust/crates/libc-0.2.147.crate) = b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3 +SIZE (rust/crates/libc-0.2.147.crate) = 686772 +SHA256 (rust/crates/linux-raw-sys-0.4.5.crate) = 57bcfdad1b858c2db7c38303a6d2ad4dfaf5eb53dfeb0910128b2c26d6158503 +SIZE (rust/crates/linux-raw-sys-0.4.5.crate) = 1274380 +SHA256 (rust/crates/pad-0.1.6.crate) = d2ad9b889f1b12e0b9ee24db044b5129150d5eada288edc800f789928dc8c0e3 +SIZE (rust/crates/pad-0.1.6.crate) = 4963 +SHA256 (rust/crates/rustix-0.38.10.crate) = ed6248e1caa625eb708e266e06159f135e8c26f2bb7ceb72dc4b2766d0340964 +SIZE (rust/crates/rustix-0.38.10.crate) = 342427 +SHA256 (rust/crates/similar-string-1.4.3.crate) = d3ac42455f28f7f9fc2ca816746b7143356f51ae195abb35d5bb4ac3808c7fa3 +SIZE (rust/crates/similar-string-1.4.3.crate) = 3097 +SHA256 (rust/crates/unicode-width-0.1.10.crate) = c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b +SIZE (rust/crates/unicode-width-0.1.10.crate) = 18968 +SHA256 (rust/crates/windows-sys-0.48.0.crate) = 677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9 +SIZE (rust/crates/windows-sys-0.48.0.crate) = 2628884 +SHA256 (rust/crates/windows-targets-0.48.5.crate) = 9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c +SIZE (rust/crates/windows-targets-0.48.5.crate) = 6904 +SHA256 (rust/crates/windows_aarch64_gnullvm-0.48.5.crate) = 2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8 +SIZE (rust/crates/windows_aarch64_gnullvm-0.48.5.crate) = 418492 +SHA256 (rust/crates/windows_aarch64_msvc-0.48.5.crate) = dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc +SIZE (rust/crates/windows_aarch64_msvc-0.48.5.crate) = 798483 +SHA256 (rust/crates/windows_i686_gnu-0.48.5.crate) = a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e +SIZE (rust/crates/windows_i686_gnu-0.48.5.crate) = 844891 +SHA256 (rust/crates/windows_i686_msvc-0.48.5.crate) = 8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406 +SIZE (rust/crates/windows_i686_msvc-0.48.5.crate) = 864300 +SHA256 (rust/crates/windows_x86_64_gnu-0.48.5.crate) = 53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e +SIZE (rust/crates/windows_x86_64_gnu-0.48.5.crate) = 801619 +SHA256 (rust/crates/windows_x86_64_gnullvm-0.48.5.crate) = 0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc +SIZE (rust/crates/windows_x86_64_gnullvm-0.48.5.crate) = 418486 +SHA256 (rust/crates/windows_x86_64_msvc-0.48.5.crate) = ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538 +SIZE (rust/crates/windows_x86_64_msvc-0.48.5.crate) = 798412 +SHA256 (Ph0enixKM-Amber-0.3.1-alpha_GH0.tar.gz) = 7f88b18ca77d3c9e78715d9a0b7aa57ee7152cfa0bdcfb8073debb91bbc14784 +SIZE (Ph0enixKM-Amber-0.3.1-alpha_GH0.tar.gz) = 71929 diff --git a/lang/amber/pkg-descr b/lang/amber/pkg-descr new file mode 100644 index 000000000000..169fe3416d7d --- /dev/null +++ b/lang/amber/pkg-descr @@ -0,0 +1,3 @@ +Amber is a programming language that compiles to Bash. It's a high level +programming language that makes it easy to create shell scripts. It's +particulary well suited for cloud services.