Changes between Version 2 and Version 3 of howto/AvoidRedirects
- Timestamp:
- Aug 6, 2013, 7:52:44 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto/AvoidRedirects
v2 v3 12 12 == SourceForge == 13 13 14 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: 14 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. 15 16 {{{ 17 master_sites sourceforge 18 }}} 19 20 The log for `'port fetch'` showed: 15 21 16 22 {{{ … … 26 32 }}} 27 33 28 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}'`. 34 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: 35 36 {{{ 37 master_sites sourceforge:project/mediainfo/binary/mediainfo/${version} 38 }}} 29 39 30 40 Pat yourself on the back--you're done! 31 41 32 33 34 42 [wiki:howto <- Back to the HOWTO section]