Jonathan wrote:
> On 8/24/2009 8:23 PM, Andrew Reilly wrote:
>> Is there any convenient way to list dependencies hierarchially,
>> rather than the flat set that pkg_info -r provides?
> 
> I've found pkg_tree to be useful for that.
> http://www.freebsd.org/cgi/url.cgi?ports/ports-mgmt/pkg_tree/pkg-descr
> 
> The feature I use the most is pkg_tree -tq which gives a list of all
> ports that are not depended on by any other ports, i.e. the minimal set
> to manually reinstall to replicate a set of installed ports on another
> machine.

portmaster -l will give you a list of ports in the following categories:

===>>> Root ports (No dependencies, not depended on)
===>>> Trunk ports (No dependencies, are depended on)
===>>> Branch ports (Have dependencies, are depended on)
===>>> Leaf ports (Have dependencies, not depended on)

There is a procedure in the man page that describes how to use that
information to do a clean reinstall of your ports.


hth,

Doug

-- 

    This .signature sanitized for your protection

_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to