Differences

This shows you the differences between two versions of the page.

Link to this comparison view

openbsd_ports [2013/03/11 17:31] (current)
Line 1: Line 1:
 +====== OpenBSD Ports ======
  
 +  * [[OpenBSD]]
 +
 +== Install ports tree ==
 +
 +You'll probably want this, if even to just search what is available:
 +
 +<​code>​
 +ftp ftp://​ftp.openbsd.org/​pub/​OpenBSD/​5.2/​ports.tar.gz
 +tar -zxf ports.tar.gz -C /usr
 +</​code>​
 +
 +== Display build options ==
 +
 +<​code>​
 +make show=FLAVORS
 +</​code>​
 +
 +== Build with specific options ==
 +
 +<​code>​
 +cd /​usr/​ports/​editors/​vim
 +env FLAVOR="​no_x11"​ make
 +</​code>​
 +
 +== Get a complete list of ports ==
 +
 +<​code>​
 +gfind /usr/ports/ -mindepth 2 -maxdepth 2 -type d -! -name CVS | sort | gcut -d "/"​ -f 4- > ~/ports
 +</​code>​