1、安裝cvsup
如果還沒安裝過cvsup,那麼請執行以下命令安裝:
cd /usr/ports/net/cvsup
make install clean
2、然後拷貝ports的配置文件到/etc/ports-supfile
cp /usr/share/examples/cvsup/ports-supfile /etc/ports-supfile
ee /etc/ports-supfile
3、更新ports
/usr/local/bin/cvsup -g -L 2 /etc/ports-supfile
SUP_UPDATE= yes
SUP= /usr/local/bin/cvsup
SUPFLAGS= -g -L 2
PORTSUPFILE= /etc/ports-supfile
WITH_CJK= yes