# 使用 Homebrew, MacPorts 安装 bsdmake

查看 bsdmake 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:bsdmake
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bsdmake
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install bsdmake
```

  证据: MacPorts ports tree: devel/bsdmake/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:bsdmake
- **软件包管理器:** Homebrew
- **版本:** 24
- **来源摘要:** BSD version of the Make build tool
- **主页:** <https://opensource.apple.com/>
- **仓库:** <https://github.com/apple-oss-distributions/bsdmake>
- **最后更新:** 2026-07-10T11:27:23-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- bsdmake (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 24
## 项目历史与用法

bsdmake is Apple's packaged BSD make implementation, a descendant of the Berkeley/PWB make tradition rather than GNU make. It is a compatibility package for build systems and ports that expect BSD make semantics, makefile names, variables, and system include behavior.

### 项目历史

The Apple open-source manual page carries Regents of the University of California copyright notices from 1990 and 1993 and an SCCS marker for Berkeley make. Its HISTORY section says a `make` command appeared in PWB UNIX, placing BSD make in the long Unix build-tool lineage.

The manual documents behavior that distinguishes BSD make from a generic `make`: it reads `sys.mk`, searches for `BSDmakefile`, `makefile`, and `Makefile`, supports `.OBJDIR`, `mkdep`, BSD-style include paths under `/usr/share/mk`, and exposes debugging and compatibility flags.

### 采用历史

bsdmake survives in package managers because not every makefile is written for GNU make. The provided package facts show Homebrew and MacPorts packaging, which is especially relevant on macOS where developers may need a BSD-flavored make as an explicit command.

Its adoption is mostly compatibility-driven: users install it when building older BSD-derived software, ports, or makefiles that rely on BSD make features or system makefile conventions.

### 使用方式

`bsdmake` maintains program dependencies from makefiles, with options to select makefiles, include paths, system makefile directories, variables, compatibility mode, and parallel jobs.

The command reads the first available `BSDmakefile`, `makefile`, or `Makefile`, and also reads `.depend` when available. Those defaults make it fit naturally into BSD source trees and ports-style builds.

### 为什么软件包爱好者会关心

bsdmake matters because `make` is not one portable language in practice. Packaging BSD make separately lets build recipes declare the dialect they need instead of hoping the system `make` happens to match.

For package maintainers, it is one of those old tools that prevents a surprising amount of build breakage: boring, small, and valuable precisely because it preserves historical semantics.

### 时间线

- PWB UNIX era: The manual page's HISTORY section says a make command appeared in PWB UNIX.
- 1990-1993: Berkeley copyright notices in the Apple manual page reflect the BSD lineage of this make implementation.
- 1995-06-13: The manual page includes a Berkeley SCCS marker for make.1 version 8.8.
- 2005-10-14: Apple's bsdmake manual page date records the documented command behavior shipped in this distribution.
- 2026: Provided package facts show bsdmake packaged by Homebrew and MacPorts.

### Related projects

- GNU make is the dominant alternative make dialect and the main compatibility contrast.
- NetBSD make, FreeBSD make, and OpenBSD make are close relatives in the BSD make family.
- mkdep and `/usr/share/mk` are part of the BSD build-system environment documented by the manual page.

### 来源

- <https://github.com/apple-oss-distributions/bsdmake>
- <https://raw.githubusercontent.com/apple-oss-distributions/bsdmake/main/make.1>
- source_facts.package-manager


## 安全说明

generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- generalized runtime or code generation signal

## 其他软件包管理器记录

- MacPorts - bsdmake: normalized package name match | MacPorts ports tree: devel/bsdmake/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/bsdmake.yml](https://github.com/mxcl/pkgdb/blob/main/combined/bsdmake.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
