[128051] trunk/dports/mail/gnupg/Portfile

Ryan Schmidt ryandesign at macports.org
Wed Nov 12 00:02:18 PST 2014


> On Nov 11, 2014, at 8:40 PM, ionic at macports.org wrote:
> 
> Revision
> 128051
> Author
> ionic at macports.org
> 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.





More information about the macports-dev mailing list