Ticket #47305: various-docbook-fixes.diff
File various-docbook-fixes.diff, 36.3 KB (added by grimreaper (Eitan Adler), 10 years ago) |
---|
-
installing.xml
30 30 <para>Follow the instructions for your version of OS X:</para> 31 31 32 32 <section id="installing.xcode.mavericks"> 33 <title>Install Xcode on OS X 10.9 or later</title>33 <title>Install Xcode on OS X 10.9 or Later</title> 34 34 35 35 <para>Download the latest version of Xcode <ulink 36 36 url="https://developer.apple.com/downloads/index.action">from the Apple developer website</ulink> or … … 54 54 Store</ulink>.</para> 55 55 56 56 <section id="installing.xcode.lion.43"> 57 <title>Xcode 4.3 and later</title>57 <title>Xcode 4.3 and Later</title> 58 58 59 59 <para>Xcode 4.3 and later do not automatically install the command line tools, but MacPorts requires 60 60 them. To install them, open the Xcode application, go to the Preferences window, to the Downloads … … 74 74 75 75 <para>If you are using Mac OS X 10.6, there are two branches of Xcode which could be considered to be the 76 76 latest, 3.2.x and 4.x. Xcode 4 costs money, but Xcode 3 is still available free of charge. There are two 77 options for downloading it: 77 options for downloading it:</para> 78 78 79 79 <orderedlist> 80 80 <listitem> … … 88 88 </listitem> 89 89 </orderedlist> 90 90 91 Both are available from the <ulink url="https://developer.apple.com/downloads/index.action">Apple91 <para>Both are available from the <ulink url="https://developer.apple.com/downloads/index.action">Apple 92 92 developer website</ulink>. You may also be able to install Xcode 3.2 from your Mac OS X 10.6 DVD and 93 93 then run Software Update to get the latest version.</para> 94 94 95 95 <para>Ensure that those of the following options that are available in the installer for your version of 96 Xcode are selected: 96 Xcode are selected:</para> 97 97 98 98 <itemizedlist> 99 99 <listitem> 100 < guibutton>UNIX Development</guibutton>100 <para><guibutton>UNIX Development</guibutton></para> 101 101 </listitem> 102 102 <listitem> 103 < guibutton>System Tools</guibutton>103 <para><guibutton>System Tools</guibutton></para> 104 104 </listitem> 105 105 <listitem> 106 < guibutton>X11 SDK</guibutton>106 <para><guibutton>X11 SDK</guibutton></para> 107 107 </listitem> 108 108 <listitem> 109 < guibutton>Command Line Support</guibutton>109 <para><guibutton>Command Line Support</guibutton></para> 110 110 </listitem> 111 111 </itemizedlist> 112 </para>113 112 </section> 114 113 115 114 <section id="installing.xcode.other"> 116 <title>Install Xcode on older releases of Mac OS X</title>115 <title>Install Xcode on Older Releases of Mac OS X</title> 117 116 118 117 <para>If you have an earlier release of Mac OS X, you may download the latest version of Xcode for OS X 10.5 119 118 (Xcode 3.0 and Xcode 3.1 Developer Tools) or 10.4 (Xcode 2.4.1 and Xcode 2.5 Developer Tools) from the … … 120 119 <ulink url="https://developer.apple.com/downloads/index.action">Apple developer website</ulink>.</para> 121 120 122 121 <para>Ensure that those of the following options that are available in the installer for your version of 123 Xcode are selected: 122 Xcode are selected:</para> 124 123 125 124 <itemizedlist> 126 125 <listitem> 127 < guibutton>UNIX Development</guibutton>126 <para><guibutton>UNIX Development</guibutton></para> 128 127 </listitem> 129 128 <listitem> 130 < guibutton>System Tools</guibutton>129 <para><guibutton>System Tools</guibutton></para> 131 130 </listitem> 132 131 <listitem> 133 < guibutton>X11 SDK</guibutton>132 <para><guibutton>X11 SDK</guibutton></para> 134 133 </listitem> 135 134 <listitem> 136 < guibutton>Command Line Support</guibutton>135 <para><guibutton>Command Line Support</guibutton></para> 137 136 </listitem> 138 137 </itemizedlist> 139 </para>140 138 </section> 141 139 </section> 142 140 … … 167 165 <orderedlist> 168 166 <listitem> 169 167 <para>Download the latest 170 <filename>MacPorts-&macports-version;-< emphasis>...</emphasis>.pkg</filename> installer from the168 <filename>MacPorts-&macports-version;-<replaceable>....</replaceable>pkg</filename> installer from the 171 169 <ulink url="https://distfiles.macports.org/MacPorts/">MacPorts download directory</ulink>. Here 172 170 are direct links for the latest versions of OS X:</para> 173 171 … … 177 175 OS X 10.10 Yosemite: 178 176 </term> 179 177 <listitem> 180 < ulink url="https://distfiles.macports.org/MacPorts/MacPorts-&macports-version;-10.10-Yosemite.pkg">MacPorts-&macports-version;-10.10-Yosemite.pkg</ulink>178 <para><ulink url="https://distfiles.macports.org/MacPorts/MacPorts-&macports-version;-10.10-Yosemite.pkg">MacPorts-&macports-version;-10.10-Yosemite.pkg</ulink></para> 181 179 </listitem> 182 180 </varlistentry> 183 181 <varlistentry> … … 185 183 OS X 10.9 Mavericks: 186 184 </term> 187 185 <listitem> 188 < ulink url="https://distfiles.macports.org/MacPorts/MacPorts-&macports-version;-10.9-Mavericks.pkg">MacPorts-&macports-version;-10.9-Mavericks.pkg</ulink>186 <para><ulink url="https://distfiles.macports.org/MacPorts/MacPorts-&macports-version;-10.9-Mavericks.pkg">MacPorts-&macports-version;-10.9-Mavericks.pkg</ulink></para> 189 187 </listitem> 190 188 </varlistentry> 191 189 </variablelist> … … 199 197 <listitem> 200 198 <para>After this step you are done already, MacPorts is now installed and your shell environment was 201 199 set up automatically by the installer. To confirm the installation is working as expected, now 202 try using the <command>port</command> commandin a <emphasis>new</emphasis> terminal200 try using <command>port</command> in a <emphasis>new</emphasis> terminal 203 201 window.</para> 204 202 205 203 <programlisting><prompt>$</prompt> <userinput>port version</userinput></programlisting> … … 284 282 <para>Build and Install MacPorts</para> 285 283 286 284 <para>MacPorts uses autoconf and makefiles for installation. These commands will build and install 287 MacPorts to <filename>/opt/local</filename>. You can add the <option>--prefix</option> optionto285 MacPorts to <filename>/opt/local</filename>. You can add <option>--prefix</option> to 288 286 <filename>./configure</filename> to relocate MacPorts to another directory if needed.</para> 289 287 290 288 <programlisting><prompt>$</prompt> <userinput>cd /opt/mports/trunk/base</userinput> … … 365 363 url="http://lists.macosforge.org/mailman/listinfo/macports-users">macports-users</ulink> mailing list 366 364 first.</para> 367 365 368 <para>If you need to uninstall MacPorts, and your <command>port</command> commandis functioning, first366 <para>If you need to uninstall MacPorts, and <command>port</command> is functioning, first 369 367 uninstall all the installed ports by running this command in the Terminal:</para> 370 368 371 369 <programlisting><prompt>$</prompt> <userinput>sudo port -fp uninstall installed</userinput></programlisting> … … 477 475 </section> 478 476 479 477 <section id="installing.shell.verifyprofile"> 480 <title>Verify the configuration file</title>478 <title>Verify the Configuration File</title> 481 479 482 480 <para>To verify that the file containing the MacPorts variables is in effect, type <command>env</command> in 483 481 the terminal to verify the current environment settings after the file has been created. Example output 484 for the <command>env</command> commandis shown below.</para>482 for <command>env</command> is shown below.</para> 485 483 486 484 <note> 487 485 <para>Changes to shell configuration files do not take effect until a new terminal session is -
internals.xml
209 209 210 210 <listitem> 211 211 <para><code>mportexec:</code> Given a port handle, executes a 212 target (i.e. install).</para>212 target (i.e., install).</para> 213 213 </listitem> 214 214 215 215 <listitem> 216 216 <para><code>mportinfo:</code> Given a port handle, this returns 217 217 the PortInfo array (as a flat list of array elements). This is a 218 little tricky and unstable and only used by the219 <command>portindex</command> command.</para>218 little tricky and unstable and only used by 219 <command>portindex</command>.</para> 220 220 </listitem> 221 221 222 222 <listitem> … … 321 321 stored in a single file named <filename>registry.db</filename>, although 322 322 the additional directory <filename>portfiles</filename> is used 323 323 temporarily for extracting stored Portfiles from the registry. 324 Furthermore, access to the registry may be locked using the325 <filename>.registry.lock</filename> filewith the324 Furthermore, access to the registry may be locked using 325 <filename>.registry.lock</filename> with the 326 326 <computeroutput>registry::exclusive_lock</computeroutput> and 327 327 <computeroutput>registry::exclusive_unlock</computeroutput> APIs.</para> 328 328 -
portfile-keywords.xml
37 37 <para>The name of the port. To avoid special interpretation by shells 38 38 and the like, names should contain only alphanumeric characters, 39 39 underscores, dashes or dots. For projects whose proper names contain 40 <quote>+</quote> characters, change these to <quote>x</quote> (i.e. 40 <quote>+</quote> characters, change these to <quote>x</quote> (i.e., 41 41 <quote>libstdc++</quote> becomes <quote>libstdcxx</quote>).</para> 42 42 43 43 <programlisting>name foo</programlisting> … … 122 122 </listitem> 123 123 124 124 <listitem> 125 <para>For addresses in other domains, e.g. 125 <para>For addresses in other domains, e.g., 126 126 <email>account@example.org</email>, use the convention 127 127 example.org:account to specify the address.</para> 128 128 </listitem> -
portfile-phase.xml
svn.revision 2100</programlisting> 1035 1035 distribution files, filenames must be included to associate files 1036 1036 with their checksums.</para> 1037 1037 1038 <para>At least two checksum types ( e.g.,rmd160 and sha256) should be used to1038 <para>At least two checksum types (typically rmd160 and sha256) should be used to 1039 1039 ensure the integrity of the distfiles.</para> 1040 1040 1041 1041 <itemizedlist> -
portfile-startupitem.xml
235 235 <title>Script StartupItems</title> 236 236 237 237 <para>StartupItems of type <quote>script</quote> create a wrapper during 238 port installation for <command>daemondo</command> that thatwill be used238 port installation for <command>daemondo</command> that will be used 239 239 to launch a daemon startup script present in an application's source 240 240 distribution (MacPorts does not create daemon startup scripts) for daemons 241 241 that require a script.</para> -
portfile-variables.xml
133 133 <term>os.platform</term> 134 134 135 135 <listitem> 136 <para>The underlying operating system platform (i.e. 136 <para>The underlying operating system platform (i.e., 137 137 <quote>darwin</quote> on OS X, <quote>freebsd</quote>, 138 138 etc.).</para> 139 139 </listitem> … … 152 152 <term>os.version</term> 153 153 154 154 <listitem> 155 <para>The version number of the host operating system (i.e. 156 <quote>12.3.0</quote> for Darwin 12.3.0 a .k.a.OS X 10.8.3).</para>155 <para>The version number of the host operating system (i.e., 156 <quote>12.3.0</quote> for Darwin 12.3.0 aka OS X 10.8.3).</para> 157 157 </listitem> 158 158 </varlistentry> 159 159 … … 170 170 <term>os.major</term> 171 171 172 172 <listitem> 173 <para>The major version number of the host operating system (i.e. 173 <para>The major version number of the host operating system (i.e., 174 174 <quote>12</quote> for Darwin 12.x).</para> 175 175 </listitem> 176 176 </varlistentry> -
portfile-variants.xml
platform darwin 8 powerpc { 201 201 202 202 <note> 203 203 <para>Though a combination of OS version and hardware platform may be 204 specified in a single platform statement (i.e. darwin 8 i386), it is not204 specified in a single platform statement (i.e., darwin 8 i386), it is not 205 205 possible to specify a range of platforms with a single statement. For 206 206 example, to select Darwin versions 9 and 10 while excluding all others, 207 207 you would need two statements: <code>platform darwin 9</code> and -
portfiledev.xml
variant sqlite description {Build sqlite support} 651 651 <programlisting><prompt>%%</prompt> <userinput>cd ~/Downloads/foo-1.34</userinput> 652 652 <prompt>%%</prompt> <userinput>diff -u src/Makefile.in.orig src/Makefile.in > patch-src-Makefile.in.diff</userinput></programlisting> 653 653 654 <para>You should execute the <command>diff</command> commandfrom654 <para>You should execute <command>diff</command> from 655 655 the top-level directory of the unpacked source code, because during 656 656 the patch phase MacPorts by default uses the patch argument 657 657 <option>-p0</option>, which does not strip prefixes with any leading … … variant sqlite description {Build sqlite support} 675 675 <para>A patch file that is a <quote>unified</quote> diff file is the 676 676 easiest to interpret by humans and this type should always be used 677 677 for ports. See the example below where a patch adds 678 <varname>DESTDIR</varname> support to a 679 <filename>Makefile.in</filename> file.</para> 678 <varname>DESTDIR</varname> support to <filename>Makefile.in</filename> .</para> 680 679 681 680 <programlisting>--- src/Makefile.in.orig 2007-06-01 16:30:47.000000000 -0700 682 681 +++ src/Makefile.in 2007-06-20 10:10:59.000000000 -0700 … … variant sqlite description {Build sqlite support} 745 744 746 745 <orderedlist> 747 746 <listitem> 748 <para>Open the <filename>sources.conf</filename> filein a text747 <para>Open <filename>sources.conf</filename> in a text 749 748 editor. For example, to open it into TextEdit:</para> 750 749 751 750 <programlisting><prompt>%%</prompt> <userinput>open -e ${prefix}/etc/macports/sources.conf</userinput></programlisting> … … rsync://rsync.macports.org/release/ports [default] 762 761 <note> 763 762 <para>The file URL should always appear before the rsync URL so that 764 763 local Portfiles can be tested that are duplicated in the MacPorts 765 tree, because the <command>port</command> commandwill always764 tree, because <command>port</command> will always 766 765 operate on the first Portfile it encounters.</para> 767 766 </note> 768 767 </listitem> … … rsync://rsync.macports.org/release/ports [default] 794 793 </listitem> 795 794 796 795 <listitem> 797 <para>After you create or update your Portfile, use the MacPorts798 <command>portindex</command> commandin the local repository's796 <para>After you create or update your Portfile, use 797 <command>portindex</command> in the local repository's 799 798 directory to create or update the index of the ports in your local 800 799 repository.</para> 801 800 … … revision 2</programlisting> 1177 1176 the possibility to build ones port(s) on specific builders.</para> 1178 1177 1179 1178 <para>Thus the buildbot helps to keep MacPorts consistent on various 1180 OSX versions, i.e. a maintainer does not need access to these versions anymore in1179 OSX versions, i.e., a maintainer does not need access to these versions anymore in 1181 1180 order to assure that the port(s) maintained build without problems. Currently only 1182 1181 the default port variants will be build and kept.</para> 1183 1182 -
portgroup-python.xml
57 57 <term>python.default_version</term> 58 58 59 59 <listitem> 60 <para>For modules (i.e. name starts with <quote>py-</quote>), this sets the60 <para>For modules (i.e., name starts with <quote>py-</quote>), this sets the 61 61 subport that will be installed if the user asks to install <quote>py-foo</quote> 62 rather than e.g. <quote>py26-foo</quote> or <quote>py27-foo</quote>. If not explicitly set, a62 rather than e.g., <quote>py26-foo</quote> or <quote>py27-foo</quote>. If not explicitly set, a 63 63 reasonable default is chosen from the list in <code>python.versions</code>.</para> 64 <para>For apps (i.e. name does not start with <quote>py-</quote>), this chooses64 <para>For apps (i.e., name does not start with <quote>py-</quote>), this chooses 65 65 which version of python to use, and must be set. It can be changed 66 66 in variants if desired.</para> 67 67 … … 102 102 <term>python.link_binaries_suffix</term> 103 103 104 104 <listitem> 105 <para>Suffix to add the thenames of the links created in105 <para>Suffix to add the names of the links created in 106 106 <filename>${prefix}/bin</filename> when <varname>${python.link_binaries}</varname> 107 107 is enabled. Can be cleared if no suffix is desired.</para> 108 108 … … 187 187 <term>python.lib</term> 188 188 189 189 <listitem> 190 <para>The Python dynamic library path, i.e. 190 <para>The Python dynamic library path, i.e., 191 191 <filename>${python.prefix}/Python</filename> (framework builds) or 192 192 <filename>${prefix}/lib/libpython2.4.dylib</filename> (python24).</para> 193 193 </listitem> … … 197 197 <term>python.libdir</term> 198 198 199 199 <listitem> 200 <para>The path to python's lib directory, i.e. 200 <para>The path to python's lib directory, i.e., 201 201 <filename>${python.prefix}/lib/python${python.branch}</filename>.</para> 202 202 </listitem> 203 203 </varlistentry> -
portgroups.xml
3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> 4 4 <section id="reference.portgroup.intro"> 5 5 6 <title>PortGroup introduction</title>6 <title>PortGroup Introduction</title> 7 7 8 8 <para>PortGroups are simply include files for portfiles. They can define as much or as little as 9 9 a portgroup author feels is necessary to provide a set of definitions or behaviors common to a -
project.xml
5 5 <title>MacPorts Project</title> 6 6 7 7 <section id="project.tickets"> 8 <title>Using Trac for tickets</title>8 <title>Using Trac for Tickets</title> 9 9 10 10 <para>The MacPorts Project uses a system called <ulink 11 11 url="http://trac.edgewall.org/">Trac</ulink> to file tickets to report bugs … … 17 17 account to create tickets.</para> 18 18 19 19 <section id="project.tickets.prerequisites"> 20 <title>Before you file a new ticket</title>20 <title>Before Filing a New Ticket</title> 21 21 22 22 <itemizedlist> 23 23 <listitem> … … 31 31 <quote>Skipping completed</quote> in the log for each 32 32 previously-completed phase that was skipped. Before filing a 33 33 ticket, <userinput>sudo port clean</userinput> the port that 34 failed, then try again. 35 </para> 34 failed, then try again.</para> 36 35 </listitem> 37 36 <listitem> 38 37 <para>Check the problem hotlist</para> … … 48 47 <para>Search to see if a Trac ticket has already been filed</para> 49 48 <para> 50 49 Avoid filing duplicate bugs. Search for duplicates by: 50 </para> 51 51 <itemizedlist> 52 52 <listitem><para>using the search bar that appears on each page</para></listitem> 53 53 <listitem><para>using <ulink url="https://trac.macports.org/search?portsummarysearch=on">the search page</ulink></para></listitem> … … 54 54 <listitem><para>browsing the list of <ulink url="https://trac.macports.org/report">categorized reports</ulink></para></listitem> 55 55 <listitem><para>making an advanced search by constructing a <ulink url="https://trac.macports.org/query">custom query</ulink></para></listitem> 56 56 </itemizedlist> 57 </para>58 57 </listitem> 59 58 <listitem> 60 59 <para>Is the problem an application error and not related to compiling and installing?</para> … … 280 279 reporter and assignee who would like to be kept involved in the 281 280 development of the ticket. Multiple email addresses should be 282 281 separated with a comma and a space 283 (i.e. <literal>you@example.org, maintainer@macports.org</literal>).</para>284 282 (i.e., <literal>you@example.org, maintainer@macports.org</literal>).</para> 283 285 284 <para>When reporting port-related tickets, make sure you add the 286 285 port maintainers email address to the <guilabel>Cc:</guilabel> field 287 286 so they are notified of the ticket (unless you have commit access, … … 290 289 <literal>port info --maintainers <replaceable>[port]</replaceable> 291 290 </literal></para> 292 291 </listitem> 293 292 294 293 <listitem> 295 294 <para><guilabel>Assign To:</guilabel> Only users with commit access 296 295 can edit this field. If this is not you, see the section on the 297 296 <guimenu>Cc</guimenu> field above.</para> 298 297 299 298 <para>For tickets on ports, enter 300 299 the email address of the port's maintainer (use <command>port info 301 300 <portname></command> to find this). If multiple maintainers … … To use the current port, you must be in a port's d 757 756 758 757 <para>A port may be considered abandoned if any of the following apply:</para> 759 758 <itemizedlist> 760 <listitem> A bug has not been acknowledged for more than three weeks761 after a ticket is filed.</ listitem>762 <listitem> All tickets filed against the port have been resolved759 <listitem><para>A bug has not been acknowledged for more than three weeks 760 after a ticket is filed.</para></listitem> 761 <listitem><para>All tickets filed against the port have been resolved 763 762 with no input from the maintainer, after the 72-hour timeout, 764 763 for a significant period of time (at least three weeks). This 765 764 needs to involve a reasonable number of tickets; one timeout 766 doesn't make a port abandoned.</ listitem>767 <listitem> The listed maintainer address bounces, and no alternate way768 of contacting the maintainer is known.</ listitem>765 doesn't make a port abandoned.</para></listitem> 766 <listitem><para>The listed maintainer address bounces, and no alternate way 767 of contacting the maintainer is known.</para></listitem> 769 768 </itemizedlist> 770 769 <para>If you wish to initiate the Port Abandonment 771 770 protocol and optionally volunteer as the new maintainer:</para> … … To use the current port, you must be in a port's d 848 847 </listitem> 849 848 850 849 <listitem> 851 <para>the identity you'd like to use as a member of the project, A.K.A.the850 <para>the identity you'd like to use as a member of the project, aka the 852 851 “handle”, as part of your <literal><replaceable>handle</replaceable>@macports.org</literal> 853 852 alias.</para> 854 853 </listitem> … … To use the current port, you must be in a port's d 870 869 Project. Its membership is usually determined by public elections among 871 870 project members; the current members of the team can be found on the 872 871 <ulink url="https://trac.macports.org/wiki/MacPortsDevelopers">MacPorts 873 Developers wiki page</ulink>. 872 Developers wiki page</ulink>.</para> 874 873 875 They are responsible for matters such as:874 <para>They are responsible for matters such as:</para> 876 875 877 876 <itemizedlist> 878 877 <listitem> 879 <para>approving new project members (i.e. granting commit878 <para>approving new project members (i.e., granting commit 880 879 rights);</para> 881 880 </listitem> 882 881 … … To use the current port, you must be in a port's d 895 894 <listitem> 896 895 <para>engineering releases.</para> 897 896 </listitem> 898 </itemizedlist> </para>897 </itemizedlist> 899 898 900 899 </section> 901 900 </chapter> -
using.xml
9 9 <chapter id="using"> 10 10 <title>Using MacPorts</title> 11 11 12 <para>This chapter describes using the <command>port</command> command, port variants, common tasks and port12 <para>This chapter describes using <command>port</command>, port variants, common tasks and port 13 13 binaries.</para> 14 14 15 15 <section id="using.port"> 16 16 <title>The port Command</title> 17 17 18 <para> The MacPorts <command>port</command> commandis the main utility used to interact with MacPorts. It is18 <para><command>port</command> is the main utility used to interact with MacPorts. It is 19 19 used to update <filename>Portfile</filename>s and the MacPorts infrastructure, and install and manage 20 20 ports.</para> 21 21 … … 23 23 <title>port help</title> 24 24 25 25 <para>The <option>help</option> action shows some brief information about the specified action, or if no 26 action is specified, shows basic usage information for the <command>port</command> command in 27 general.</para> 26 action is specified, shows basic usage information for <command>port</command> in general.</para> 28 27 29 28 <programlisting><prompt>$</prompt> <userinput>port help selfupdate</userinput></programlisting> 30 29 … … Usage: selfupdate --nosync 33 32 34 33 Upgrade MacPorts itself and run the sync target 35 34 36 --nosync Do not run the sync target, i.e. do not update the ports tree.35 --nosync Do not run the sync target, i.e., do not update the ports tree. 37 36 Only checks for (and installs, if available) new versions of 38 37 MacPorts.</screen> 39 38 </section> … … Upgrade MacPorts itself and run the sync target 98 97 99 98 <para>The <option>sync</option> action performs a subset of <option>selfupdate</option>. It synchronizes the 100 99 ports tree, as does <option>selfupdate</option>, but it does not check for MacPorts upgrades. On OS X, 101 unless there is a special reason not to do so, you should alwaysrun <link100 unless there is a special reason not to do so, run <link 102 101 linkend="using.port.selfupdate">selfupdate</link>.</para> 103 102 104 103 <para><option>sync</option> does not accept any switches.</para> … … Maintainers: cal@macports.org</screen> 424 423 <varlistentry> 425 424 <term><option>--no-build</option></term> 426 425 <listitem> 427 <para>Exclude dependencies only required at build time, i.e. fetch, extract, and build426 <para>Exclude dependencies only required at build time, i.e., fetch, extract, and build 428 427 dependencies.</para> 429 428 </listitem> 430 429 </varlistentry> … … apache2 has the variants: 459 458 Any <option>[]</option> are derived from the <filename>Portfile</filename>. 460 459 While <option>()</option> are derived from the <filename>variants.conf</filename>. 461 460 See <xref 462 linkend="internals.configuration-files.variants-conf" /> for more information on the463 <filename>variants.conf</filename> file.</para>461 linkend="internals.configuration-files.variants-conf" /> for more information on 462 <filename>variants.conf</filename>.</para> 464 463 </section> 465 464 466 465 <section id="using.port.install"> … … apache2 has the variants: 481 480 482 481 <programlisting><prompt>$ </prompt><userinput>sudo port -v install apache2</userinput></programlisting> 483 482 484 <para>All debug information is also kept in the <filename>main.log</filename> filefor the port you483 <para>All debug information is also kept in <filename>main.log</filename> for the port you 485 484 installed. Its path will be printed automatically if the installation fails. You can manually get the 486 485 path using <command>port logfile <varname><portname></varname></command>. Note that logfiles will 487 486 automatically be deleted on successful installation.</para> … … apache2 has the variants: 531 530 <varlistentry> 532 531 <term><option>--unrequested</option></term> 533 532 <listitem> 534 <para>By default, each port you install using the <option>install</option> (v s.as a dependency533 <para>By default, each port you install using the <option>install</option> (versus as a dependency 535 534 of a different port) is marked as <quote>requested</quote>. If you want MacPorts to treat 536 535 a port you installed manually as if it was automatically installed as a dependency (e.g., if 537 536 a dependency failed to build and you re-tried installing the dependency only), pass this … … The following ports are currently installed: 781 780 yubico-pam @2.16_0 (active) 782 781 zlib @1.2.8_0 (active)</screen> 783 782 784 <para>Use the <option>-v</option> optionto also display the platform and CPU architecture(s) for which the783 <para>Use <option>-v</option> to also display the platform and CPU architecture(s) for which the 785 784 ports were built, and any variants which were explicitly negated.</para> 786 785 787 786 <programlisting><prompt>$ </prompt><userinput>port -v installed libsdl</userinput></programlisting> … … p5.16-ipc-run 0.910.0_1 < 0.92 847 846 848 847 <para>to go back to the old version.</para> 849 848 850 <para>If you do not want to keep the old versions around while upgrading, you can pass the851 <option>-u</option> optionwhen upgrading:</para>849 <para>If you do not want to keep the old versions around while upgrading, you can pass 850 <option>-u</option> when upgrading:</para> 852 851 853 852 <programlisting><prompt>$ </prompt><userinput>sudo port -u upgrade outdated</userinput></programlisting> 854 853 … … p5.16-ipc-run 0.910.0_1 < 0.92 874 873 <listitem> 875 874 <para>If the installed variants do not match those requested, upgrade (and change variants) even 876 875 if the port is not outdated. You can use this to switch the variant selection on an 877 installed port, e.g. using</para>876 installed port, e.g., using</para> 878 877 879 878 <programlisting><prompt>$ </prompt><userinput>sudo port upgrade --enforce-variants apache2 -preforkmpm +workermpm</userinput></programlisting> 880 879 … … apache2 has the variants: 1020 1019 Any <option>[]</option> are derived from the <filename>Portfile</filename>. 1021 1020 While <option>()</option> are derived from the <filename>variants.conf</filename>. 1022 1021 See <xref 1023 linkend="internals.configuration-files.variants-conf" /> for more information on the1024 <filename>variants.conf</filename> file.</para>1022 linkend="internals.configuration-files.variants-conf" /> for more information on 1023 <filename>variants.conf</filename>.</para> 1025 1024 1026 1025 <section id="using.variants.invoking"> 1027 1026 <title>Invoking Variants</title> 1028 1027 1029 <para>A variant can only be invoked when a port is installed. After you have determined what variants1028 <para>A variant can only be selected when a port is installed. After you have determined what variants 1030 1029 a given port has, if any, you may install a port using the variant by specifying its name preceded by 1031 1030 a plus or minus sign on the command line, for example</para> 1032 1031 … … apache2 has the variants: 1499 1498 <!-- -->DEBUG: Archive logrotate-3.8.6_2+gzip.darwin_13.x86_64.tbz2 packaged</screen> 1500 1499 1501 1500 <para>Binary archive files are placed in <filename>${prefix}/var/macports/software/</filename>. The archive 1502 file type is set in the <filename>macports.conf</filename> fileusing the1501 file type is set in <filename>macports.conf</filename> using the 1503 1502 <option>portarchivetype</option> key. The default format is <option>tbz2</option>; other options are: 1504 1503 <option>tar</option>, <option>tbz</option>, <option>tbz2</option>, <option>tgz</option>, 1505 1504 <option>tlz</option>, <option>txz</option>, <option>xar</option>, <option>zip</option>, … … apache2 has the variants: 1514 1513 to users without relying on MacPorts for installation. Binary installers created with MacPorts are 1515 1514 usually <option>.pkg</option> (OS X Installer Packages). MacPorts can also convert 1516 1515 a <option>.pkg</option> package into an OS X <option>.dmg</option> disk image. You can create binary 1517 packages with the <command>port</command> commandas shown in the following examples.</para>1516 packages using <command>port</command> as shown in the following examples.</para> 1518 1517 1519 1518 <warning> 1520 1519 <para>If you want to create installer packages using MacPorts for redistribution, make sure you do not