Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Oct 2016 02:08:18 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Mathieu Arnold <mat@FreeBSD.org>
Cc:        Boris Samorodov <bsam@passap.ru>, Boris Samorodov <bsam@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r423799 - in head/devel: . arduino-sevseg
Message-ID:  <20161014020818.GA32457@FreeBSD.org>
In-Reply-To: <aa95c3b6-ac3a-2a4f-7fb1-a8297a2890de@FreeBSD.org>
References:  <201610112119.u9BLJZUg025971@repo.freebsd.org> <78824109-0639-384b-3ec5-3e9245607d98@FreeBSD.org> <c192484e-fa0a-d253-13de-66d7c1e10a0a@passap.ru> <aa95c3b6-ac3a-2a4f-7fb1-a8297a2890de@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 12, 2016 at 02:53:04PM +0200, Mathieu Arnold wrote:
> Le 12/10/2016 ?? 14:44, Boris Samorodov a ??crit :
> > 12.10.2016 12:59, Mathieu Arnold пишет:
> >> Le 11/10/2016 ?? 23:19, Boris Samorodov a ??crit :
> >>> +PORTNAME=	arduino-sevseg
> >>>
> >>> +GH_PROJECT=	SevSeg
> >> This should be:
> >>
> >> PORTNAME=SevSeg
> >> PKGNAMEPREFIX=Arduino-
> > 
> > I like our tradition to have port names in lower case. There are
> > exceptions but this port AFAIK is not among them.
> 
> There is no such tradition.

Yes there is, please stop misguiding people Mathieu.  This tradition is
commongly seen throughout entire Unix heritage and is omnipresent, from
login names to APIs.  You may prefer c:\Documents and Settings\User Joe
but most of us don't.  Yes, this also applies to port and package names.

> The rule is that PORTNAME follows upstream's naming.  The only exception
> when the port installs a single utility and that utility is lowercased.

There are plenty if counterexamples to what you say, Firefox and PostgreSQL
would be a good start to reconsider your views.

> Now, this, here, is some library that does not install a binary, so that
> rule applies, follow upstream's choice of naming.

This is what we do for CPAN packages and others that 1) include a lot of
ports, 2) have an established naming convention of their own, 3) many of
them are common dependencies and it helps to have similar package names
with popular GNU/Linux distros.

For some random unattached port it's almost always better tolower() it,
(ir)regardless of whether it is a single utility, library, game with a
lot of resources, or anything else.

./danfe



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