################################################################################ FreeBSD的生成过程 ################################################################################ 注意 - 一旦软件包存在于FreeBSD的Ports系统中那么这份文档就会变的非常简单。 手动安装ports ================================================================================ 对于下面一些步骤你需要root权限直接来修改ports目录。 webthree-umbrella 依赖于[libjson-rpc-cpp.shar](https://raw.githubusercontent.com/enriquefynn/webthree-umbrella-port/master/libjson-rpc-cpp.shar),但是它并不在ports系统中。 首先你需要下载shar文件并把它放置在你的ports目录下的sevel会话中,通常在/usr/ports/devel :: curl https://raw.githubusercontent.com/enriquefynn/webthree-umbrella-port/master/libjson-rpc-cpp.shar > /usr/ports/devel/libjson-rpc-cpp.shar 现在我们使用如下命令来执行脚本: :: cd /usr/ports/devel sh libjson-rpc-cpp.shar 这将为你创建好了libjson-rpc-cpp port,接下来你应该用同样的方法来创建webthree-umbrella port [webthree-umbrella](https://raw.githubusercontent.com/enriquefynn/webthree-umbrella-port/master/webthree-umbrella.shar) 并放在"net-p2p"目录中。 :: curl https://raw.githubusercontent.com/enriquefynn/webthree-umbrella-port/master/webthree-umbrella.shar> /usr/ports/net-p2p/webthree-umbrella.shar cd /usr/ports/net-p2p sh webthree-umbrella.shar 编译和安装 ================================================================================ 现在你可以进入 webthree-umbrella 目录来安装相应的port: :: cd /usr/ports/net-p2p/webthree-umbrella make install clean