M. Warner Losh wrote:
> In message: <[EMAIL PROTECTED]>
>             "[LoN]Kamikaze" <[EMAIL PROTECTED]> writes:
> : I see I misunderstood, sorry about that. So how about that one:
> : 
> : # find /usr/ports/ -type f -name pkg-plist -exec grep -El
> : '[EMAIL PROTECTED]:space:]]+/boot' \{} \; | sed -E 's|^/usr/ports/||1' | 
> sed -E
> : 's|/pkg-plist$||1'
> : 
> : It only works with ports that have a pkg-plist file, though.
> 
> This won't quite work because there are things like:
> 
> % cat multimedia/pvr250/pkg-plist
> @unexec rm %%MODULESDIR%%/cxm.ko
> @unexec rm %%MODULESDIR%%/cxm_iic.ko
> bin/pvr250-setchannel
> 
> I'd kinda hoped there was a pseudo category that I could key off of.
> pvr250 is also kinda a mess too, since I can't build it w/o a CD I
> don't have...
> 
> Warner

The only completely reliable way I see is to install all ports, because the
TMPPLIST only reaches its final state in the post-install target.

Then you could use my first solution, to grep through the output of
pkg_info -qaL
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to