Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jul 2016 18:23:23 +0100
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Getting port version
Message-ID:  <20160704182323.1df6e2d8@gumby.homeunix.com>
In-Reply-To: <aab1fc95-22bb-61c3-02d8-52f45e3b263b@freebsd.org>
References:  <d5212e65-513d-38f3-529d-526b899600b6@columbus.rr.com> <aab1fc95-22bb-61c3-02d8-52f45e3b263b@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 4 Jul 2016 17:36:00 +0100
Matthew Seaman wrote:

> 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

or PKGVERSION - PORTVERSION doesn't include the epoch 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160704182323.1df6e2d8>