svn commit: r382943 - in head/editors/nano: . files

Alexey Dokuchaev danfe at FreeBSD.org
Thu Apr 2 06:24:14 UTC 2015


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


More information about the svn-ports-head mailing list