[71115] trunk/dports/science/gnuradio-grc/Portfile

Rainer Müller raimue at macports.org
Tue Sep 7 15:56:23 PDT 2010


On 2010-09-04 17:00 , Michael Dickens wrote:
> On Wed, 01 Sep 2010 21:18 +0200, "Rainer Müller"
> <raimue at macports.org> wrote:
>>
>> You should use the replaced_by option with a revision bump
>> which will automatically remove the old port and install
>> the new one on upgrade.
>>
>> replaced_by  gnuradio-companion
> 
> Is there an equivalent for the "replaced_by" port?  For example,
> in "gnuradio-grc" I add in the above line, and then in
> "gnuradio-companion" I add in a line like:
> 
> replaces gnuradio-grc
> 
> so that 'port' knows that when activating "gnuradio-companion" it
> needs to check for deactivating "gnuradio-grc" first?

No, there is no such keyword. I see the point here, but for now we can
just recommend to always upgrade outdated ports before installing new ports.

Rainer


More information about the macports-dev mailing list