On Jun 3, 2007, at 11:09, source_changes@macosforge.org wrote:
Revision: 25845 http://trac.macosforge.org/projects/macports/changeset/25845 Author: jwa@macports.org Date: 2007-06-03 09:09:05 -0700 (Sun, 03 Jun 2007)
Log Message: ----------- a crude way to solve the problem of having the distfile with always the same name - no version number, seems to work even at upgrade
Modified Paths: -------------- trunk/dports/devel/dialog/Portfile
Modified: trunk/dports/devel/dialog/Portfile =================================================================== --- trunk/dports/devel/dialog/Portfile 2007-06-03 15:51:40 UTC (rev 25844) +++ trunk/dports/devel/dialog/Portfile 2007-06-03 16:09:05 UTC (rev 25845) @@ -21,6 +21,11 @@ master_sites ftp://invisible-island.net/dialog/ distname ${name} worksrcdir ${name}-${version} + +pre-fetch { + file delete -force ${distpath}/${distname}.tar.gz +} + checksums sha1 1912ce21d9590b9fbf85e9159a2f428eaece1894 configure.args --mandir=${prefix}/share/man
Hmm..... won't that cause the archive to be re-downloaded every time you try to install, even if the archive hasn't changed? Isn't there a syntax you can use where you tell MacPorts to store the distfile under a different name?
On 4.6.2007, at 23.40, Ryan Schmidt wrote:
On Jun 3, 2007, at 11:09, source_changes@macosforge.org wrote:
Hmm..... won't that cause the archive to be re-downloaded every time you try to install, even if the archive hasn't changed? Isn't there a syntax you can use where you tell MacPorts to store the distfile under a different name?
Thanks, I just implemented something to avoid this in the latest version (r25912). ! ! Jyrki Wahlstedt ! skype:jyrkiwahlstedt ! http://www.wahlstedt.fi/jyrki/ ! ! Our life is no dream; but it ought to become one and perhaps will. ! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0 A780 6366 EFD9 139C C386
participants (2)
-
Jyrki Wahlstedt
-
Ryan Schmidt