> On Jul 2, 2015, at 2:45 PM, [email protected] wrote:
>
> Revision
> 138234
> Author
> [email protected]
> Date
> 2015-07-02 12:45:46 -0700 (Thu, 02 Jul 2015)
> Log Message
>
> postgresql95: first alpha release os PostgreSQL 9.5 (Portfiles copied and
> modified from previous version), contrib modules adjustments according to
> variants
> Modified: trunk/dports/databases/postgresql95/Portfile (137988 => 138234)
>
> --- trunk/dports/databases/postgresql94/Portfile 2015-06-24 10:21:08 UTC
> (rev 137988)
> +++ trunk/dports/databases/postgresql95/Portfile 2015-07-02 19:45:46 UTC
> (rev 138234)
> @@ -91,6 +91,14 @@
> post-build {
> # remove a Linux-specific contrib before continuing
> file delete -force ${worksrcpath}/contrib/sepgsql
> +# remove perl-specific contrib, if no perl variant
> + if {![variant_isset perl]} {
> + file delete -force ${worksrcpath}/contrib/hstore_plperl
> + }
> +# remove python-specific contrib, if no python27 variant
> + if {![variant_isset python27]} {
> + file delete -force ${worksrcpath}/contrib/hstore_plpython
> + }
Note that you could just write "delete", which is a MacPorts alias for "file
delete -force" which is more succinct.
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev