Date: Mon, 13 Nov 2017 16:56:45 +0700 From: Alexey Dokuchaev <danfe@nsu.ru> To: Mathieu Arnold <mat@freebsd.org> Cc: "ports@freebsd.org" <ports@freebsd.org> Subject: Re: Can a port directory name have capital letters when the project name has them: audio/abGate-lv2 ? Message-ID: <20171113095645.GA92154@regency.nsu.ru> In-Reply-To: <ec2a7b79-8b58-e28f-a765-d90127b41be1@FreeBSD.org> References: <e9dedffe-688e-a604-a37f-2bd2e373423b@rawbw.com> <ec2a7b79-8b58-e28f-a765-d90127b41be1@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 13, 2017 at 09:56:06AM +0100, Mathieu Arnold wrote: > Le 10/11/2017 ?? 23:05, Yuri a ??critš: > > There are two competing directory name suggestions for the project > > with the name abGate: > > > > audio/abGate-lv2 > > > > audio/abgate-lv2 > > > > Should I choose the former one or the latter one? > > The directory name should match PKGBASE. (with the various python or lua > or stuff versions stripped off, for example py27-foo -> py-foo.) > > PORTNAME should match what upstreams calls the software. <<< My standard reply to this narrative of Mathieu's. >>> We have a tradition to have port names in lower case. This tradition is commongly seen throughout entire Unix heritage and is omnipresent, from login names, header files, to APIs. Mathieu may prefer C:\Documents and Settings\User Joe but most of us don't. Yes, this also applies to port and package names. > The only exception where PORTNAME should be downcase if it installs a > single binary that is lowercase, say upstream is called LsOF, and it > only installs lsof. There are plenty of counterexamples to what Mathieu sais, e.g. Firefox and PostgreSQL would be a good start. :-) We do follow upstream 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, thus it helps to have similar package names with popular GNU/Linux distros. For some random unattached port it's almost always better tolower() it, 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?20171113095645.GA92154>