[101280] trunk/dports/_resources/port1.0/group/obsolete-1.0.tcl
Ryan Schmidt
ryandesign at macports.org
Mon Jan 7 09:23:32 PST 2013
On Jan 7, 2013, at 09:52, jmr at macports.org wrote:
> Revision: 101280
> https://trac.macports.org/changeset/101280
> Author: jmr at macports.org
> Date: 2013-01-07 07:52:09 -0800 (Mon, 07 Jan 2013)
> Log Message:
> -----------
> obsolete portgroup: use defaults for variables where it's useful and not for those where it's not; removes requirement to set replaced_by before including the portgroup
>
> Modified Paths:
> --------------
> trunk/dports/_resources/port1.0/group/obsolete-1.0.tcl
>
> Modified: trunk/dports/_resources/port1.0/group/obsolete-1.0.tcl
> ===================================================================
> --- trunk/dports/_resources/port1.0/group/obsolete-1.0.tcl 2013-01-07 15:40:57 UTC (rev 101279)
> +++ trunk/dports/_resources/port1.0/group/obsolete-1.0.tcl 2013-01-07 15:52:09 UTC (rev 101280)
> @@ -40,15 +40,15 @@
> # inform users that they should uninstall it and install something else
> # instead; you might want to override some of the defaults though.
>
> -default platforms darwin
> -default maintainers nomaintainer
> +platforms darwin
> +maintainers nomaintainer
> supported_archs noarch
>
> -description this port is only a stub and has been made obsolete by ${replaced_by}
> +default description {this port is only a stub and has been made obsolete by ${replaced_by}}
>
> -long_description ${description}
> +default long_description {${description}}
>
> -default homepage http://www.macports.org/
> +homepage http://www.macports.org/
This undoes the fix I committed in r100631, in which I explained why it is useful to set defaults for platforms, maintainers and homepage.
More information about the macports-dev
mailing list