Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jun 2017 14:59:36 -0600
From:      Adam Weinberger <adamw@adamw.org>
To:        Beeblebrox <zaphod@berentweb.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Finding depends-on ports
Message-ID:  <CB4DFD95-DB3C-4D24-B50D-37993F069536@adamw.org>
In-Reply-To: <20170603234451.37318f11@rsbsd>
References:  <20170602221856.5f239d23@rsbsd> <20170603234451.37318f11@rsbsd>

next in thread | previous in thread | raw e-mail | index | archive | help
> On 3 Jun, 2017, at 14:44, Beeblebrox via freebsd-ports =
<freebsd-ports@freebsd.org> wrote:
>=20
> Thanks Matt for the suggestion, INDEX is a very good idea
>=20
> 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


--=20
Adam Weinberger
adamw@adamw.org
https://www.adamw.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CB4DFD95-DB3C-4D24-B50D-37993F069536>