Pain finding packages

Mike Clarke jmc-freebsd2 at milibyte.co.uk
Sun Jan 31 10:06:00 UTC 2010


On Saturday 30 January 2010, Kurt Buff wrote:

> For make, do the following, after csup (or an alternative):
>
>      cd /usr/ports
>      make search name=samba | less
> or
>      cd /usr/ports
>      make search key=samba | less
>
> Then browse that list to see what most particularly applies to your
> needs.

Or, for more compact output, try this script:

	#!/bin/sh
	cd /usr/ports
	make search name=$1 | egrep "^(Port|Path|Info|Moved)" | less

-- 
Mike Clarke


More information about the freebsd-questions mailing list