setenv PKGDIR /xtra/SYSTEM/PKGDIR
pkg_add -rK cvsup-without-gui
cp /usr/share/examples/cvsup/cvs-supfile ./
ee cvs-supfile
Change *default host=►CHANGE_THIS◄.FreeBSD.org to ►cvsup◄ and *default prefix=►/home/ncvs◄ to ►/usr/port◄ then save.
mkdir /xtra/SYSTEM/PORTS
ln -s /xtra/SYSTEM/PORTS/ /usr/ports
cvsup -g -L 2 cvs-supfile
What? u got failed?? try use csup instead of cvsup
csup -g -L 2 cvs-supfile
Or u can use portsnap
portsnap fetch && portsnap extract
php5.3
cd /usr/ports/lang/php53
make config-recursive
and tick for apache module.
make install clean
How to upgrade php53 to php54?
cd /usr/ports/lang/php5
make deinstall
make reinstall