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,55 @@
&prompt.root; pkg install -Rf graphics/freeglut
+
+
+ Installing Packages from Media
+
+ &os; media (such as DVD disk or image) can provide a
+ source of local packages without requiring a network
+ connection, though it may not contain latest versions and only
+ a subset of all packaes is available this way.
+
+ To use media as local package repository, first, mount it
+ into /dist:
+
+ &prompt.root; mkdir /dist
+&prompt.root; mount -t cd9660 /dev/cd0 /dist
+
+ Not to point pkg to local
+ repository, set REPOS_DIR environment variable
+ to /dist/packages/repos, which
+ contains needed repository configuration file. As long as
+ REPOS_DIR is set,
+ pkg may be used as usual. It'll
+ bootstrap from local repository if wasn't bootstrapped yet and
+ then use it to search and install packages:
+
+ &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%
+