Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 811 Bytes

usage.zh.md

File metadata and controls

18 lines (13 loc) · 811 Bytes

使用方法

/etc/make.conf 中添加以下内容(如果文件不存在,则新建该文件):

MASTER_SITE_OVERRIDE?={{endpoint}}/distfiles/${DIST_SUBDIR}/

ports.tar.gz 文件为 Ports Collection,可以下载后解压到 /usr/ports/ 目录。 也可参考 FreeBSD Handbook 中 Installing the Ports Collection 一节,使用 git 获取 ports tree:

git clone {{endpoint}}/ports.git /usr/ports

注:

  1. 部分 ports 的源代码需要从 http://distcache.freebsd.org/ports-distfiles/ 以外的 master site 下载,本镜像不包含这些文件。
  2. 本镜像仅包含 ports tree 中 HEAD branch 引用到的文件。季度分支(如 2020Q4)引用的文件有可能不包含在本镜像中。