はじめての ports
cvsup を入れる
まず
cvsup
を package_collection
の
net
から入れる
一例:
pkg_add
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-stable/net/cvsup-without-gui-16.1h.tbz
pkg_add \
ftp://ftp.jp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.2-release/net/cvsup-without-gui-16.1h.tbz
cvsup を設定
mkdir -p /usr/sup/ports-all
chown username /usr/sup/ports-all
mkdir -p /usr/ports
chown username /usr/ports
ports
を /usr/share/examples/cvsup/ports-supfile を参考に cvsup して
/usr/share/examples/cvsup/ports-supfile:
# IMPORTANT: Change the next line to use one of the CVSup mirror sites
# listed at http://www.freebsd.org/doc/handbook/mirrors.html.
*default host=CHANGE_THIS.FreeBSD.org
cvsup を使う
cvsup /usr/share/examples/cvsup/ports-supfile
ports で make
作りたいもの (www/mozilla とか editor/emacs21 ) に移動して
make install && make clean
http://www.freebsd.org/doc/handbook/cvsup.html
http://www.freebsd.org/doc/handbook/cvsup.html#CVSUP-MIRRORS
|