I'm trying to figure out where ports keep their dependency
information, and the best way to parse it? On a Linux rpm-based
system, I can do the following:

Linux RPM                          |       FreeBSD Ports         |  Task
rpm -qa                                      pkg_info
   List all installed packages
rpm -ql <package>                       pkg_info -L <package>  List
files in package
rpm -qf <file>                              pkg_which <file>
Which package does file belong to?
rpm -q --requires <package>          ?
List dependencies of package
rpm -q --whatrequires <package>   ?
Reverse-dependencies of package

If anyone has compiled this, it would help me out.

Michael P. Soulier <[EMAIL PROTECTED]>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to