Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Oct 2005 19:18:10 -0400
From:      Randy Pratt <bsd-unix@comcast.net>
To:        Micah <micahjon@ywave.com>
Cc:        freebsd@redry.net, freebsd-questions@freebsd.org
Subject:   Re: port version
Message-ID:  <20051009191810.4af51663.bsd-unix@comcast.net>
In-Reply-To: <43493792.9020505@ywave.com>
References:  <65D23745-1847-4ABA-99F5-35739E1E0D97@redry.net> <43493792.9020505@ywave.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 09 Oct 2005 08:30:26 -0700
Micah <micahjon@ywave.com> wrote:

> eoghan wrote:
> > Hello
> > I have done some searching but not really found my answer. I was  
> > wondering if there is a way to check port version? I cvsup'd my ports  
> > and id like to check version of some ports before I install them...
> > I know many have the version in the dir like mysql. But for example / 
> > usr/ports/X11/kde3/
> > I dont know if this is 3.4 or 3.5? I have checked the make file...  But 
> > I dont see the version.
> > Thanks
> > Eoghan
> 
> There may be easier ways, but this is how I check. For regular ports 
> (your example is a metaport) you can check distinfo to see which version 
> of the source files it's downloading.  You can also check 
> www.freshports.org and see there along with other useful information. 
> According to freshports, the kde3 in a recently updated ports tree is 3.4.2.
> 
> HTH,
> Micah

I think what you may be asking for can be found using the ports
Make variables, for example:

	cd /usr/ports/x11/kde3
	make -V PKGNAME

The above returns "kde-3.4.2" on my system.  Of course, there are
more ports Make variables which can be found in:

	/usr/ports/Mk/bsd.port.mk

HTH!

Randy

-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051009191810.4af51663.bsd-unix>