Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Aug 2016 07:27:40 -0500
From:      John Marino <freebsd.contact@marino.st>
To:        Mathieu Arnold <mat@FreeBSD.org>, Kevin Lo <kevlo@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r419671 - in head/astro: . py-horoscopegenerator
Message-ID:  <a70338de-a0fd-475f-ed0e-aa5b38ba1ff8@marino.st>
In-Reply-To: <968D6E601071E0C74CE38307@ogg.in.absolight.net>
References:  <201608050755.u757tYOi052449@repo.freebsd.org> <968D6E601071E0C74CE38307@ogg.in.absolight.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/5/2016 07:19, Mathieu Arnold wrote:
> +--On 5 août 2016 07:55:34 +0000 Kevin Lo <kevlo@FreeBSD.org> wrote:
> | +PORTNAME=	horoscopegenerator
> | +PORTVERSION=	0.1.8
> | +CATEGORIES=	astro python
> | +MASTER_SITES=	CHEESESHOP
> | +DISTNAME=	${PORTNAME:S/h/H/:S/g/G/}-${PORTVERSION}
>
> You should use PORTNAME=HoroscopeGenerator instead of doing things like
> this (it makes it a bit hard to figure out what you mean, at first.)
>

I thought mixed case was discouraged.
Anyway, this would have been fine:
DISTNAME=	${PORTNAME:tl}-${PORTVERSION}

right?

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a70338de-a0fd-475f-ed0e-aa5b38ba1ff8>