Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Apr 2015 09:34:10 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Alex Dupre <ale@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r382898 - head/java/proguard
Message-ID:  <20150401093410.GA39700@FreeBSD.org>
In-Reply-To: <201504010909.t3199AqE058318@svn.freebsd.org>
References:  <201504010909.t3199AqE058318@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 01, 2015 at 09:09:10AM +0000, Alex Dupre wrote:
> New Revision: 382898
> URL: https://svnweb.freebsd.org/changeset/ports/382898
> 
> [...]
>  PORTNAME=	proguard
> -PORTVERSION=	5.2
> +PORTVERSION=	5.2.1
>  CATEGORIES=	java devel
>  MASTER_SITES=	SF
> -MASTER_SITE_SUBDIR=	${PORTNAME}/${PORTNAME}/${PORTVERSION}
> +MASTER_SITE_SUBDIR=	${PORTNAME}/${PORTNAME}/${PORTVERSION:C/.1$//}

Two observations, if you permit:

1) ${PORTVERSION:C/.1$//} is kind of bogus, consider ${PORTVERSION:R}

2) You could've appended path to "SF" in MASTER_SITES and thus get rid of
MASTER_SITE_SUBDIR altogether.

./danfe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150401093410.GA39700>