[Ports] How to find where a port is located?

Vince Hoffman jhary at unsane.co.uk
Fri Jun 13 10:41:12 UTC 2008


I use
cd /usr/ports && make search name=portname

It will return extraneous results from time to time.
eg.

[/usr/ports](11:39:22)
{root at prawn}#cd /usr/ports && make search name=lftp
Port:   lftp-3.7.3_1
Path:   /usr/ports/ftp/lftp
Info:   Shell-like command line ftp client
Maint:  ganael.laplanche at martymac.com
B-deps: expat-2.0.1 gettext-0.17_1 libiconv-1.11_1
R-deps: expat-2.0.1 gettext-0.17_1 libiconv-1.11_1
WWW:    http://lftp.yar.ru/

Port:   fusefs-curlftpfs-0.9.1_1
Path:   /usr/ports/sysutils/fusefs-curlftpfs
Info:   Mount remote ftp directories
Maint:  infofarmer at FreeBSD.org
B-deps: curl-7.18.0 fusefs-libs-2.7.2_1 gettext-0.17_1 glib-2.16.3_1
libiconv-1.11_1 pcre-7.7 perl-5.8.8_1 pkg-config-0.23_1 python25-2.5.2_2
R-deps: curl-7.18.0 fusefs-kmod-0.3.9.p1.20080208_1 fusefs-libs-2.7.2_1
gamin-0.1.9_2 gettext-0.17_1 gio-fam-backend-2.16.3_1 glib-2.16.3_1
libiconv-1.11_1 pcre-7.7 perl-5.8.8_1 pkg-config-0.23_1 python25-2.5.2_2
WWW:    http://curlftpfs.sourceforge.net/


Vince


Catalin Miclaus wrote:
> Gilles skrev:
>> Hello
>>
>> Currently, to find where a software is located under /usr/ports/, I
>> rune the "find" command. Is there a database that I could query
>> instead so that it gives out the whole path to that the application?
>>
>> Thank you.
> 
> Try 'whereis portname'.
> 
> 
> 
> 
> 
> Best Regards
> Catalin Miclaus
> Network/Security ISP-Data
> Starcomms Ltd.
> 
> 
> 
> Or
> 
> http://www.se.freebsd.org/ports/index.html
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list