lang/crystal 1.21.1 FreeBSD
Language with Ruby-like syntax and static type checking
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
73f7ad6bb9- License
- APACHE20
- Categories
- lang
- Package size
- 7556.8 KiB, 157954.2 KiB installed
Description
Crystal is a programming language with the following goals:
- Have a syntax similar to Ruby (but compatibility with it is not a goal)
- Be statically type-checked, but without having to specify the type of variables or method arguments.
- Be able to call C code by writing bindings to it in Crystal.
- Have compile-time evaluation and generation of code, to avoid boilerplate code.
- Compile to efficient native code.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | lang/crystal | 1.21.1 |
| OpenBSD | lang/crystal | 1.21.0 |
| DragonFly | lang/crystal | 1.5.1 |
Install
Binary package:
pkg install crystal
From the ports tree:
cd /usr/ports/lang/crystal/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= crystal>0:lang/crystal
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.21.1 | 1.21.1 | - | - | - |
| FreeBSD:14:quarterly | 1.21.0 | 1.21.0 | n/a | - | - |
| FreeBSD:15:latest | 1.21.1 | 1.21.1 | n/a | - | - |
| FreeBSD:15:quarterly | 1.21.0 | 1.21.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.21.0 | 1.21.1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
asciidoctor: textproc/rubygem-asciidoctorgit: devel/git
Library 7
libevent.so: devel/libeventlibffi.so: devel/libffilibgc-threaded.so: devel/boehm-gc-threadedlibgmp.so: math/gmplibpcre.so: devel/pcrelibpcre2-8.so: devel/pcre2libyaml.so: textproc/libyaml
Runtime 1
pkg-config: devel/pkgconf
The full lists below include those, and their dependencies in turn.
Build dependencies 34
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- devel/boehm-gc
- devel/boehm-gc-threaded
- devel/gettext-runtime
- devel/git
- devel/gmake
- devel/libevent
- devel/libffi
- devel/libunistring
- devel/libunwind
- devel/llvm14
- devel/llvm20
- devel/pcre
- devel/pcre2
- devel/pkgconf
- devel/readline
- devel/ruby-gems
- dns/libidn2
- dns/libpsl
- ftp/curl
- lang/perl5.42
- lang/python312
- lang/ruby34
- math/gmp
- math/mpdecimal
- print/indexinfo
- security/libssh2
- textproc/expat2
- textproc/libxml2
- textproc/libyaml
- textproc/rubygem-asciidoctor
- www/libnghttp2
Run dependencies 15
Required by 4
Configuration
Options name: lang_crystal
| Option | Default | Description |
|---|---|---|
| DEBUG | off | Build with debugging support |
| DOCS | on | Build and/or install documentation |
| INTERPRETER | on | Enable interpreter (experimental) |
- USES
- compiler gmake gnome pkgconfig
- Service scripts
- none
Files
Manual pages 13
- crystal(1)
- crystal-build(1)
- crystal-docs(1)
- crystal-env(1)
- crystal-eval(1)
- crystal-init(1)
- crystal-play(1)
- crystal-run(1)
- crystal-spec(1)
- crystal-tool-dependencies(1)
- crystal-tool-format(1)
- crystal-tool-macro_code_coverage(1)
- crystal-tool-unreachable(1)
pkg-plist 1719
- bin/crystal
- etc/bash_completion.d/_crystal.bash
- lib/crystal/SOURCE_DATE_EPOCH
- lib/crystal/VERSION
- lib/crystal/annotations.cr
- lib/crystal/array.cr
- lib/crystal/atomic.cr
- lib/crystal/base64.cr
- lib/crystal/benchmark.cr
- lib/crystal/benchmark/bm.cr
- lib/crystal/benchmark/ips.cr
- lib/crystal/big.cr
- lib/crystal/big/big_decimal.cr
- lib/crystal/big/big_float.cr
- lib/crystal/big/big_int.cr
- lib/crystal/big/big_rational.cr
- lib/crystal/big/json.cr
- lib/crystal/big/lib_gmp.cr
- lib/crystal/big/number.cr
- lib/crystal/big/yaml.cr
- lib/crystal/bit_array.cr
- lib/crystal/bool.cr
- lib/crystal/box.cr
- lib/crystal/channel.cr
- lib/crystal/channel/select.cr
- lib/crystal/channel/select/select_action.cr
- lib/crystal/channel/select/timeout_action.cr
- lib/crystal/char.cr
- lib/crystal/char/reader.cr
- lib/crystal/class.cr
- lib/crystal/colorize.cr
- lib/crystal/comparable.cr
- lib/crystal/compiler/crystal.cr
- lib/crystal/compiler/crystal/annotatable.cr
- lib/crystal/compiler/crystal/codegen/abi.cr
- lib/crystal/compiler/crystal/codegen/abi/aarch64.cr
- lib/crystal/compiler/crystal/codegen/abi/arm.cr
- lib/crystal/compiler/crystal/codegen/abi/avr.cr
- lib/crystal/compiler/crystal/codegen/abi/wasm32.cr
- lib/crystal/compiler/crystal/codegen/abi/x86.cr
- lib/crystal/compiler/crystal/codegen/abi/x86_64.cr
- lib/crystal/compiler/crystal/codegen/abi/x86_win64.cr
- lib/crystal/compiler/crystal/codegen/asm.cr
- lib/crystal/compiler/crystal/codegen/ast.cr
- lib/crystal/compiler/crystal/codegen/cache_dir.cr
- lib/crystal/compiler/crystal/codegen/call.cr
- lib/crystal/compiler/crystal/codegen/cast.cr
- lib/crystal/compiler/crystal/codegen/class_var.cr
- lib/crystal/compiler/crystal/codegen/codegen.cr
- lib/crystal/compiler/crystal/codegen/cond.cr
- lib/crystal/compiler/crystal/codegen/const.cr
- lib/crystal/compiler/crystal/codegen/context.cr
- lib/crystal/compiler/crystal/codegen/crystal_llvm_builder.cr
- lib/crystal/compiler/crystal/codegen/debug.cr
- lib/crystal/compiler/crystal/codegen/dump_type_info.cr
- lib/crystal/compiler/crystal/codegen/exception.cr
- lib/crystal/compiler/crystal/codegen/experimental.cr
- lib/crystal/compiler/crystal/codegen/fun.cr
- lib/crystal/compiler/crystal/codegen/link.cr
- lib/crystal/compiler/crystal/codegen/llvm_builder_helper.cr
- lib/crystal/compiler/crystal/codegen/llvm_id.cr
- lib/crystal/compiler/crystal/codegen/llvm_typer.cr
- lib/crystal/compiler/crystal/codegen/match.cr
- lib/crystal/compiler/crystal/codegen/once.cr
- lib/crystal/compiler/crystal/codegen/phi.cr
- lib/crystal/compiler/crystal/codegen/primitives.cr
- lib/crystal/compiler/crystal/codegen/target.cr
- lib/crystal/compiler/crystal/codegen/type_id.cr
- lib/crystal/compiler/crystal/codegen/types.cr
- lib/crystal/compiler/crystal/codegen/unions.cr
- lib/crystal/compiler/crystal/command.cr
- lib/crystal/compiler/crystal/command/clear_cache.cr
- lib/crystal/compiler/crystal/command/cursor.cr
- lib/crystal/compiler/crystal/command/docs.cr
- lib/crystal/compiler/crystal/command/env.cr
- lib/crystal/compiler/crystal/command/eval.cr
- lib/crystal/compiler/crystal/command/format.cr
- lib/crystal/compiler/crystal/command/playground.cr
- lib/crystal/compiler/crystal/command/repl.cr
- lib/crystal/compiler/crystal/command/spec.cr
- lib/crystal/compiler/crystal/compiler.cr
- lib/crystal/compiler/crystal/config.cr
- lib/crystal/compiler/crystal/crystal_path.cr
- lib/crystal/compiler/crystal/error.cr
- lib/crystal/compiler/crystal/exception.cr
- lib/crystal/compiler/crystal/ffi/call_interface.cr
- lib/crystal/compiler/crystal/ffi/closure.cr
- lib/crystal/compiler/crystal/ffi/ffi.cr
- lib/crystal/compiler/crystal/ffi/lib_ffi.cr
- lib/crystal/compiler/crystal/ffi/type.cr
- lib/crystal/compiler/crystal/formatter.cr
- lib/crystal/compiler/crystal/interpreter.cr
- lib/crystal/compiler/crystal/interpreter/c.cr
- lib/crystal/compiler/crystal/interpreter/cast.cr
- lib/crystal/compiler/crystal/interpreter/class_vars.cr
- lib/crystal/compiler/crystal/interpreter/closure.cr
- lib/crystal/compiler/crystal/interpreter/closure_context.cr
- lib/crystal/compiler/crystal/interpreter/compiled_block.cr
- lib/crystal/compiler/crystal/interpreter/compiled_def.cr
- lib/crystal/compiler/crystal/interpreter/compiled_instructions.cr
The first 100 are listed.
distinfo 3
| File | Size | SHA256 |
|---|---|---|
| crystal/crystal-1.5.1-aarch64-llvm14.tar.xz | 2.08546e+06 | 62617bf7a6d38d5a980672559b680818bf35803252f69bb6ecfb33377c3b2a88 |
| crystal/crystal-lang-crystal-1.21.1_GH0.tar.gz | 4.229673e+06 | 174ad41131a155d0407fb9f66fac4e4baabc5b5d7d030fef9c631a43f553e112 |
| crystal/crystal-1.5.1-amd64-llvm14.tar.xz | 2.608988e+06 | abd7cd2a798b9184d6cbb600fde29a55e196a03974c164ceac1713be264fb7ac |
Master sites 2
- https://github.com/dmgk/crystal-bootstrap/releases/download/${_BOOTSTRAP_VERSION}/:bootstrap
- LOCAL/dmgk/crystal:bootstrap