Skip to content

Commit

Permalink
lang/numbat: New port: Statically typed programming language for scie…
Browse files Browse the repository at this point in the history
…ntific computations
  • Loading branch information
yurivict committed Nov 4, 2023
1 parent d97f4c8 commit 69479d4
Show file tree
Hide file tree
Showing 4 changed files with 594 additions and 0 deletions.
1 change: 1 addition & 0 deletions lang/Makefile
Expand Up @@ -224,6 +224,7 @@
SUBDIR += njs
SUBDIR += nll
SUBDIR += nqc
SUBDIR += numbat
SUBDIR += nwcc
SUBDIR += nx
SUBDIR += nyan
Expand Down
212 changes: 212 additions & 0 deletions lang/numbat/Makefile
@@ -0,0 +1,212 @@
PORTNAME= numbat
DISTVERSIONPREFIX= v
DISTVERSION= 1.7.0
CATEGORIES= lang devel science

MAINTAINER= yuri@FreeBSD.org
COMMENT= Statically typed programming language for scientific computations
WWW= https://numbat.dev

LICENSE= APACHE20 MIT
LICENSE_COMB= dual
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT

USES= cargo

USE_GITHUB= yes
GH_ACCOUNT= sharkdp

CARGO_CRATES= aho-corasick-1.1.2 \
anes-0.1.6 \
anstream-0.6.4 \
anstyle-1.0.4 \
anstyle-parse-0.2.2 \
anstyle-query-1.0.0 \
anstyle-wincon-3.0.1 \
anyhow-1.0.75 \
approx-0.5.1 \
assert_cmd-2.0.12 \
attohttpc-0.26.1 \
autocfg-1.1.0 \
bitflags-1.3.2 \
bitflags-2.4.1 \
block-buffer-0.10.4 \
bstr-1.7.0 \
bumpalo-3.14.0 \
bytes-1.5.0 \
cast-0.3.0 \
cc-1.0.83 \
cfg-if-1.0.0 \
ciborium-0.2.1 \
ciborium-io-0.2.1 \
ciborium-ll-0.2.1 \
clap-4.4.7 \
clap_builder-4.4.7 \
clap_derive-4.4.7 \
clap_lex-0.6.0 \
clipboard-win-4.5.0 \
codespan-reporting-0.11.1 \
colorchoice-1.0.0 \
colored-2.0.4 \
console-0.15.7 \
cpufeatures-0.2.11 \
criterion-0.5.1 \
criterion-plot-0.5.0 \
crossbeam-deque-0.8.3 \
crossbeam-epoch-0.9.15 \
crossbeam-utils-0.8.16 \
crypto-common-0.1.6 \
difflib-0.4.0 \
digest-0.10.7 \
dirs-4.0.0 \
dirs-5.0.1 \
dirs-sys-0.3.7 \
dirs-sys-0.4.1 \
doc-comment-0.3.3 \
either-1.9.0 \
encode_unicode-0.3.6 \
endian-type-0.1.2 \
errno-0.3.5 \
error-code-2.3.1 \
fd-lock-3.0.13 \
float-cmp-0.9.0 \
fnv-1.0.7 \
form_urlencoded-1.2.0 \
generic-array-0.14.7 \
getrandom-0.2.10 \
glob-0.3.1 \
half-1.8.2 \
heck-0.4.1 \
hermit-abi-0.3.3 \
home-0.5.5 \
http-0.2.9 \
idna-0.4.0 \
insta-1.34.0 \
is-terminal-0.4.9 \
itertools-0.10.5 \
itertools-0.11.0 \
itoa-1.0.9 \
js-sys-0.3.65 \
lazy_static-1.4.0 \
libc-0.2.149 \
linked-hash-map-0.5.6 \
linux-raw-sys-0.4.10 \
log-0.4.20 \
memchr-2.6.4 \
memoffset-0.9.0 \
nibble_vec-0.1.0 \
nix-0.26.4 \
normalize-line-endings-0.3.0 \
num-bigint-0.4.4 \
num-integer-0.1.45 \
num-rational-0.4.1 \
num-traits-0.2.17 \
once_cell-1.18.0 \
oorandom-11.1.3 \
option-ext-0.2.0 \
percent-encoding-2.3.0 \
plotters-0.3.5 \
plotters-backend-0.3.5 \
plotters-svg-0.3.5 \
predicates-3.0.4 \
predicates-core-1.0.6 \
predicates-tree-1.0.9 \
pretty_dtoa-0.3.0 \
proc-macro2-1.0.69 \
quick-xml-0.31.0 \
quote-1.0.33 \
radix_trie-0.2.1 \
rayon-1.8.0 \
rayon-core-1.12.0 \
redox_syscall-0.2.16 \
redox_users-0.4.3 \
regex-1.10.2 \
regex-automata-0.4.3 \
regex-syntax-0.8.2 \
ring-0.17.5 \
rust-embed-8.0.0 \
rust-embed-impl-8.0.0 \
rust-embed-utils-8.0.0 \
rustix-0.38.21 \
rustls-0.21.8 \
rustls-webpki-0.101.7 \
rustyline-12.0.0 \
rustyline-derive-0.9.0 \
ryu-1.0.15 \
ryu_floating_decimal-0.1.0 \
same-file-1.0.6 \
scopeguard-1.2.0 \
sct-0.7.1 \
serde-1.0.190 \
serde_derive-1.0.190 \
serde_json-1.0.108 \
sha2-0.10.8 \
shellexpand-2.1.2 \
similar-2.3.0 \
smallvec-1.11.1 \
spin-0.9.8 \
str-buf-1.0.6 \
strsim-0.10.0 \
syn-2.0.38 \
termcolor-1.3.0 \
terminal_size-0.3.0 \
termtree-0.4.1 \
thiserror-1.0.50 \
thiserror-impl-1.0.50 \
tinytemplate-1.2.1 \
tinyvec-1.6.0 \
tinyvec_macros-0.1.1 \
typenum-1.17.0 \
unicode-bidi-0.3.13 \
unicode-ident-1.0.12 \
unicode-normalization-0.1.22 \
unicode-segmentation-1.10.1 \
unicode-width-0.1.11 \
untrusted-0.9.0 \
url-2.4.1 \
utf8parse-0.2.1 \
version_check-0.9.4 \
wait-timeout-0.2.0 \
walkdir-2.4.0 \
wasi-0.11.0+wasi-snapshot-preview1 \
wasm-bindgen-0.2.88 \
wasm-bindgen-backend-0.2.88 \
wasm-bindgen-macro-0.2.88 \
wasm-bindgen-macro-support-0.2.88 \
wasm-bindgen-shared-0.2.88 \
web-sys-0.3.65 \
webpki-roots-0.25.2 \
winapi-0.3.9 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-util-0.1.6 \
winapi-x86_64-pc-windows-gnu-0.4.0 \
windows-sys-0.45.0 \
windows-sys-0.48.0 \
windows-targets-0.42.2 \
windows-targets-0.48.5 \
windows_aarch64_gnullvm-0.42.2 \
windows_aarch64_gnullvm-0.48.5 \
windows_aarch64_msvc-0.42.2 \
windows_aarch64_msvc-0.48.5 \
windows_i686_gnu-0.42.2 \
windows_i686_gnu-0.48.5 \
windows_i686_msvc-0.42.2 \
windows_i686_msvc-0.48.5 \
windows_x86_64_gnu-0.42.2 \
windows_x86_64_gnu-0.48.5 \
windows_x86_64_gnullvm-0.42.2 \
windows_x86_64_gnullvm-0.48.5 \
windows_x86_64_msvc-0.42.2 \
windows_x86_64_msvc-0.48.5 \
yaml-rust-0.4.5

PLIST_FILES= bin/${PORTNAME}

do-install:
# workaround for error: found a virtual manifest at `xx` instead of a package manifest
${INSTALL_PROGRAM} \
${WRKDIR}/target/*/release/${PORTNAME} \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>

0 comments on commit 69479d4

Please sign in to comment.