svn commit: r382898 - head/java/proguard
Alexey Dokuchaev
danfe at FreeBSD.org
Wed Apr 1 09:34:10 UTC 2015
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
More information about the svn-ports-head
mailing list