[MacPorts] howto/AvoidRedirects modified
MacPorts
noreply at macports.org
Tue Aug 6 12:52:45 PDT 2013
Page "howto/AvoidRedirects" was changed by macsforever2000 at macports.org
Diff URL: <https://trac.macports.org/wiki/howto/AvoidRedirects?action=diff&version=3>
Revision 3
Comment: break out the initial value and final Portfile change for clarity.
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/AvoidRedirects
=========================================================================
--- howto/AvoidRedirects (version: 2)
+++ howto/AvoidRedirects (version: 3)
@@ -11,7 +11,13 @@
== SourceForge ==
-Hopefully, the following example, using mediainfo version 0.7.60, will illuminate the process. The SourceForge home page for mediainfo is [[http://mediainfo.sourceforge.net]]. Initially, just specifying `'master_sites sourceforge'` in the portfile under development worked to retrieve the distfile. The log for `'port fetch'` showed:
+Hopefully, the following example, using mediainfo version 0.7.60, will illuminate the process. The SourceForge home page for mediainfo is [[http://mediainfo.sourceforge.net]]. Initially, just specifying `'sourceforge'` in the portfile under development worked to retrieve the distfile.
+
+{{{
+master_sites sourceforge
+}}}
+
+The log for `'port fetch'` showed:
{{{
DEBUG: Executing org.macports.fetch (mediainfo)
@@ -25,10 +31,12 @@
Location: http://voxel.dl.sourceforge.net/project/mediainfo/binary/mediainfo/0.7.60/MediaInfo_CLI_0.7.60_GNU_FromSource.tar.bz2
}}}
-To improve the `master_sites` parameter, extract the bit: `project/mediainfo/binary/mediainfo/0.7.60` (and replace "0.7.60"--the version number in this case--with ${version}). Thus `'master_sites sourceforge:project/mediainfo/binary/mediainfo/${version}'`.
+To improve the `master_sites` parameter, extract the bit: `project/mediainfo/binary/mediainfo/0.7.60` (and replace "0.7.60"--the version number in this case--with ${version}). Thus you have:
+
+{{{
+master_sites sourceforge:project/mediainfo/binary/mediainfo/${version}
+}}}
Pat yourself on the back--you're done!
-
-
[wiki:howto <- Back to the HOWTO section]
-------8<------8<------8<------8<------8<------8<------8<------8<--------
--
Page URL: <https://trac.macports.org/wiki/howto/AvoidRedirects>
MacPorts <http://www.macports.org/>
Ports system for OS X
This is an automated message. Someone added your email address to be
notified of changes on 'howto/AvoidRedirects' page.
If it was not you, please report to .
More information about the macports-changes
mailing list