BSD Ports

ai/claude-code-legacy 2.1.112 MidnightBSD

Agentic coding tool from Anthropic that lives in your terminal

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
dee1e47e52
License
anthropic
Categories
ai

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
MidnightBSDai/claude-code-legacy2.1.112
FreeBSDmisc/claude-code-legacy2.1.110_3

Install

Binary package:

mport install claude-code-legacy

From mports:

cd /usr/mports/ai/claude-code-legacy && make install clean

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

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

Dependencies

As this port's Makefile names them.

Runtime 1

Fetch 4

Extract 1

Build dependencies 5
Run dependencies 1

No port depends on this one.

Configuration

Options name: ai_claude-code

OptionDefaultDescription
AUDIO_CAPTUREoffBuild native audio capture module for BSD
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.112.tar.gz1.8200152e+079702983943c76386cd9fef7fe4aae7204f77e7a8ec031114c7252c27b2a7f061
audio-capture-bb370f75235254da2c3d34f6168fc4a9902d9090.tar.gz2.6840618e+07d6a4e0ff2666efd60efd4259c0e29d6878975cc6f41a2171ff5a12b75e6ef7c6

Commit history 1

DateCommitCreditsLog message
dee1e47e52 Lucas Holt ai: add new category and move AI/ML ports from misc
Create the ai category (Artificial intelligence and machine learning) and relocate 42 AI/ML ports from misc into it. - Register ai in Mk/bsd.mport.mk VALID_CATEGORIES and the top-level Makefile - Add ai/Makefile; drop the moved entries from misc/Makefile (also removes the stale linux-claude SUBDIR left over from the claude-code rename) - git mv 42 ports and set their primary CATEGORIES to ai - Rewrite misc/<port> dependency origins to ai/<port> in external dependents (devel/py-beartype, math/py-faiss, multimedia/py-torchcodec, textproc/py-tokenizers) and among the moved ports themselves - Record the origin migrations in MOVED Ports moved: chatgpt-shell-cli, claude-code, claude-code-legacy, clawhub, codex, gemini-cli, github-copilot-cli, grok-cli, lean-ctx, llama-cpp, ollama, …