From owner-freebsd-questions@FreeBSD.ORG Sun Oct 9 23:18:12 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18F2716A41F for ; Sun, 9 Oct 2005 23:18:12 +0000 (GMT) (envelope-from bsd-unix@comcast.net) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [63.240.76.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF51D43D48 for ; Sun, 9 Oct 2005 23:18:11 +0000 (GMT) (envelope-from bsd-unix@comcast.net) Received: from kt.weeble.com (pcp858615pcs.ptchar01.fl.comcast.net[68.56.224.228]) by comcast.net (sccrmhc13) with SMTP id <2005100923181001300bapvpe>; Sun, 9 Oct 2005 23:18:10 +0000 Date: Sun, 9 Oct 2005 19:18:10 -0400 From: Randy Pratt To: Micah 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> X-Mailer: Sylpheed version 1.0.5 (GTK+ 1.2.10; i386-portbld-freebsd4.11) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd@redry.net, freebsd-questions@freebsd.org Subject: Re: port version X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Oct 2005 23:18:12 -0000 On Sun, 09 Oct 2005 08:30:26 -0700 Micah 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 --