Date: Thu, 2 Apr 2015 06:24:14 +0000 From: Alexey Dokuchaev <danfe@FreeBSD.org> To: Danilo Egea Gondolfo <danilo@FreeBSD.org> Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org Subject: Re: svn commit: r382943 - in head/editors/nano: . files Message-ID: <20150402062414.GB89620@FreeBSD.org> In-Reply-To: <201504011934.t31JY8RY059263@svn.freebsd.org> References: <201504011934.t31JY8RY059263@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 01, 2015 at 07:34:08PM +0000, Danilo Egea Gondolfo wrote: > New Revision: 382943 > URL: https://svnweb.freebsd.org/changeset/ports/382943 > > [...] > PORTNAME= nano > -PORTVERSION= 2.2.6 > +PORTVERSION= 2.4.0 > CATEGORIES= editors > -MASTER_SITES= http://www.nano-editor.org/dist/v2.2/ \ > +MASTER_SITES= http://www.nano-editor.org/dist/v2.4/ \ > ${MASTER_SITE_GNU} > MASTER_SITE_SUBDIR= ${PORTNAME} Optimization hint: last three lines can be replaced by one: MASTER_SITES= http://www.nano-editor.org/dist/v${PORTVERSION:R}/ GNU Another bonus in using :R that it likely work for any reasonable PORTVERSION and thus next update will have smaller and cleaner diff. ./danfe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150402062414.GB89620>