- Timestamp:
- Aug 26, 2007, 9:25:25 PM (17 years ago)
- Location:
- trunk/doc/guide/new/xml
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/guide/new/xml/installing.xml
r28039 r28261 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> 4 <chapter id="installing -macports">4 <chapter id="installing"> 5 5 <title>Installing MacPorts</title> 6 6 … … 9 9 wish to install MacPorts on FreeBSD, first make sure you have gcc and X11 10 10 installed, and then begin with section <link 11 linkend="installing-macports.install.macports.source">Install MacPorts - 12 Source</link>.</para> 13 14 <section id="installing-macports.install.xcode.tools"> 11 linkend="installing.source">Install MacPorts - Source</link>.</para> 12 13 <section id="installing.xcode"> 15 14 <title>Install Xcode Tools</title> 16 15 … … 46 45 </section> 47 46 48 <section id="installing -macports.install.x11">47 <section id="installing.x11"> 49 48 <title>Install X11</title> 50 49 … … 83 82 </note> 84 83 85 <section >84 <section id="installing.x11.settings"> 86 85 <title>Optional X11 Settings</title> 87 86 … … 119 118 </section> 120 119 121 <section id="installing -macports.install.macports.binary">120 <section id="installing.binary"> 122 121 <title>Install MacPorts - Binary</title> 123 122 124 123 <para>If you wish to install MacPorts to a path other than 125 124 <filename>/opt/local</filename> do not install the MacPorts binary —skip 126 this section and <link 127 linkend="installing-macports.install.macports.source">install MacPorts 128 from the source code</link>. The MacPorts binary installer will only 129 install to <filename>/opt/local</filename>.</para> 125 this section and <link linkend="installing.source">install MacPorts from 126 the source code</link>. The MacPorts binary installer will only install to 127 <filename>/opt/local</filename>.</para> 130 128 131 129 <orderedlist> … … 146 144 147 145 <note> 148 <para>A MacPorts <link 149 linkend="installing-macports.selfupdate">selfupdate</link> operation 150 will automatically update to the latest release if the binary .dmg image 151 is behind the latest released tarball.</para> 152 </note> 153 </section> 154 155 <section id="installing-macports.install.macports.source"> 146 <para>A MacPorts <link linkend="installing.selfupdate">selfupdate</link> 147 operation will automatically update to the latest release if the binary 148 .dmg image is behind the latest released tarball.</para> 149 </note> 150 </section> 151 152 <section id="installing.source"> 156 153 <title>Install MacPorts - Source</title> 157 154 … … 181 178 182 179 <note> 183 <para>A MacPorts <link 184 linkend="installing-macports.selfupdate">selfupdate</link> operation 185 will automatically update to the latest release if the binary .dmg image 186 is behind the latest released tarball.</para> 187 </note> 188 </section> 189 190 <section id="installing-macports.set.bash.shell"> 180 <para>A MacPorts <link linkend="installing.selfupdate">selfupdate</link> 181 operation will automatically update to the latest release if the binary 182 .dmg image is behind the latest released tarball.</para> 183 </note> 184 </section> 185 186 <section id="installing.shell"> 191 187 <title>Set the Bash Shell</title> 192 188 … … 245 241 </section> 246 242 247 <section id="installing -macports.selfupdate">243 <section id="installing.selfupdate"> 248 244 <title>MacPorts Selfupdate</title> 249 245 250 246 <para>You must always do a selfupdate after a new MacPorts install, and 251 247 you should also do it frequently thereafter. See <link 252 linkend="using-macports.port.command.selfupdate">selfupdate</link> —one of 253 several <link linkend="using-macports.port.command">port 254 commands</link>.</para> 248 linkend="using.port.selfupdate">selfupdate</link> —one of several <link 249 linkend="using.port">port commands</link>.</para> 255 250 </section> 256 251 </chapter> -
trunk/doc/guide/new/xml/internals.xml
r28223 r28261 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> 4 <chapter id=" macports-internals">4 <chapter id="internals"> 5 5 <title>MacPorts Internals</title> 6 6 … … 8 8 of MacPorts or learn how to configure it for non-default operation.</para> 9 9 10 <section id=" macports-internals.macports.file.hierarchy">10 <section id="internals.hierarchy"> 11 11 <title>MacPorts File Hierarchy</title> 12 12 … … 241 241 </section> 242 242 243 <section id=" macports-internals.configuration.files">243 <section id="internals.configuration-files"> 244 244 <title>Configuration Files</title> 245 245 … … 249 249 located in <filename>/opt/local/etc/macports</filename>.</para> 250 250 251 <section id=" macports-internals.configuration.files.sources.conf">251 <section id="internals.configuration-files.sources-conf"> 252 252 <title>sources.conf</title> 253 253 … … 257 257 </section> 258 258 259 <section id=" macports-internals.configuration.files.macports.conf">259 <section id="internals.configuration-files.macports-conf"> 260 260 <title>macports.conf</title> 261 261 … … 264 264 </section> 265 265 266 <section id=" macports-internals.configuration.files.variants.conf">266 <section id="internals.configuration-files.variants-conf"> 267 267 <title>variants.conf</title> 268 268 … … 272 272 </section> 273 273 274 <section id=" macports-internals.port.images">274 <section id="internals.images"> 275 275 <title>Port Images</title> 276 276 … … 298 298 </section> 299 299 300 <section id=" macports-internals.macports.apis">300 <section id="internals.apis"> 301 301 <title>MacPorts APIs</title> 302 302 … … 306 306 API used by client applications such as the MacPorts port utility.</para> 307 307 308 <section id=" macports-internals.macports.apis.ports">308 <section id="internals.apis.ports"> 309 309 <title>Ports API</title> 310 310 … … 350 350 </section> 351 351 352 <section id=" macports-internals.macports.apis.macports">352 <section id="internals.apis.macports"> 353 353 <title>MacPorts API</title> 354 354 … … 493 493 </section> 494 494 495 <section id=" macports-internals.macports.registry">495 <section id="internals.registry"> 496 496 <title>The MacPorts Registry</title> 497 497 … … 522 522 </itemizedlist> 523 523 524 <section id=" macports-internals.macports.registry.registry.files">524 <section id="internals.registry.files"> 525 525 <title>Registry Files</title> 526 526 … … 543 543 </section> 544 544 545 <section id=" macports-internals.macports.registry.registry.api">545 <section id="internals.registry.api"> 546 546 <title>The Registry API</title> 547 547 -
trunk/doc/guide/new/xml/intro.xml
r28222 r28261 46 46 descended from the Berkeley Software Distribution (BSD).</para> 47 47 48 <section >48 <section id="introduction.conventions"> 49 49 <title>Document Conventions</title> 50 50 -
trunk/doc/guide/new/xml/portfiledev.xml
r28044 r28261 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> 4 <chapter id=" portfile-development">4 <chapter id="development"> 5 5 <title>Portfile Development</title> 6 6 … … 8 8 local Portfile repository for development, and creating Portfiles.</para> 9 9 10 <section id=" portfile-development.portfile.introduction">10 <section id="development.introduction"> 11 11 <title>Portfile Introduction</title> 12 12 13 13 <para>A MacPorts Portfile is a TCL script that usually contains only the 14 14 simple keyword/value combinations and Tcl extensions as described in the 15 <link linkend="portfile-reference">Portfile Reference</link> chapter, 16 though it may also contain arbitrary TCL code. Every port has a 17 corresponding Portfile, but Portfiles do not completely define a port's 18 installation behavior since the MacPorts base has default port 19 installation characteristics coded within it. Therefore Portfiles need 20 only specify required options and, when required, non-default 21 characteristics for a port.</para> 15 <link linkend="reference">Portfile Reference</link> chapter, though it may 16 also contain arbitrary TCL code. Every port has a corresponding Portfile, 17 but Portfiles do not completely define a port's installation behavior 18 since the MacPorts base has default port installation characteristics 19 coded within it. Therefore Portfiles need only specify required options 20 and, when required, non-default characteristics for a port.</para> 22 21 23 22 <para>A common way for Portfiles to augment or override MacPorts base … … 67 66 standard behavior, any installation phase may be augmented using pre- 68 67 and/or post- phases, or even overridden or eliminated. See <link 69 linkend="portfile-development.example.portfiles">Example Portfiles</link> 70 below.</para> 68 linkend="development.examples">Example Portfiles</link> below.</para> 71 69 72 70 <note> 73 71 <para>For a detailed description of all port phases, see the <link 74 linkend=" portfile-reference">Portfile Reference</link> chapter.</para>72 linkend="reference">Portfile Reference</link> chapter.</para> 75 73 </note> 76 74 </section> 77 75 78 <section id=" portfile-development.local.portfile.repositories">76 <section id="development.local-repositories"> 79 77 <title>Local Portfile Repositories</title> 80 78 … … 146 144 </section> 147 145 148 <section id=" portfile-development.creating.a.portfile">146 <section id="development.creating-portfile"> 149 147 <title>Creating a Portfile</title> 150 148 … … 202 200 keyword lists maintainer email addresses(s). To hide these addresses 203 201 from spambots, see the more full explanation of the maintainer keyword 204 in the <link linkend=" portfile-reference.keywords.global">Global205 Keywords</link> section of the <link 206 linkend="portfile-reference">PortfileReference</link> chapter.</para>202 in the <link linkend="reference.keywords.global">Global 203 Keywords</link> section of the <link linkend="reference">Portfile 204 Reference</link> chapter.</para> 207 205 208 206 <programlisting>maintainers julesverne@example.org</programlisting> … … 275 273 </section> 276 274 277 <section id=" portfile-development.example.portfiles">275 <section id="development.examples"> 278 276 <title>Example Portfiles</title> 279 277 … … 282 280 default phases.</para> 283 281 284 <section id=" portfile-development.example.portfiles.basic.portfile">282 <section id="development.examples.basic"> 285 283 <title>A Basic Portfile</title> 286 284 … … 310 308 </section> 311 309 312 <section id=" portfile-development.example.portfiles.pre.post">310 <section id="development.examples.pre-post"> 313 311 <title>Portfile Using Pre- / Post- Phases</title> 314 312 … … 325 323 </section> 326 324 327 <section id=" portfile-development.example.portfiles.override">325 <section id="development.examples.override"> 328 326 <title>Portfile that Overrides Default Phases</title> 329 327 … … 337 335 </section> 338 336 339 <section id=" portfile-development.example.portfiles.startupitem">337 <section id="development.examples.startupitem"> 340 338 <title>Portfile Using a StartupItem</title> 341 339 … … 358 356 </section> 359 357 360 <section id=" portfile-development.port.variants">358 <section id="development.variants"> 361 359 <title>Port Variants</title> 362 360 … … 365 363 Portfile using the "variant" keyword and may provide a description.</para> 366 364 367 <section id=" portfile-development.port.variants.modify.options">365 <section id="development.variants.options"> 368 366 <title>Variants to Modify Options</title> 369 367 … … 400 398 </section> 401 399 402 <section id=" portfile-development.port.variants.actions.phase">400 <section id="development.variants.phase"> 403 401 <title>Variant Actions in a Phase</title> 404 402 … … 422 420 </section> 423 421 424 <section id=" portfile-development.port.variants.default.variants">422 <section id="development.variants.default"> 425 423 <title>Default Variants</title> 426 424 … … 439 437 </section> 440 438 441 <section id=" portfile-development.patch.files">439 <section id="development.patches"> 442 440 <title>Patch Files</title> 443 441 … … 447 445 functionality.</para> 448 446 449 <section id=" portfile-development.patch.files.portfile.patches">447 <section id="development.patches.portfile"> 450 448 <title>Creating Portfile Patches</title> 451 449 … … 508 506 </section> 509 507 510 <section id=" portfile-development.patch.files.source.patches">508 <section id="development.patches.source"> 511 509 <title>Creating Source Code Patches</title> 512 510 … … 576 574 </section> 577 575 578 <section id=" portfile-development.patch.files.manually.applying">576 <section id="development.patches.applying"> 579 577 <title>Manually Applying Patches</title> 580 578 … … 604 602 </section> 605 603 606 <section id=" portfile-development.portfile.best.practices">604 <section id="development.practices"> 607 605 <title>Portfile Best Practices</title> 608 606 … … 610 608 that install smoothly and provide consistency between ports.</para> 611 609 612 <section >610 <section id="development.practices.dont-overwrite"> 613 611 <title>Don't Overwrite Config Files</title> 614 612 … … 616 614 </section> 617 615 618 <section >616 <section id="development.practices.install-docs"> 619 617 <title>Install Docs and Examples</title> 620 618 … … 622 620 </section> 623 621 624 <section >622 <section id="development.practices.provide-messages"> 625 623 <title>Provide User Messages</title> 626 624 -
trunk/doc/guide/new/xml/portfileref.xml
r28078 r28261 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> 4 <chapter id=" portfile-reference">4 <chapter id="reference"> 5 5 <title>Portfile Reference</title> 6 6 … … 9 9 variables, keywords, and Tcl extensions.</para> 10 10 11 <section id=" portfile-reference.port.phases">11 <section id="reference.phases"> 12 12 <title>Port Phases</title> 13 13 … … 17 17 install</command> steps, but for applications that do not conform to this 18 18 behavior, installation phases may be declared in a Portfile to <link 19 linkend="portfile-development.example.portfiles.pre.post">augment</link> 20 or <link 21 linkend="portfile-development.example.portfiles.override">override</link> 22 the default behavior as described in the <link 23 linkend="portfile-development">Portfile Development</link> chapter.</para> 24 25 <section id="portfile-reference.port.phases.fetch"> 19 linkend="development.examples.pre-post">augment</link> or <link 20 linkend="development.examples.override">override</link> the default 21 behavior as described in the <link linkend="development">Portfile 22 Development</link> chapter.</para> 23 24 <section id="reference.phases.fetch"> 26 25 <title>Fetch</title> 27 26 … … 31 30 </section> 32 31 33 <section id=" portfile-reference.port.phases.checksum">32 <section id="reference.phases.checksum"> 34 33 <title>Checksum</title> 35 34 … … 39 38 </section> 40 39 41 <section id=" portfile-reference.port.phases.extract">40 <section id="reference.phases.extract"> 42 41 <title>Extract</title> 43 42 … … 46 45 </section> 47 46 48 <section id=" portfile-reference.port.phases.patch">47 <section id="reference.phases.patch"> 49 48 <title>Patch</title> 50 49 … … 61 60 </section> 62 61 63 <section id=" portfile-reference.port.phases.configure">62 <section id="reference.phases.configure"> 64 63 <title>Configure</title> 65 64 … … 68 67 </section> 69 68 70 <section id=" portfile-reference.port.phases.build">69 <section id="reference.phases.build"> 71 70 <title>Build</title> 72 71 … … 75 74 </section> 76 75 77 <section id=" portfile-reference.port.phases.destroot">76 <section id="reference.phases.destroot"> 78 77 <title>Destroot</title> 79 78 … … 115 114 </section> 116 115 117 <section id=" portfile-reference.port.phases.archive">116 <section id="reference.phases.archive"> 118 117 <title>Archive</title> 119 118 … … 123 122 </section> 124 123 125 <section id=" portfile-reference.port.phases.install">124 <section id="reference.phases.install"> 126 125 <title>Install</title> 127 126 128 127 <para>Overview: Copy a port's destrooted files into 129 128 <filename>${prefix}/var/macports/software</filename>. See <link 130 linkend=" macports-internals.port.images">Port Images</link> in the <link131 linkend=" macports-internals">MacPorts Internals</link> chapter for129 linkend="internals.images">Port Images</link> in the <link 130 linkend="internals">MacPorts Internals</link> chapter for 132 131 details.</para> 133 132 </section> 134 133 135 <section id=" portfile-reference.port.phases.activate">134 <section id="reference.phases.activate"> 136 135 <title>Activate</title> 137 136 … … 143 142 </section> 144 143 145 <section id=" portfile-reference.dependencies">144 <section id="reference.dependencies"> 146 145 <title>Dependencies</title> 147 146 … … 160 159 library and build dependencies also, but not its run dependencies.</para> 161 160 162 <section id=" portfile-reference.dependencies.dependslib">161 <section id="reference.dependencies.dependslib"> 163 162 <title>depends_lib</title> 164 163 … … 169 168 </section> 170 169 171 <section id=" portfile-reference.dependencies.dependsbuild">170 <section id="reference.dependencies.dependsbuild"> 172 171 <title>depends_build</title> 173 172 … … 178 177 </section> 179 178 180 <section id=" portfile-reference.dependencies.dependsrun">179 <section id="reference.dependencies.dependsrun"> 181 180 <title>depends_run</title> 182 181 … … 187 186 </section> 188 187 189 <section id=" portfile-reference.dependencies.nonport">188 <section id="reference.dependencies.nonport"> 190 189 <title>Non-Port Dependencies</title> 191 190 … … 217 216 </section> 218 217 219 <section id=" portfile-reference.startupitems">218 <section id="reference.startupitems"> 220 219 <title>StartupItems</title> 221 220 … … 330 329 </section> 331 330 332 <section id=" portfile-reference.variables">331 <section id="reference.variables"> 333 332 <title>Variables</title> 334 333 … … 336 335 used within Portfiles.</para> 337 336 338 <section id=" portfile-reference.variables.general">337 <section id="reference.variables.general"> 339 338 <title>General</title> 340 339 … … 463 462 </section> 464 463 465 <section id=" portfile-reference.variables.portgroup">464 <section id="reference.variables.portgroup"> 466 465 <title>PortGroup Variables</title> 467 466 … … 676 675 </section> 677 676 678 <section id=" portfile-reference.keywords">677 <section id="reference.keywords"> 679 678 <title>Keywords</title> 680 679 … … 694 693 phase.</para> 695 694 696 <section id=" portfile-reference.keywords.append.delete">695 <section id="reference.keywords.append-delete"> 697 696 <title>Using -append and -delete Keywords</title> 698 697 … … 769 768 </section> 770 769 771 <section id=" portfile-reference.keywords.global">770 <section id="reference.keywords.global"> 772 771 <title>Global Keywords</title> 773 772 … … 963 962 </section> 964 963 965 <section id=" portfile-reference.keywords.fetch">964 <section id="reference.keywords.fetch"> 966 965 <title>Fetch</title> 967 966 … … 1104 1103 </section> 1105 1104 1106 <section id=" portfile-reference.keywords.checksum">1105 <section id="reference.keywords.checksum"> 1107 1106 <title>Checksum</title> 1108 1107 … … 1128 1127 </section> 1129 1128 1130 <section id=" portfile-reference.keywords.extract">1129 <section id="reference.keywords.extract"> 1131 1130 <title>Extract</title> 1132 1131 … … 1216 1215 </section> 1217 1216 1218 <section id=" portfile-reference.keywords.patch">1217 <section id="reference.keywords.patch"> 1219 1218 <title>Patch</title> 1220 1219 … … 1240 1239 </section> 1241 1240 1242 <section id=" portfile-reference.keywords.configure">1241 <section id="reference.keywords.configure"> 1243 1242 <title>Configure</title> 1244 1243 … … 1352 1351 </variablelist> 1353 1352 1354 <section >1353 <section id="reference.keywords.configure.automake-autoconf"> 1355 1354 <title>Automake and Autoconf</title> 1356 1355 … … 1448 1447 </section> 1449 1448 1450 <section id=" portfile-reference.keywords.build">1449 <section id="reference.keywords.build"> 1451 1450 <title>Build</title> 1452 1451 … … 1517 1516 </section> 1518 1517 1519 <section id=" portfile-reference.keywords.destroot">1518 <section id="reference.keywords.destroot"> 1520 1519 <title>Destroot</title> 1521 1520 … … 1631 1630 </section> 1632 1631 1633 <section id=" portfile-reference.tcl.extensions">1632 <section id="reference.tcl-extensions"> 1634 1633 <title>Tcl Extensions</title> 1635 1634 -
trunk/doc/guide/new/xml/project.xml
r28037 r28261 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> 4 <chapter id=" macports-project">4 <chapter id="project"> 5 5 <title>MacPorts Project</title> 6 6 … … 14 14 account to create tickets.</para> 15 15 16 <section id=" macports-project.creating.trac.tickets">16 <section id="project.tickets"> 17 17 <title>Creating Trac Tickets</title> 18 18 … … 32 32 </screenshot> 33 33 34 <section id=" macports-project.creating.trac.tickets.guidelines">34 <section id="project.tickets.guidelines"> 35 35 <title>Trac Ticket Guidelines</title> 36 36 … … 235 235 </section> 236 236 237 <section id=" macports-project.contributing">237 <section id="project.contributing"> 238 238 <title>Contributing to MacPorts</title> 239 239 … … 244 244 documentation, or alternatively add this to the following? --> 245 245 246 <section >246 <section id="project.contributing.new"> 247 247 <title>New Ports</title> 248 248 … … 271 271 </section> 272 272 273 <section >273 <section id="project.contributing.updates"> 274 274 <title>Port Updates</title> 275 275 … … 306 306 </section> 307 307 308 <section id=" macports-project.port.update.policies">308 <section id="project.update-policies"> 309 309 <title>Port Update Policies</title> 310 310 … … 316 316 below.</para> 317 317 318 <section id=" macports-project.port.update.policies.nonmaintainer">318 <section id="project.update-policies.nonmaintainer"> 319 319 <title>Non-Maintainer Port Updates</title> 320 320 … … 375 375 </section> 376 376 377 <section id=" macports-project.port.update.policies.abandonment">377 <section id="project.update-policies.abandonment"> 378 378 <title>Port Abandonment</title> 379 379 … … 404 404 </section> 405 405 406 <section id=" macports-project.macports.membership">406 <section id="project.membership"> 407 407 <title>MacPorts Membership</title> 408 408 -
trunk/doc/guide/new/xml/using.xml
r28039 r28261 2 2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> 4 <chapter id="using -macports">4 <chapter id="using"> 5 5 <title>Using MacPorts</title> 6 6 … … 9 9 server.</para> 10 10 11 <section id="using -macports.port.command">11 <section id="using.port"> 12 12 <title>The port Command</title> 13 13 … … 17 17 install and manage ports.</para> 18 18 19 <section id="using -macports.port.command.selfupdate">19 <section id="using.port.selfupdate"> 20 20 <title>selfupdate</title> 21 21 … … 53 53 </section> 54 54 55 <section id="using -macports.port.command.sync">55 <section id="using.port.sync"> 56 56 <title>sync</title> 57 57 … … 62 62 </section> 63 63 64 <section id="using -macports.port.command.list">64 <section id="using.port.list"> 65 65 <title>list</title> 66 66 … … 71 71 </section> 72 72 73 <section id="using -macports.port.command.search">73 <section id="using.port.search"> 74 74 <title>search</title> 75 75 … … 83 83 </section> 84 84 85 <section id="using -macports.port.command.info">85 <section id="using.port.info"> 86 86 <title>info</title> 87 87 … … 100 100 </section> 101 101 102 <section id="using -macports.port.command.deps">102 <section id="using.port.deps"> 103 103 <title>deps</title> 104 104 … … 117 117 </section> 118 118 119 <section id="using -macports.port.command.variants">119 <section id="using.port.variants"> 120 120 <title>variants</title> 121 121 … … 123 123 variations of a port are available before you install it. Variants are a 124 124 way for port authors to provide options that may be invoked at install 125 time. See <link 126 linkend="using-macports.port.variants.invoking.variants">Invoking Port 125 time. See <link linkend="using.variants.invoking">Invoking Port 127 126 Variants</link> below to install ports that have variants.</para> 128 127 … … 136 135 </section> 137 136 138 <section id="using -macports.port.command.install">137 <section id="using.port.install"> 139 138 <title>install</title> 140 139 141 140 <para>The option <option>install</option> is used to install a port. See 142 <link linkend="using -macports.port.variants.invoking.variants">Invoking143 Port Variants</link>below to install ports that have variants.</para>141 <link linkend="using.variants.invoking">Invoking Port Variants</link> 142 below to install ports that have variants.</para> 144 143 145 144 <programlisting><prompt>%%</prompt> <userinput>sudo port install nmap</userinput></programlisting> … … 153 152 </section> 154 153 155 <section id="using -macports.port.command.clean">154 <section id="using.port.clean"> 156 155 <title>clean</title> 157 156 … … 170 169 </section> 171 170 172 <section id="using -macports.port.command.uninstall">171 <section id="using.port.uninstall"> 173 172 <title>uninstall</title> 174 173 … … 189 188 </section> 190 189 191 <section id="using -macports.port.command.contents">190 <section id="using.port.contents"> 192 191 <title>contents</title> 193 192 … … 205 204 </section> 206 205 207 <section id="using -macports.port.command.installed">206 <section id="using.port.installed"> 208 207 <title>installed</title> 209 208 … … 227 226 </section> 228 227 229 <section id="using -macports.port.command.outdated">228 <section id="using.port.outdated"> 230 229 <title>outdated</title> 231 230 … … 243 242 </section> 244 243 245 <section id="using -macports.port.command.upgrade">244 <section id="using.port.upgrade"> 246 245 <title>upgrade</title> 247 246 … … 265 264 <para>The <option>upgrade</option> option by default does not 266 265 uninstall an upgraded port —it deactivates it. See section <link 267 linkend="macports-internals.port.images">Port Images</link>, and also 268 <link 269 linkend="portfile-reference.port.phases.destroot">Destroot</link> and 270 <link 271 linkend="portfile-reference.port.phases.activate">Activate</link> 272 phases in <link linkend="portfile-reference.port.phases">Port 273 Phases</link>. If you wish to uninstall the old version use the -u 274 option.</para> 266 linkend="internals.images">Port Images</link>, and also <link 267 linkend="reference.phases.destroot">Destroot</link> and <link 268 linkend="reference.phases.activate">Activate</link> phases in <link 269 linkend="reference.phases">Port Phases</link>. If you wish to 270 uninstall the old version use the -u option.</para> 275 271 276 272 <programlisting><prompt>%%</prompt> <userinput>port -u upgrade vile</userinput></programlisting> … … 278 274 </section> 279 275 280 <section id="using -macports.port.command.dependents">276 <section id="using.port.dependents"> 281 277 <title>dependents</title> 282 278 … … 293 289 </section> 294 290 295 <section id="using -macports.port.command.livecheck">291 <section id="using.port.livecheck"> 296 292 <title>livecheck</title> 297 293 … … 300 296 </section> 301 297 302 <section id="using -macports.port.variants">298 <section id="using.variants"> 303 299 <title>Port Variants</title> 304 300 … … 320 316 </note> 321 317 322 <section id="using -macports.port.variants.invoking.variants">318 <section id="using.variants.invoking"> 323 319 <title>Invoking Variants</title> 324 320 … … 340 336 </section> 341 337 342 <section id="using -macports.port.variants.negating.default.variants">338 <section id="using.variants.negating"> 343 339 <title>Negating Default Variants</title> 344 340 345 341 <para>For an explanation of default variants see <link 346 linkend=" portfile-development.port.variants">Port Variants</link>.342 linkend="development.variants">Port Variants</link>. 347 343 Default variants are optional, and not all ports using variants have 348 344 them. For ports with default variants, you may install a port without … … 362 358 </section> 363 359 364 <section id="using -macports.common.tasks">360 <section id="using.common-tasks"> 365 361 <title>Common Tasks</title> 366 362 … … 369 365 </section> 370 366 371 <section id="using -macports.port.binaries">367 <section id="using.binaries"> 372 368 <title>Port Binaries</title> 373 369 … … 376 372 types of binaries: archives and packages.</para> 377 373 378 <section id="using -macports.port.binaries.binary.archives">374 <section id="using.binaries.archives"> 379 375 <title>Binary Archives</title> 380 376 … … 420 416 </section> 421 417 422 <section id="using -macports.port.binaries.binary.packages">418 <section id="using.binaries.binary-packages"> 423 419 <title>Binary Packages</title> 424 420 … … 446 442 </section> 447 443 448 <section id="using -macports.port.binaries.port.source.packages">444 <section id="using.binaries.source-packages"> 449 445 <title>Port Source Packages</title> 450 446 … … 458 454 </section> 459 455 460 <section id="using -macports.rsync.replication.servers">456 <section id="using.rsync-replication"> 461 457 <title>Rsync Replication Servers</title> 462 458 … … 468 464 local network perform selfupdates.</para> 469 465 470 <section id="using -macports.rsync.replication.servers.rsync.server.setup">466 <section id="using.rsync-replication.server-setup"> 471 467 <title>Rsync Server Setup</title> 472 468 … … 521 517 </section> 522 518 523 <section id="using -macports.rsync.replication.servers.rsync.client.setup">519 <section id="using.rsync-replication.client-setup"> 524 520 <title>Rsync Client Setup</title> 525 521
Note: See TracChangeset
for help on using the changeset viewer.