From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 21 08:38:59 2006 Return-Path: X-Original-To: freebsd-ports-bugs@FreeBSD.org Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DEAF16A40F; Thu, 21 Sep 2006 08:38:59 +0000 (UTC) (envelope-from krion@voodoo.bawue.com) Received: from voodoo.bawue.com (voodoo.bawue.com [212.9.161.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C21243D78; Thu, 21 Sep 2006 08:38:46 +0000 (GMT) (envelope-from krion@voodoo.bawue.com) Received: from krion by voodoo.bawue.com with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GQK51-0000Hi-AF; Thu, 21 Sep 2006 10:38:47 +0200 Date: Thu, 21 Sep 2006 10:38:47 +0200 From: Kirill Ponomarew To: Lars Engels Message-ID: <20060921083847.GC85154@voodoo.bawue.com> Mail-Followup-To: Kirill Ponomarew , Lars Engels , portmgr@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org References: <200609200710.k8K7AI0e002837@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200609200710.k8K7AI0e002837@freefall.freebsd.org> X-NIC-HDL: KP869-RIPE Keywords: 477273987 Cc: freebsd-ports-bugs@FreeBSD.org, portmgr@FreeBSD.org Subject: Re: ports/103161: Add 'make version' to bsd.port.mk X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Sep 2006 08:38:59 -0000 On Wed, Sep 20, 2006 at 07:10:18AM +0000, Lars Engels wrote: > > On Mon, Sep 11, 2006 at 10:45:56PM +0200, Lars Engels wrote: > > > >> When run in a port's directory, 'make version' shows the the port's > >> name and version (${PKGNAME}), so no more searching in the > >> Makefile is needed. > >> While I'm in ports.7, I added the description for 'make maintainer', too. > > > > What's wrong with 'make -V PKGNAME'? > > > > Kris > > Hi Kris, > > in my opinion, 'make -V PKGNAME' is not very user friendly and > intuitive. And because there is also a 'make maintainer' target, I > thought it was a good idea to add the 'version' target. If submitter doesn't object, I'd like to close this PR. We have: .if !target(package-name) package-name: @${ECHO_CMD} ${PKGNAME} .endif which does exactly what submitter needs. -Kirill