Getting port version

Matthew Seaman matthew at FreeBSD.org
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

or

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

	Cheers,

	Matthew



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20160704/5c6b15b3/attachment.sig>


More information about the freebsd-questions mailing list