source: trunk/www/getdp/index.php @ 23224

Last change on this file since 23224 was 19376, checked in by yeled@…, 14 years ago

add svn:keywords Id

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 6.5 KB
Line 
1  <?php
2    $DOCUMENT_ROOT = $_SERVER['DOCUMENT_ROOT'];
3    include_once("$DOCUMENT_ROOT/includes/common.inc");
4    /* include_once("$DOCUMENT_ROOT/includes/functions.inc"); */
5    print_header('Get DarwinPorts', 'iso-8859-1');
6  ?>
7
8    <div id="content">
9      <h2 class="hdr">Get DarwinPorts</h2>
10
11         <p>DarwinPorts version <? print "$dp_version_dmg"; ?> is available in binary form as a
12         dmg disk image <a href="/downloads/DarwinPorts-<? print "$dp_version_dmg"; ?>-10.4.dmg">for Tiger (Universal)</a>
13         or <a href="/downloads/DarwinPorts-<? print "$dp_version_dmg"; ?>-10.3.dmg">Panther</a>,
14         both containing a pkg installer, or version <? print "$dp_version"; ?> in source form as either a
15         <a href="/downloads/DarwinPorts-<? print "$dp_version"; ?>.tar.bz2">tar.bz2</a> package
16         or a <a href="/downloads/DarwinPorts-<? print "$dp_version"; ?>.tar.gz">tar.gz</a> one.
17         Checksums for all these are contained <a href="/downloads/DarwinPorts-<? print "$dp_version"; ?>.chk.txt">here</a>.</p>
18
19         <p>To get a files listing of all our available downloads checkout the
20         <a href="/downloads/">downloads section</a></p>
21
22      <p>Please note that in order to install and run DarwinPorts on Mac OS X you must
23        have Apple's Xcode installed, found at the <a href="http://developer.apple.com/">Apple Developer site</a>
24        or on your Mac OS X installation CDs/DVD.</p>
25
26          <p>If you want to use DarwinPorts on a platform other than Mac OS X, please be
27          aware of the following requirements (we assume that you have basics such as
28          gcc):</p>
29          <ul>
30                <li>TCL (8.3 or 8.4)</li>
31                <li>curl</li>
32                <li>OpenSSL or libmd</li>
33          </ul>
34
35        <h5 class="subhdr">Mac OS X Package (.pkg) Installer</h5>
36
37        <p>The easiest way to install DarwinPorts on a Mac OS X system is by downloading
38        the <a href="/downloads/DarwinPorts-<? print "$dp_version_dmg"; ?>-10.4.dmg">dmg for Tiger</a>
39        or the <a href="/downloads/DarwinPorts-<? print "$dp_version_dmg"; ?>-10.3.dmg">one for Panther</a>
40        and running Installer.app on the pkg contained therein by double clicking on them,
41        following the on-screen instructions until completion. This procedure will place a
42        fully functional and default DarwinPorts installation on your host system,
43        ready for usage. If needed, your shell configuration files will be adapted by the installer
44        to include the necessary settings to run DarwinPorts. You may need to open a new shell for
45        these changes to take effect.</p>
46
47        <p>Although not strictly necessary, it is still recommended that you synchronize your
48        recent installation with our rsync server to ensure you have the latest release
49        available of the DarwinPorts infrastructure and of the &ldquo;Portfiles&rdquo; containing the instructions
50        employed in the building and installation of ports. To accomplish this simply execute:</p>
51
52        <pre>sudo port -d selfupdate</pre>
53
54        <p>It is also recommended to run the above command on a regular basis to keep your
55        installation always current. At this point you should be ready to enjoy DarwinPorts!</p>
56
57        <h5 class="subhdr">Source Installation</h5>
58
59        <p>If on the other hand you decide to install from source, there are still a couple of
60        things you will need to do once you've downloaded the tarball before you can
61        install a port with the DarwinPorts system, namely compiling and installing DarwinPorts itself.
62        &ldquo;<kbd>cd</kbd>&rdquo; into the directory where you downloaded the package
63        and run &ldquo;<kbd>tar xjvf <a href="/downloads/DarwinPorts-<? print "$dp_version"; ?>.tar.bz2">DarwinPorts-<? print "$dp_version"; ?>.tar.bz2</a></kbd>&rdquo;
64        or &ldquo;<kbd>tar xzvf <a href="/downloads/DarwinPorts-<? print "$dp_version"; ?>.tar.gz">DarwinPorts-<? print "$dp_version"; ?>.tar.gz</a></kbd>&rdquo;,
65        depending on whether you downloaded the bz2 tarball or the gz one, respectively.
66        This will unpack the DarwinPorts sources that you will proceed to build and install. To do
67        so, execute the following:</p>
68
69      <pre>cd DarwinPorts-<? print "$dp_version"; ?>
70
71./configure &amp;&amp; make &amp;&amp; sudo make install</pre>
72
73        <p>Optionally:</p>
74
75<pre>cd ../
76rm -rf DarwinPorts-<? print "$dp_version"; ?>*</pre>
77
78      <p>These steps need to be perfomed from an administrator account, for which &ldquo;<kbd>sudo</kbd>&rdquo;
79      will ask the password upon installation. This procedure will install a pristine DarwinPorts
80      system and, if the optional steps are taken, remove the as of now unnecessary DarwinPorts-<? print "$dp_version"; ?>
81      directory and corresponding tarball. To customize your installation you should read the output
82      of &ldquo;<kbd>./configure --help | more</kbd>&rdquo; and pass the appropriate options to the
83      configuration script in the steps detailed above.</p>
84       
85        <p>You will need to adapt your shell's configuration files to find the binaries installed by
86        DarwinPorts. Lastly, you need to synchronize your recent installation with OpenDarwin servers:</p>
87
88        <pre>sudo port -d selfupdate</pre>
89
90        <p>Upon completion DarwinPorts will be ready to install ports. Again, it is recommended to run
91        the above command on a regular basis to keep your installation current.</p>
92
93      <p>Alternatively, you can refer to the <tt>README_RELEASE1</tt>
94        file contained in the <? print "$dp_version"; ?> release tarball for basic installation and usage
95        instructions.</p>
96
97        <h5 class="subhdr">Help</h5>
98
99      <p><a href="/help/">Help</a> is also available should you need it.</p>
100
101        <h5 class="subhdr">CVS Sources</h5>
102
103     <p>If you are developer or a user with a taste for the bleeding edge and wish for the latest changes
104     and feature additions, you may acquire the DarwinPorts sources through CVS.</p>
105
106      <p>Use the following commands to check the project out of the OpenDarwin anonymous CVS
107        repository:</p>
108
109      <pre>cvs -d :pserver:anonymous@anoncvs.opendarwin.org:/Volumes/src/cvs/od login
110cvs -d :pserver:anonymous@anoncvs.opendarwin.org:/Volumes/src/cvs/od co -P darwinports</pre>
111
112       <p>When the server asks you for a password, simply press
113       <kbd>return</kbd> on your keyboard&mdash;the password is empty.</p>
114
115        <p>If you do not want to bother with fetching from CVS, you can download
116        a nightly updated <a href="/downloads/darwinports-nightly-cvs-snapshot.tar.gz">
117        CVS-snapshot</a>. Once extracted, you can keep it up to date with the usual
118        &ldquo;<kbd>cvs update</kbd>&rdquo; commands.</p>
119
120      <p>If you'd simply like to view the CVS repository without checking it
121        out, you can do so via <a
122        href="http://www.opendarwin.org/cgi-bin/cvsweb.cgi/proj/darwinports/">CVSweb</a>.</p>
123
124    </div>
125  </div>
126
127<?php
128  print_footer();
129?>
Note: See TracBrowser for help on using the repository browser.