source: trunk/www/index.php @ 28994

Last change on this file since 28994 was 28994, checked in by jmpp@…, 13 years ago
  • Rework the $mp_version* variables into $mp_version_major & $mp_version_latest, use them appropriately;
  • Abstract commonly used links in includes/common.inc and use them throughout all the files, but mainly in getmp.php;
  • Point the help section referenced in getmp.php to our trac portal;

NOTE: "Help" section and "SVN sources" in getmp.php still need to be rewritten.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-php
File size: 2.7 KB
Line 
1<?php
2  /* $Id: index.php 28994 2007-09-12 22:33:44Z jmpp@macports.org $ */
3  $MPWEB = $_SERVER['DOCUMENT_ROOT'] . dirname($_SERVER['SCRIPT_NAME']);
4  include_once("$MPWEB/includes/common.inc");
5  include_once("$MPWEB/includes/news.inc");
6  print_header('MacPorts -- Home', 'utf-8');
7?>
8    <div id="content">
9      <h2 class="hdr">Introduction to MacPorts</h2>
10      <p>
11        The MacPorts Project's main goal is to provide an easy way to
12        install various open-source software products on the <a
13        href="http://www.apple.com/macosx/">Mac OS X</a> operating system.
14      </p>
15      <p>
16        There are currently about <?php echo ports_count(); ?> completed and
17        usable <a href="/macports/ports.php">ports</a>, with more being added on
18        a regular basis. You can track recently added ports by subscribing to
19        the <a href="http://lists.macosforge.org/mailman/listinfo/macports-changes">macports-changes</a>
20        mailing list.
21      </p>
22      <p>
23        For more information on obtaining and installing MacPorts, please see
24        the <a href="/macports/getmp.php">Get MacPorts</a> section of this site.
25        Also be sure to check out the <a
26        href="http://geeklair.net/new_macports_guide/">documentation</a>, and if
27        and if you have questions or run into problems, you can get help at our
28        <a href="/macports/help.php">help section</a>. The
29        <a href="http://trac.macports.org/projects/macports/wiki">MacPorts
30        Wiki</a>is also a good resource for general and miscellaneous help,
31        specially the ongoing <a
32        href="http://trac.macports.org/projects/macports/wiki/FAQ">FAQ</a>
33        effort.
34      </p>
35      <p>
36        Bug reports, feature requests, and new ports should be submitted as
37        <a href="http://trac.macports.org/projects/macports/newticket">new
38        tickets</a> into our Trac system. Please consult the <a
39        href="http://geeklair.net/new_macports_guide/#project.tickets">documentation</a>
40        to improve the processing of your ticket(s).
41      </p>
42      <p>
43        For information on becoming an official member of the MacPorts project
44        with write access to our subversion repository, please consult the
45        <a href="http://geeklair.net/new_macports_guide/#project.membership">relevant
46        documentation</a> detailing our membership requirements and resulting
47        duties &amp; benefits from holding a MacPorts account.
48      </p>
49      <p>
50        <b>Current MacPorts <a href="/macports/getmp.php">release</a>: <?php print "$mp_version_latest"; ?></b>
51      </p>
52      <div id="news">
53        <h2 class="hdr">Project News</h2>
54<?php
55  print_headlines();
56?>
57        <p>You can also browse our <a href="/macports/archives.php">news archives</a>.</p>
58      </div>
59    </div>
60<?php
61  print_footer();
62?>
Note: See TracBrowser for help on using the repository browser.