BSD Ports

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

SystemPortVersion
FreeBSDlang/crystal1.21.1
OpenBSDlang/crystal1.21.0
DragonFlylang/crystal1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.21.11.21.1---
FreeBSD:14:quarterly1.21.01.21.0n/a--
FreeBSD:15:latest1.21.11.21.1n/a--
FreeBSD:15:quarterly1.21.01.21.0n/an/an/a
FreeBSD:16:latest1.21.01.21.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Library 7

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 34
Run dependencies 15

Configuration

Options name: lang_crystal

OptionDefaultDescription
DEBUGoffBuild with debugging support
DOCSonBuild and/or install documentation
INTERPRETERonEnable 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
FileSizeSHA256
crystal/crystal-1.5.1-aarch64-llvm14.tar.xz2.08546e+0662617bf7a6d38d5a980672559b680818bf35803252f69bb6ecfb33377c3b2a88
crystal/crystal-lang-crystal-1.21.1_GH0.tar.gz4.229673e+06174ad41131a155d0407fb9f66fac4e4baabc5b5d7d030fef9c631a43f553e112
crystal/crystal-1.5.1-amd64-llvm14.tar.xz2.608988e+06abd7cd2a798b9184d6cbb600fde29a55e196a03974c164ceac1713be264fb7ac
Master sites 2
  • https://github.com/dmgk/crystal-bootstrap/releases/download/${_BOOTSTRAP_VERSION}/:bootstrap
  • LOCAL/dmgk/crystal:bootstrap

Commit history 3

DateCommitCreditsLog message
73f7ad6bb9 Dave Cottlehuber lang/crystal: Update to 1.21.1
ChangeLog: https://github.com/crystal-lang/crystal/blob/master/doc/changelogs/v1.21.md Sponsored by: SkunkWerks, GmbH
72b66f72aa Dave Cottlehuber lang/crystal: update to 1.21.0
- remove PORTDOCS section from pkg-plist Reported by: fluffy Sponsored by: SkunkWerks, GmbH
8ab334473a Dave Cottlehuber lang/crystal: update to 1.20.2
ChangeLog: https://crystal-lang.org/2026/04/16/1.20.0-released/ Sponsored by: SkunkWerks, GmbH