Changeset 112489 for trunk/doc-new


Ignore:
Timestamp:
Oct 24, 2013, 1:34:42 PM (6 years ago)
Author:
raimue@…
Message:

guide:
Avoid placeholders, use the version number from a entity variable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc-new/guide/xml/installing.xml

    r112488 r112489  
    11<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
    3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
     3"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"[
     4<!ENTITY macports-version "2.2.0">
     5]>
    46<chapter id="installing">
    57  <title>Installing MacPorts</title>
     
    275277      <orderedlist>
    276278        <listitem>
    277           <para>Download the latest <filename>MacPorts-x.x.x.dmg</filename>
     279          <para>Download the latest <filename>MacPorts-&macports-version;.dmg</filename>
    278280          disk image (whose name does not contain -beta or -rc) from the <ulink
    279281          url="https://distfiles.macports.org/MacPorts/">MacPorts
     
    282284
    283285        <listitem>
    284           <para>Double-click the <filename>MacPorts-x.x.x.pkg</filename>
     286          <para>Double-click the <filename>MacPorts-&macports-version;.pkg</filename>
    285287          package installer on the disk image.</para>
    286288        </listitem>
     
    301303      <orderedlist>
    302304        <listitem>
    303           <para>Download and unzip the latest MacPorts tarball from the <ulink
    304           url="https://distfiles.macports.org/MacPorts/">MacPorts
    305           download directory</ulink>. Use the given commands in a terminal
    306           window, replace the placeholders with the latest version number.</para>
    307 
    308           <programlisting><prompt>%%</prompt> <userinput>curl -O https://distfiles.macports.org/MacPorts/MacPorts-x.x.x.tar.bz2</userinput>
    309 <prompt>%%</prompt> <userinput>tar xf MacPorts-x.x.x.tar.bz2</userinput></programlisting>
    310         </listitem>
    311 
    312         <listitem>
    313           <para>Afterwards, perform the commands shown below. If you wish
     305          <para>Download and extract the <ulink url="https://distfiles.macports.org/MacPorts/MacPorts-&macports-version;.tar.bz2">
     306          MacPorts &macports-version; tarball</ulink>. Either do so using your browser and the Finder, or use the given commands
     307          in a terminal window.</para>
     308
     309          <programlisting><prompt>%%</prompt> <userinput>curl -O https://distfiles.macports.org/MacPorts/MacPorts-&macports-version;.tar.bz2</userinput>
     310<prompt>%%</prompt> <userinput>tar xf MacPorts-&macports-version;.tar.bz2</userinput></programlisting>
     311        </listitem>
     312
     313        <listitem>
     314          <para>Afterwards, perform the commands shown in the terminal window. If you wish
    314315          to use a path other than <filename>/opt/local</filename>, follow
    315316          the instructions for <link linkend="installing.macports.source.multiple">installing
    316317          multiple copies of MacPorts</link> instead.</para>
    317318
    318           <programlisting><prompt>%%</prompt> <userinput>cd MacPorts-x.x.x/</userinput>
     319          <programlisting><prompt>%%</prompt> <userinput>cd MacPorts-&macports-version;/</userinput>
    319320<prompt>%%</prompt> <userinput>./configure</userinput>
    320321<prompt>%%</prompt> <userinput>make</userinput>
Note: See TracChangeset for help on using the changeset viewer.