freetype in ports?

Warren Block wblock at wonkity.com
Wed May 20 19:29:19 UTC 2015


On Wed, 20 May 2015, Jeffry Killen wrote:

> Hello;
>
> I want to add freetype to system so I can build php5.6x with GD, with 
> freetype
> ttf font support.
>
> I did
> find /usr/ports *freetype* and no match came up

Use -name.  If the stars are used, they have to be protected from shell 
expansion:  find /usr/ports -name "*freetype*"

But usually ports can be found quickly with whereis:
   % whereis freetype
   freetype: /usr/ports/print/freetype

If you don't know the exact name used, there are search options like 
Polytropon showed, or the freshports.org website can be handy.


More information about the freebsd-questions mailing list