How to get a full list of dependents?

Ian Wadham iandw.au at gmail.com
Fri Feb 8 15:57:40 PST 2013


On 08/02/2013, at 6:13 PM, Ryan Schmidt wrote:
> On Feb 7, 2013, at 23:26, Ian Wadham wrote:
>> How can I get a full list of ports that are dependents of "xxx", whether or not
>> they or "xxx" are installed?
> 
> I grep the Portfiles, which tells me Pallet is the only user of MacPorts_Framework at this time—at least, the only one for which we have a port:
> 
> $ port file all | xargs grep :MacPorts_Framework
> /Users/rschmidt/macports/dports/sysutils/Pallet/Portfile:depends_lib-append      port:MacPorts_Framework
> $

Thanks, Ryan.  I get the general idea and can refine it with a script
as I go along.

BTW, I was under the impression that Macports works with a SQLite
database.  Could I write SQL SELECT commands for that? i.e. read
only access.

Cheers, Ian W.



More information about the macports-users mailing list