> On Nov 11, 2014, at 8:40 PM, [email protected] wrote:
>
> Revision
> 128051
> Author
> [email protected]
> Date
> 2014-11-11 18:40:12 -0800 (Tue, 11 Nov 2014)
> Log Message
>
> gnupg: do not abuse patchfiles to download and uncompress an extra source
> file. no rev-bump on purpose.
> Modified Paths
>
> • trunk/dports/mail/gnupg/Portfile
> Diff
>
> Modified: trunk/dports/mail/gnupg/Portfile (128050 => 128051)
> +post-extract {
> + if {[variant_isset idea]} {
> + copy ${distpath}/idea.c.gz ${worksrcpath}/cipher
> + move ${worksrcpath}/cipher/idea.c ${worksrcpath}/cipher/idea.c.orig
> + system -W "${worksrcpath}/cipher" "gunzip -d idea.c.gz"
> + }
> +}
There's no real need to copy the idea.c.gz distfile into the work directory, is
there? You could decompress from its location in distpath.
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev