mirror of
https://git.freebsd.org/ports.git
synced 2025-06-21 12:40:45 -04:00
510 lines
11 KiB
Makefile
510 lines
11 KiB
Makefile
PORTNAME= deno
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.18.2
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= mikael@FreeBSD.org
|
|
COMMENT= Secure JavaScript and TypeScript runtime
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
|
|
|
BROKEN_i386= cargo:warning=c/freebsd.c:31:10: error: conflicting types for 'get_cpu_speed'
|
|
|
|
BUILD_DEPENDS= binutils>0:devel/binutils \
|
|
gn:devel/gn \
|
|
libunwind>0:devel/libunwind
|
|
|
|
USES= cargo cpe gmake gnome ninja:build pkgconfig:build python:3.6+,build
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= denoland
|
|
USE_GNOME= glib20
|
|
|
|
V8_VERS= 0.38.1
|
|
|
|
CARGO_ENV+= CLANG_BASE_PATH=/usr \
|
|
GN=${PREFIX}/bin/gn \
|
|
NINJA=${NINJA_CMD} \
|
|
V8_FROM_SOURCE=1
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
BINARY_ALIAS= python=${PYTHON_CMD}
|
|
|
|
CARGO_CRATES= Inflector-0.11.4 \
|
|
abort_on_panic-2.0.0 \
|
|
adler-1.0.2 \
|
|
aead-0.4.3 \
|
|
aes-0.7.5 \
|
|
aes-gcm-0.9.4 \
|
|
aes-kw-0.1.0 \
|
|
ahash-0.7.6 \
|
|
aho-corasick-0.7.18 \
|
|
alloc-no-stdlib-2.0.3 \
|
|
alloc-stdlib-0.2.1 \
|
|
ansi_term-0.12.1 \
|
|
anyhow-1.0.52 \
|
|
arrayvec-0.5.2 \
|
|
arrayvec-0.7.2 \
|
|
ash-0.34.0+1.2.203 \
|
|
ast_node-0.7.6 \
|
|
async-compression-0.3.8 \
|
|
async-stream-0.3.2 \
|
|
async-stream-impl-0.3.2 \
|
|
async-trait-0.1.52 \
|
|
atty-0.2.14 \
|
|
auto_impl-0.5.0 \
|
|
autocfg-0.1.7 \
|
|
autocfg-1.0.1 \
|
|
base64-0.11.0 \
|
|
base64-0.13.0 \
|
|
base64ct-1.1.1 \
|
|
bencher-0.1.5 \
|
|
bit-set-0.5.2 \
|
|
bit-vec-0.6.3 \
|
|
bitflags-1.2.1 \
|
|
bitflags_serde_shim-0.2.2 \
|
|
block-0.1.6 \
|
|
block-buffer-0.9.0 \
|
|
block-modes-0.8.1 \
|
|
block-padding-0.2.1 \
|
|
brotli-3.3.2 \
|
|
brotli-decompressor-2.3.2 \
|
|
build_const-0.2.2 \
|
|
bumpalo-3.9.1 \
|
|
byteorder-1.4.3 \
|
|
bytes-1.1.0 \
|
|
cache_control-0.2.0 \
|
|
cc-1.0.72 \
|
|
cfg-if-0.1.10 \
|
|
cfg-if-1.0.0 \
|
|
cfg_aliases-0.1.1 \
|
|
chrono-0.4.19 \
|
|
cipher-0.3.0 \
|
|
clap-3.0.7 \
|
|
clap_complete-3.0.3 \
|
|
clap_complete_fig-3.0.2 \
|
|
clipboard-win-4.3.0 \
|
|
cloudabi-0.1.0 \
|
|
codespan-reporting-0.11.1 \
|
|
const-oid-0.6.2 \
|
|
convert_case-0.4.0 \
|
|
copyless-0.1.5 \
|
|
core-foundation-0.9.2 \
|
|
core-foundation-sys-0.8.3 \
|
|
core-graphics-types-0.1.1 \
|
|
cpufeatures-0.2.1 \
|
|
crc-1.8.1 \
|
|
crc32fast-1.3.0 \
|
|
crossbeam-channel-0.5.2 \
|
|
crossbeam-utils-0.8.6 \
|
|
crypto-bigint-0.2.11 \
|
|
crypto-mac-0.11.1 \
|
|
ctor-0.1.20 \
|
|
ctr-0.8.0 \
|
|
cty-0.2.2 \
|
|
d3d12-0.4.1 \
|
|
darling-0.10.2 \
|
|
darling_core-0.10.2 \
|
|
darling_macro-0.10.2 \
|
|
dashmap-4.0.2 \
|
|
data-encoding-2.3.2 \
|
|
data-url-0.1.1 \
|
|
debug_unreachable-0.1.1 \
|
|
deno_ast-0.9.0 \
|
|
deno_doc-0.26.0 \
|
|
deno_graph-0.18.0 \
|
|
deno_lint-0.22.0 \
|
|
der-0.4.5 \
|
|
derive_more-0.99.17 \
|
|
diff-0.1.12 \
|
|
digest-0.9.0 \
|
|
dissimilar-1.0.2 \
|
|
dlopen-0.1.8 \
|
|
dlopen_derive-0.1.4 \
|
|
dprint-core-0.49.0 \
|
|
dprint-plugin-json-0.14.0 \
|
|
dprint-plugin-markdown-0.12.1 \
|
|
dprint-plugin-typescript-0.62.0 \
|
|
dprint-swc-ecma-ast-view-0.48.2 \
|
|
dyn-clone-1.0.4 \
|
|
ecdsa-0.12.4 \
|
|
either-1.6.1 \
|
|
elliptic-curve-0.10.6 \
|
|
encoding_rs-0.8.29 \
|
|
endian-type-0.1.2 \
|
|
enum-as-inner-0.3.3 \
|
|
enum_kind-0.2.1 \
|
|
env_logger-0.8.4 \
|
|
errno-0.1.8 \
|
|
error-code-2.3.0 \
|
|
fallible-iterator-0.2.0 \
|
|
fallible-streaming-iterator-0.1.9 \
|
|
fancy-regex-0.7.1 \
|
|
fd-lock-3.0.2 \
|
|
ff-0.10.1 \
|
|
filetime-0.2.15 \
|
|
fixedbitset-0.2.0 \
|
|
flaky_test-0.1.0 \
|
|
flate2-1.0.22 \
|
|
fnv-1.0.7 \
|
|
foreign-types-0.3.2 \
|
|
foreign-types-shared-0.1.1 \
|
|
form_urlencoded-1.0.1 \
|
|
from_variant-0.1.3 \
|
|
fs3-0.5.0 \
|
|
fsevent-sys-4.1.0 \
|
|
fslock-0.1.8 \
|
|
futures-0.3.19 \
|
|
futures-channel-0.3.19 \
|
|
futures-core-0.3.19 \
|
|
futures-executor-0.3.19 \
|
|
futures-io-0.3.19 \
|
|
futures-macro-0.3.19 \
|
|
futures-sink-0.3.19 \
|
|
futures-task-0.3.19 \
|
|
futures-util-0.3.19 \
|
|
fwdansi-1.1.0 \
|
|
fxhash-0.2.1 \
|
|
generic-array-0.14.5 \
|
|
getrandom-0.1.16 \
|
|
getrandom-0.2.4 \
|
|
ghash-0.4.4 \
|
|
glow-0.11.2 \
|
|
gpu-alloc-0.5.2 \
|
|
gpu-alloc-types-0.2.0 \
|
|
gpu-descriptor-0.2.2 \
|
|
gpu-descriptor-types-0.1.1 \
|
|
group-0.10.0 \
|
|
h2-0.3.10 \
|
|
hashbrown-0.11.2 \
|
|
hashlink-0.7.0 \
|
|
heck-0.3.3 \
|
|
hermit-abi-0.1.19 \
|
|
hexf-parse-0.2.1 \
|
|
hmac-0.11.0 \
|
|
hostname-0.3.1 \
|
|
http-0.2.4 \
|
|
http-body-0.4.4 \
|
|
httparse-1.5.1 \
|
|
httpdate-1.0.2 \
|
|
humantime-2.1.0 \
|
|
hyper-0.14.16 \
|
|
hyper-rustls-0.23.0 \
|
|
ident_case-1.0.1 \
|
|
idna-0.2.3 \
|
|
if_chain-1.0.2 \
|
|
import_map-0.6.0 \
|
|
indexmap-1.8.0 \
|
|
inotify-0.9.6 \
|
|
inotify-sys-0.1.5 \
|
|
inplace_it-0.3.3 \
|
|
instant-0.1.12 \
|
|
ipconfig-0.2.2 \
|
|
ipnet-2.3.1 \
|
|
is-macro-0.2.0 \
|
|
itoa-0.4.8 \
|
|
itoa-1.0.1 \
|
|
jobserver-0.1.24 \
|
|
js-sys-0.3.55 \
|
|
jsonc-parser-0.17.1 \
|
|
kernel32-sys-0.2.2 \
|
|
khronos-egl-4.1.0 \
|
|
kqueue-1.0.4 \
|
|
kqueue-sys-1.0.3 \
|
|
lazy_static-1.4.0 \
|
|
lexical-5.2.2 \
|
|
lexical-core-0.7.6 \
|
|
libc-0.2.106 \
|
|
libffi-2.0.0 \
|
|
libffi-sys-1.3.0 \
|
|
libloading-0.7.2 \
|
|
libm-0.2.1 \
|
|
libsqlite3-sys-0.22.2 \
|
|
linked-hash-map-0.5.4 \
|
|
lock_api-0.4.5 \
|
|
log-0.4.14 \
|
|
lru-cache-0.1.2 \
|
|
lsp-types-0.91.1 \
|
|
lspower-1.4.0 \
|
|
lspower-macros-0.2.1 \
|
|
lzzzz-0.8.0 \
|
|
malloc_buf-0.0.6 \
|
|
match_cfg-0.1.0 \
|
|
matches-0.1.9 \
|
|
memchr-2.4.1 \
|
|
memoffset-0.6.5 \
|
|
metal-0.23.1 \
|
|
mime-0.3.16 \
|
|
miniz_oxide-0.4.4 \
|
|
mio-0.7.14 \
|
|
miow-0.3.7 \
|
|
naga-0.8.3 \
|
|
netif-0.1.1 \
|
|
new_debug_unreachable-1.0.4 \
|
|
nibble_vec-0.1.0 \
|
|
nix-0.22.1 \
|
|
notify-5.0.0-pre.12 \
|
|
ntapi-0.3.6 \
|
|
num-bigint-0.2.6 \
|
|
num-bigint-dig-0.7.0 \
|
|
num-integer-0.1.44 \
|
|
num-iter-0.1.42 \
|
|
num-traits-0.2.14 \
|
|
num_cpus-1.13.0 \
|
|
objc-0.2.7 \
|
|
objc_exception-0.1.2 \
|
|
once_cell-1.9.0 \
|
|
opaque-debug-0.3.0 \
|
|
openssl-probe-0.1.5 \
|
|
os_pipe-0.9.2 \
|
|
os_str_bytes-6.0.0 \
|
|
output_vt100-0.1.2 \
|
|
owning_ref-0.4.1 \
|
|
p256-0.9.0 \
|
|
p384-0.8.0 \
|
|
parking_lot-0.11.1 \
|
|
parking_lot_core-0.8.0 \
|
|
pem-rfc7468-0.2.4 \
|
|
percent-encoding-2.1.0 \
|
|
pest-2.1.3 \
|
|
petgraph-0.5.1 \
|
|
phf-0.8.0 \
|
|
phf_generator-0.8.0 \
|
|
phf_macros-0.8.0 \
|
|
phf_shared-0.8.0 \
|
|
pin-project-1.0.8 \
|
|
pin-project-internal-1.0.8 \
|
|
pin-project-lite-0.2.8 \
|
|
pin-utils-0.1.0 \
|
|
pkcs1-0.2.4 \
|
|
pkcs8-0.7.6 \
|
|
pkg-config-0.3.24 \
|
|
pmutil-0.5.3 \
|
|
polyval-0.5.3 \
|
|
ppv-lite86-0.2.16 \
|
|
precomputed-hash-0.1.1 \
|
|
pretty_assertions-0.7.2 \
|
|
proc-macro-error-1.0.4 \
|
|
proc-macro-error-attr-1.0.4 \
|
|
proc-macro-hack-0.5.19 \
|
|
proc-macro2-0.4.30 \
|
|
proc-macro2-1.0.36 \
|
|
profiling-1.0.5 \
|
|
pty-0.2.2 \
|
|
pulldown-cmark-0.9.1 \
|
|
quick-error-1.2.3 \
|
|
quote-0.6.13 \
|
|
quote-1.0.14 \
|
|
radix_fmt-1.0.0 \
|
|
radix_trie-0.2.1 \
|
|
rand-0.7.3 \
|
|
rand-0.8.4 \
|
|
rand_chacha-0.2.2 \
|
|
rand_chacha-0.3.1 \
|
|
rand_core-0.5.1 \
|
|
rand_core-0.6.3 \
|
|
rand_hc-0.2.0 \
|
|
rand_hc-0.3.1 \
|
|
rand_pcg-0.2.1 \
|
|
range-alloc-0.1.2 \
|
|
raw-window-handle-0.4.2 \
|
|
redox_syscall-0.1.57 \
|
|
redox_syscall-0.2.10 \
|
|
regex-1.5.4 \
|
|
regex-syntax-0.6.25 \
|
|
relative-path-1.6.0 \
|
|
remove_dir_all-0.5.3 \
|
|
renderdoc-sys-0.7.1 \
|
|
reqwest-0.11.9 \
|
|
resolv-conf-0.7.0 \
|
|
retain_mut-0.1.5 \
|
|
ring-0.16.20 \
|
|
ron-0.7.0 \
|
|
rsa-0.5.0 \
|
|
rusqlite-0.25.4 \
|
|
rustc-hash-1.1.0 \
|
|
rustc_version-0.2.3 \
|
|
rustc_version-0.4.0 \
|
|
rustls-0.20.2 \
|
|
rustls-native-certs-0.6.1 \
|
|
rustls-pemfile-0.2.1 \
|
|
rustyline-9.0.0 \
|
|
rustyline-derive-0.5.0 \
|
|
ryu-1.0.9 \
|
|
same-file-1.0.6 \
|
|
schannel-0.1.19 \
|
|
scoped-tls-1.0.0 \
|
|
scopeguard-1.1.0 \
|
|
sct-0.7.0 \
|
|
security-framework-2.3.1 \
|
|
security-framework-sys-2.4.2 \
|
|
semver-0.9.0 \
|
|
semver-1.0.4 \
|
|
semver-parser-0.7.0 \
|
|
semver-parser-0.10.2 \
|
|
serde-1.0.133 \
|
|
serde_bytes-0.11.5 \
|
|
serde_derive-1.0.133 \
|
|
serde_json-1.0.74 \
|
|
serde_repr-0.1.7 \
|
|
serde_urlencoded-0.7.0 \
|
|
sha-1-0.9.8 \
|
|
sha2-0.9.9 \
|
|
shell-escape-0.1.5 \
|
|
signal-hook-registry-1.4.0 \
|
|
signature-1.3.2 \
|
|
siphasher-0.3.7 \
|
|
slab-0.4.5 \
|
|
slotmap-1.0.6 \
|
|
smallvec-1.8.0 \
|
|
socket2-0.3.19 \
|
|
socket2-0.4.2 \
|
|
sourcemap-6.0.1 \
|
|
spin-0.5.2 \
|
|
spirv-0.2.0+1.5.4 \
|
|
spki-0.4.1 \
|
|
stable_deref_trait-1.2.0 \
|
|
static_assertions-1.1.0 \
|
|
str-buf-1.0.5 \
|
|
string_cache-0.8.2 \
|
|
string_cache_codegen-0.5.1 \
|
|
string_enum-0.3.1 \
|
|
strsim-0.9.3 \
|
|
strsim-0.10.0 \
|
|
subtle-2.4.1 \
|
|
swc_atoms-0.2.9 \
|
|
swc_bundler-0.101.0 \
|
|
swc_common-0.17.0 \
|
|
swc_ecma_ast-0.65.1 \
|
|
swc_ecma_codegen-0.89.0 \
|
|
swc_ecma_codegen_macros-0.6.0 \
|
|
swc_ecma_dep_graph-0.58.0 \
|
|
swc_ecma_loader-0.27.0 \
|
|
swc_ecma_parser-0.87.0 \
|
|
swc_ecma_transforms-0.111.1 \
|
|
swc_ecma_transforms_base-0.56.0 \
|
|
swc_ecma_transforms_classes-0.43.0 \
|
|
swc_ecma_transforms_macros-0.3.0 \
|
|
swc_ecma_transforms_optimization-0.81.0 \
|
|
swc_ecma_transforms_proposal-0.73.0 \
|
|
swc_ecma_transforms_react-0.75.0 \
|
|
swc_ecma_transforms_typescript-0.77.1 \
|
|
swc_ecma_utils-0.63.0 \
|
|
swc_ecma_visit-0.51.0 \
|
|
swc_ecmascript-0.108.2 \
|
|
swc_eq_ignore_macros-0.1.0 \
|
|
swc_fast_graph-0.4.0 \
|
|
swc_graph_analyzer-0.4.0 \
|
|
swc_macros_common-0.3.2 \
|
|
swc_visit-0.3.0 \
|
|
swc_visit_macros-0.3.0 \
|
|
syn-0.15.44 \
|
|
syn-1.0.85 \
|
|
synstructure-0.12.6 \
|
|
sys-info-0.9.1 \
|
|
tempfile-3.2.0 \
|
|
termcolor-1.1.2 \
|
|
text-size-1.1.0 \
|
|
text_lines-0.4.1 \
|
|
textwrap-0.14.2 \
|
|
thiserror-1.0.30 \
|
|
thiserror-impl-1.0.30 \
|
|
time-0.1.44 \
|
|
tinyvec-1.5.1 \
|
|
tinyvec_macros-0.1.0 \
|
|
tokio-1.14.0 \
|
|
tokio-macros-1.7.0 \
|
|
tokio-rustls-0.23.2 \
|
|
tokio-stream-0.1.8 \
|
|
tokio-tungstenite-0.16.1 \
|
|
tokio-util-0.6.9 \
|
|
toml-0.5.8 \
|
|
tower-service-0.3.1 \
|
|
tracing-0.1.29 \
|
|
tracing-attributes-0.1.18 \
|
|
tracing-core-0.1.21 \
|
|
trust-dns-client-0.20.3 \
|
|
trust-dns-proto-0.20.3 \
|
|
trust-dns-resolver-0.20.3 \
|
|
trust-dns-server-0.20.3 \
|
|
try-lock-0.2.3 \
|
|
tungstenite-0.16.0 \
|
|
twoway-0.2.2 \
|
|
typed-arena-2.0.1 \
|
|
typenum-1.15.0 \
|
|
ucd-trie-0.1.3 \
|
|
unchecked-index-0.2.2 \
|
|
unic-char-property-0.9.0 \
|
|
unic-char-range-0.9.0 \
|
|
unic-common-0.9.0 \
|
|
unic-ucd-ident-0.9.0 \
|
|
unic-ucd-version-0.9.0 \
|
|
unicase-2.6.0 \
|
|
unicode-bidi-0.3.7 \
|
|
unicode-normalization-0.1.19 \
|
|
unicode-segmentation-1.8.0 \
|
|
unicode-width-0.1.9 \
|
|
unicode-xid-0.1.0 \
|
|
unicode-xid-0.2.2 \
|
|
universal-hash-0.4.1 \
|
|
unreachable-0.1.1 \
|
|
untrusted-0.7.1 \
|
|
url-2.2.2 \
|
|
urlpattern-0.1.5 \
|
|
utf-8-0.7.6 \
|
|
utf8parse-0.2.0 \
|
|
uuid-0.8.2 \
|
|
v8-0.38.1 \
|
|
vcpkg-0.2.15 \
|
|
version_check-0.9.4 \
|
|
void-1.0.2 \
|
|
walkdir-2.3.2 \
|
|
want-0.3.0 \
|
|
wasi-0.9.0+wasi-snapshot-preview1 \
|
|
wasi-0.10.0+wasi-snapshot-preview1 \
|
|
wasm-bindgen-0.2.78 \
|
|
wasm-bindgen-backend-0.2.78 \
|
|
wasm-bindgen-futures-0.4.28 \
|
|
wasm-bindgen-macro-0.2.78 \
|
|
wasm-bindgen-macro-support-0.2.78 \
|
|
wasm-bindgen-shared-0.2.78 \
|
|
web-sys-0.3.55 \
|
|
webpki-0.22.0 \
|
|
webpki-roots-0.22.2 \
|
|
wgpu-core-0.12.2 \
|
|
wgpu-hal-0.12.3 \
|
|
wgpu-types-0.12.0 \
|
|
which-4.2.2 \
|
|
widestring-0.4.3 \
|
|
winapi-0.2.8 \
|
|
winapi-0.3.9 \
|
|
winapi-build-0.1.1 \
|
|
winapi-i686-pc-windows-gnu-0.4.0 \
|
|
winapi-util-0.1.5 \
|
|
winapi-x86_64-pc-windows-gnu-0.4.0 \
|
|
windows-sys-0.28.0 \
|
|
windows_aarch64_msvc-0.28.0 \
|
|
windows_i686_gnu-0.28.0 \
|
|
windows_i686_msvc-0.28.0 \
|
|
windows_x86_64_gnu-0.28.0 \
|
|
windows_x86_64_msvc-0.28.0 \
|
|
winreg-0.6.2 \
|
|
winreg-0.7.0 \
|
|
winres-0.1.11 \
|
|
zeroize-1.4.3 \
|
|
zeroize_derive-1.2.2 \
|
|
zstd-0.9.2+zstd.1.5.1 \
|
|
zstd-safe-4.1.3+zstd.1.5.1 \
|
|
zstd-sys-1.6.2+zstd.1.5.1
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} "s|%%LOCALBASE%%|${LOCALBASE}|" \
|
|
${WRKSRC}/cargo-crates/v8-${V8_VERS}/build/toolchain/gcc_toolchain.gni \
|
|
${WRKSRC}/cargo-crates/v8-${V8_VERS}/buildtools/third_party/libc++/BUILD.gn
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${CARGO_TARGET_DIR}/${CARGO_BUILD_TARGET}/*/deno ${STAGEDIR}${LOCALBASE}/bin
|
|
|
|
.include <bsd.port.mk>
|