Date: Sun, 16 Mar 2014 22:07:35 +0000 (UTC) From: Warren Block <wblock@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r44250 - head/en_US.ISO8859-1/books/handbook/ports Message-ID: <201403162207.s2GM7ZwB090007@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wblock Date: Sun Mar 16 22:07:35 2014 New Revision: 44250 URL: http://svnweb.freebsd.org/changeset/doc/44250 Log: Restore lost <replaceable> tags. Modified: head/en_US.ISO8859-1/books/handbook/ports/chapter.xml Modified: head/en_US.ISO8859-1/books/handbook/ports/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/handbook/ports/chapter.xml Sun Mar 16 21:59:34 2014 (r44249) +++ head/en_US.ISO8859-1/books/handbook/ports/chapter.xml Sun Mar 16 22:07:35 2014 (r44250) @@ -249,7 +249,7 @@ <para>If the Ports Collection is already installed, there are several methods to query the local version of the ports tree. To find out which category a port is in, type - <command>whereis file</command>, + <command>whereis <replaceable>file</replaceable></command>, where <replaceable>file</replaceable> is the program to be installed:</para> @@ -311,9 +311,9 @@ Info: Lists information about open fil <para>For more in-depth searching, use <command>make search - key=string</command> or + key=<replaceable>string</replaceable></command> or <command>make quicksearch - key=string</command>, where + key=<replaceable>string</replaceable></command>, where <replaceable>string</replaceable> is some text to search for. The text can be in comments, descriptions, or dependencies in order to find ports which relate to a @@ -390,7 +390,7 @@ Info: Lists information about open fil <indexterm> <primary><command>pkg_add</command></primary> </indexterm> - <screen>&prompt.root; <userinput>pkg_add -r lsof</userinput></screen> + <screen>&prompt.root; <userinput>pkg_add -r <replaceable>lsof</replaceable></userinput></screen> <para>In this example, <literal>lsof</literal> is used without specifying a version number as the version is not included @@ -539,7 +539,7 @@ docbook = <para>To remove a previously installed software package, use &man.pkg.delete.1;:</para> - <screen>&prompt.root; <userinput>pkg_delete xchat-2.8.8_1</userinput></screen> + <screen>&prompt.root; <userinput>pkg_delete <replaceable>xchat-2.8.8_1</replaceable></userinput></screen> <para>Note that &man.pkg.delete.1; requires the full package name and number and that the above command would not work if @@ -548,7 +548,7 @@ docbook = &man.pkg.version.1; to find the version of the installed package, or use a wildcard:</para> - <screen>&prompt.root; <userinput>pkg_delete xchat\*</userinput></screen> + <screen>&prompt.root; <userinput>pkg_delete <replaceable>xchat\*</replaceable></userinput></screen> <para>in this case, all packages whose names start with <literal>xchat</literal> will be deleted.</para> @@ -688,7 +688,7 @@ pkg-1.1.4_1</screen> where <replaceable>packagename</replaceable> is the name of the package to install:</para> - <screen>&prompt.root; <userinput>pkg install packagename</userinput></screen> + <screen>&prompt.root; <userinput>pkg install <replaceable>packagename</replaceable></userinput></screen> <para>This command uses repository data to determine which version of the software to install and if it has any @@ -799,7 +799,7 @@ Deinstalling ca_root_nss-3.15.1_1... don <replaceable>pkgng.db</replaceable> with a suitable file name:</para> - <screen>&prompt.root; <userinput>pkg backup -d pkgng.db</userinput></screen> + <screen>&prompt.root; <userinput>pkg backup -d <replaceable>pkgng.db</replaceable></userinput></screen> <para>Additionally, <application>pkgng</application> includes a &man.periodic.8; script to automatically perform a daily @@ -817,7 +817,7 @@ Deinstalling ca_root_nss-3.15.1_1... don <para>To restore the contents of a previous package database backup, run:</para> - <screen>&prompt.root; <userinput>pkg backup -r /path/to/pkgng.db</userinput></screen> + <screen>&prompt.root; <userinput>pkg backup -r <replaceable>/path/to/pkgng.db</replaceable></userinput></screen> </sect2> <sect2 xml:id="pkgng-clean"> @@ -870,7 +870,7 @@ Deinstalling ca_root_nss-3.15.1_1... don the modified origin. To force a reinstallation of dependent packages, run:</para> - <screen>&prompt.root; <userinput>pkg install -Rf graphics/freeglut</userinput></screen> + <screen>&prompt.root; <userinput>pkg install -Rf <replaceable>graphics/freeglut</replaceable></userinput></screen> </note> </sect2> </sect1> @@ -1221,9 +1221,9 @@ Deinstalling ca_root_nss-3.15.1_1... don specified in the <filename>Makefile</filename>. When using, specify the alternate location:</para> - <screen>&prompt.root; <userinput>cd /usr/ports/directory</userinput> + <screen>&prompt.root; <userinput>cd /usr/ports/<replaceable>directory</replaceable></userinput> &prompt.root; <userinput>make MASTER_SITE_OVERRIDE= \ -ftp://ftp.organization.org/pub/FreeBSD/ports/distfiles/ fetch</userinput></screen> +<replaceable>ftp://ftp.organization.org/pub/FreeBSD/ports/distfiles/</replaceable> fetch</userinput></screen> <para>The <varname>WRKDIRPREFIX</varname> and <varname>PREFIX</varname> variables can override the default @@ -1428,7 +1428,7 @@ The deinstallation will free 229 kB port. To use this function, specify the location of the port in the Ports Collection:</para> - <screen>&prompt.root; <userinput>portmaster shells/bash</userinput></screen> + <screen>&prompt.root; <userinput>portmaster <replaceable>shells/bash</replaceable></userinput></screen> </sect3> <sect3 xml:id="portupgrade"> @@ -1462,7 +1462,7 @@ The deinstallation will free 229 kB <para>To upgrade only a specified application instead of all available ports, use <command>portupgrade - pkgname</command>. It is very important to include + <replaceable>pkgname</replaceable></command>. It is very important to include <option>-R</option> to first upgrade all the ports required by the given application:</para>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403162207.s2GM7ZwB090007>