The ports collection is easy to use from CDROM, and all you need to
do is to create a "link tree" to it using the lndir(1)
command that
comes with the XFree86 distribution. Find a location with
some free space and create a directory there, and make a symbolic link
from /usr/ports
to that directory. Then invoke the lndir(1)
command with
the full pathname of the ``ports'' directory on the CDROM as an
argument (this might be, for example, something like: lndir
/cdrom/ports
). Then you can build ports directly off the CDROM by
building them in the link tree you've created.
Note that there are some ports for which we can't provide the original source in the CDROM due to licensing limitations. In that case, you'll need to look at the next section ( Compiling ports using an Internet connection ).