Skip to content
Permalink
Browse files

Update www for 2.5.4 and Mojave

  • Loading branch information
jmroot committed Oct 3, 2018
1 parent 734833f commit df0c9e974c00b6397b996bc6ee70d6662ecafeb1
Showing with 8 additions and 3 deletions.
  1. +3 −2 includes/common.inc
  2. +5 −1 install.php
@@ -8,7 +8,7 @@
######################################################################

# MacPorts version variables:
$macports_version_latest = '2.5.3';
$macports_version_latest = '2.5.4';


######################################################################
@@ -23,8 +23,9 @@ $build_url = 'https://build.macports.org/';
$mp_downloads = 'https://distfiles.macports.org/MacPorts/';
//$sf_downloads = 'http://downloads.sourceforge.net/project/macports/MacPorts/' . $macports_version_latest . '/';
$gh_downloads = 'https://github.com/macports/macports-base/releases/download/v' . $macports_version_latest . '/';
$downloads = $mp_downloads;
$downloads = $gh_downloads;
$downloads_overview = 'https://github.com/macports/macports-base/releases/tag/v' . $macports_version_latest;
$mojave_pkg = $downloads . 'MacPorts-' . $macports_version_latest . '-10.14-Mojave.pkg';
$highsierra_pkg = $downloads . 'MacPorts-' . $macports_version_latest . '-10.13-HighSierra.pkg';
$sierra_pkg = $downloads . 'MacPorts-' . $macports_version_latest . '-10.12-Sierra.pkg';
$elcapitan_pkg = $downloads . 'MacPorts-' . $macports_version_latest . '-10.11-ElCapitan.pkg';
@@ -16,6 +16,7 @@
<li>Agree to Xcode license in Terminal: <code>sudo xcodebuild -license</code></li>
<li>Install MacPorts for your version of the Mac operating system:
<ul>
<li><a href="<?php echo $mojave_pkg; ?>">macOS Mojave v10.14</a></li>
<li><a href="<?php echo $highsierra_pkg; ?>">macOS High Sierra v10.13</a></li>
<li><a href="<?php echo $sierra_pkg; ?>">macOS Sierra v10.12</a></li>
<li><a href="<?php echo $elcapitan_pkg; ?>">OS X El Capitan v10.11</a></li>
@@ -31,6 +32,7 @@

<ul>
<li>&#8220;pkg&#8221; installers for
<a href="<?php print $mojave_pkg; ?>">Mojave</a>,
<a href="<?php print $highsierra_pkg; ?>">High Sierra</a>,
<a href="<?php print $sierra_pkg; ?>">Sierra</a> and
<a href="<?php print $elcapitan_pkg; ?>">El Capitan</a>,
@@ -62,7 +64,8 @@
components:</p>

<ol>
<li>Apple's <a href="https://developer.apple.com/technologies/tools/">Xcode</a> Developer Tools (version 9.0 or later for High Sierra,
<li>Apple's <a href="https://developer.apple.com/technologies/tools/">Xcode</a> Developer Tools (version 10.0 or later for Mojave,
9.0 or later for High Sierra,
8.0 or later for Sierra, 7.0 or later for El Capitan,
6.1 or later for Yosemite, 5.0.1 or later for Mavericks, 4.4 or later for Mountain Lion,
4.1 or later for Lion, 3.2 or later for
@@ -95,6 +98,7 @@
<h3 class="subhdr" id="pkg">macOS Package (.pkg) Installer</h3>

<p>The easiest way to install MacPorts on a Mac is by downloading the pkg or dmg for
<a href="<?php print $mojave_pkg; ?>">Mojave</a>,
<a href="<?php print $highsierra_pkg; ?>">High Sierra</a>,
<a href="<?php print $sierra_pkg; ?>">Sierra</a>,
<a href="<?php print $elcapitan_pkg; ?>">El Capitan</a>,

0 comments on commit df0c9e9

Please sign in to comment.
You can’t perform that action at this time.