Finding depends-on ports
Adam Weinberger
adamw at adamw.org
Sat Jun 3 20:59:45 UTC 2017
> On 3 Jun, 2017, at 14:44, Beeblebrox via freebsd-ports <freebsd-ports at freebsd.org> wrote:
>
> Thanks Matt for the suggestion, INDEX is a very good idea
>
> I am unable to figure out how to map package name to port name though
> as INDEX does not store origins. Any suggestions?
freshports.org lists all ports that depend on a specific port, which might make things simpler for you.
INDEX does store origins---it's the second field. Loop on dependency packages and grep for lines that start with that package name, and cut the second field.
# Adam
--
Adam Weinberger
adamw at adamw.org
https://www.adamw.org
More information about the freebsd-ports
mailing list