[25845] trunk/dports/devel/dialog/Portfile
Ryan Schmidt
ryandesign at macports.org
Mon Jun 4 13:40:24 PDT 2007
On Jun 3, 2007, at 11:09, source_changes at macosforge.org wrote:
> Revision: 25845
> http://trac.macosforge.org/projects/macports/changeset/25845
> Author: jwa at 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?
More information about the macports-dev
mailing list