Portfile for a virtual port?

Ryan Schmidt ryandesign at macports.org
Mon Aug 8 12:52:40 PDT 2011


On Aug 8, 2011, at 14:46, Bradley Giesbrecht wrote:

> On Aug 8, 2011, at 11:01 AM, Joshua Root wrote:
> 
>> It's close to the same thing; the difference is that instead of erroring
>> out you want to install the one file. And of course stub ports don't
>> have any dependencies.
> 
> I thought it was common/suggested that the replaced_by stub port have a dependency on the port that replaced them;

Nope.

> making it likely that "port upgrade outdated" will succeed when the replaced port is depended on by other ports.

If the replaced port is depended upon by other ports, those other ports need to be updated to now depend on the replacement. That's the responsibility of whoever caused the port to be replaced.





More information about the macports-dev mailing list