Getting port version

Matthew Seaman matthew at
Mon Jul 4 16:36:04 UTC 2016

On 07/04/16 17:23, Baho Utot wrote:
> Is there some other way I can fetch the version from the Makefile?

Use make(1):

   make -C /usr/ports/some/thing -V PKGNAME


   make -C /usr/ports/some/thing -V PORTVERSION



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the freebsd-questions mailing list