BSD Ports

misc/claude-code-legacy 2.1.110_3 FreeBSD

Agentic coding tool from Anthropic that lives in your terminal

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
9c878207a1
Categories
misc

Description

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

In the other systems

SystemPortVersion
FreeBSDmisc/claude-code-legacy2.1.110_3
MidnightBSDai/claude-code-legacy2.1.112

Install

Binary package:

pkg install claude-code-legacy

From the ports tree:

cd /usr/ports/misc/claude-code-legacy/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	claude-code-legacy>0:misc/claude-code-legacy

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:latest-2.1.110_3---
FreeBSD:14:quarterly-2.1.110_2n/a--
FreeBSD:15:latest-2.1.110_3n/a--
FreeBSD:15:quarterly-2.1.110_2n/an/an/a
FreeBSD:16:latest-2.1.110_3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 1

Fetch 5

Extract 1

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

Build dependencies 43
Run dependencies 25

No port depends on this one.

Configuration

Options name: misc_claude-code

OptionDefaultDescription
AUDIO_CAPTUREonBuild native audio capture module for FreeBSD
USE_CURL_USER_AGENTonUse curl User-Agent for web fetching to bypass bot-blocking filters (e.g. Anubis)
USES
nodejs:run
Service scripts
none

Files

pkg-plist 8
  • bin/claude
  • lib/node_modules/.bin/claude
  • lib/node_modules/@anthropic-ai/claude-code/LICENSE.md
  • lib/node_modules/@anthropic-ai/claude-code/README.md
  • lib/node_modules/@anthropic-ai/claude-code/cli.js
  • lib/node_modules/@anthropic-ai/claude-code/package.json
  • lib/node_modules/@anthropic-ai/claude-code/sdk-tools.d.ts
  • lib/node_modules/@anthropic-ai/claude-code/vendor/audio-capture/-freebsd/audio-capture.node
distinfo 2
FileSizeSHA256
claude-code-2.1.110.tar.gz1.816352e+07e7e97dae077e283870c2bafeba1db8460532dddfd8ec60c84f34deae651be62f
audio-capture-bb370f75235254da2c3d34f6168fc4a9902d9090.tar.gz2.6840606e+070425f027466f9f87ec7968b24b5d27b61b77c625f3a82e4a7ba46047f874d790

Commit history 6

DateCommitCreditsLog message
9c878207a1 Mikael Urankar lang/rust: Bump revisions after 1.99.0
PR: 299016
fd9c66022f Yuri Victorovich misc/claude-code-legacy: fix fetch
7316461925 Mikael Urankar lang/rust: Bump revisions after 1.98.1
PR: 298139
5b3e325aae Daniel Engberg misc/claude-code-legacy: Mark BROKEN
SHA256 Checksum mismatch for audio-capture-bb370f75235254da2c3d34f6168fc4a9902d9090.tar.gz. expected: d6a4e0ff2666efd60efd4259c0e29d6878975cc6f41a2171ff5a12b75e6ef7c6 fetched: 0425f027466f9f87ec7968b24b5d27b61b77c625f3a82e4a7ba46047f874d790 size: 26840606 Additionally pkg-fallout reports packaging issues on multiple platforms
cb13c34eb2 Robert Clausecker misc/claude-code-legacy: fix build on armv7
This is the same issue as in 0c9905d54dedcf8763df802a01beb2ea3d4ac4a0, but for some reason cargo complains about a checksum error if I patch it. Work around the error for now by disabling the AUDIO_CAPTURE option on arm, without which this problem does not occur. Maintainer should strongly consider unbundling the rust bits so that they use the conventional rust support instead of hand-rolling a poorly conceived solution. See also: 0c9905d54dedcf8763df802a01beb2ea3d4ac4a0 MFH: 2026Q3 Approved by: portmgr (build fix blanket)

The latest 5 of 6 in the history this site was built from.