Index: en_US.ISO8859-1/books/handbook/ports/chapter.xml
===================================================================
--- en_US.ISO8859-1/books/handbook/ports/chapter.xml
+++ en_US.ISO8859-1/books/handbook/ports/chapter.xml
@@ -708,6 +708,60 @@
&prompt.root; pkg install -Rf graphics/freeglut
+
+
+ Installing Packages from Media
+
+ Packages can be installed from media like
+ DVD disks or images. This does not
+ require network access so may be useful in offline
+ environments. It should be noted though that only a subset
+ of packages is available this way and the packages may be
+ outdated.
+
+ To use media as local package repository, first, mount it
+ into /dist (note that this path is fixed
+ and other mount points will not work):
+
+ &prompt.root; mkdir /dist
+&prompt.root; mount -t cd9660 /dev/cd0 /dist
+
+ To point pkg to local
+ repository, set REPOS_DIR environment variable
+ to /dist/packages/repos, which
+ contains needed repository configuration file.
+ pkg may be used normally as long
+ as REPOS_DIR is set.
+
+ &prompt.root; env REPOS_DIR=/dist/packages/repos pkg install perl5
+The package management tool is not yet installed on your system.
+Do you want to fetch and install it now? [y/N]: y
+Bootstrapping pkg from file:///dist/packages/freebsd:10:x86:64, please wait...
+Installing pkg-1.3.8_3: 100%
+Message for pkg-1.3.8_3:
+ If you are upgrading from the old package format, first run:
+
+ # pkg2ng
+Updating FreeBSD_install_cdrom repository catalogue...
+FreeBSD_install_cdrom repository is up-to-date.
+All repositories are up-to-date.
+Updating database digests format: 100%
+The following 1 packages will be affected (of 0 checked):
+
+New packages to be INSTALLED:
+ perl5: 5.16.3_11
+
+The process will require 47 MB more space.
+13 MB to be downloaded.
+
+Proceed with this action? [y/N]: y
+Checking integrity... done (0 conflicting)
+[1/1] Installing perl5-5.16.3_11: 100%
+
+ pkg has bootstrapped itself
+ and installed the requested package from the media without
+ using the network.
+