Date: Thu, 21 Sep 2006 10:38:47 +0200 From: Kirill Ponomarew <krion@voodoo.bawue.com> To: Lars Engels <lars.engels@0x20.net> Cc: freebsd-ports-bugs@FreeBSD.org, portmgr@FreeBSD.org Subject: Re: ports/103161: Add 'make version' to bsd.port.mk Message-ID: <20060921083847.GC85154@voodoo.bawue.com> In-Reply-To: <200609200710.k8K7AI0e002837@freefall.freebsd.org> References: <200609200710.k8K7AI0e002837@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060921083847.GC85154>