From owner-freebsd-ports@freebsd.org Mon Nov 13 09:48:15 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6F8B9D7ECBF for ; Mon, 13 Nov 2017 09:48:15 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 53C8267ACC for ; Mon, 13 Nov 2017 09:48:15 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: by mailman.ysv.freebsd.org (Postfix) id 504C5D7ECBE; Mon, 13 Nov 2017 09:48:15 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4FF7CD7ECBD for ; Mon, 13 Nov 2017 09:48:15 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: from mx.nsu.ru (mx.nsu.ru [84.237.50.39]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0159C67ACA for ; Mon, 13 Nov 2017 09:48:14 +0000 (UTC) (envelope-from danfe@regency.nsu.ru) Received: from Debian-exim by mx.nsu.ru with local (Exim 4.72) (envelope-from ) id 1eEBLf-0005RD-7s for ports@freebsd.org; Mon, 13 Nov 2017 16:48:11 +0700 Received: from [84.237.50.47] (helo=regency.nsu.ru) by mx.nsu.ru with esmtp (Exim 4.72) (envelope-from ) id 1eEBLf-0005Qy-5s; Mon, 13 Nov 2017 16:48:11 +0700 Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.14.2/8.14.2) with ESMTP id vAD9uo5N093693; Mon, 13 Nov 2017 15:56:50 +0600 (NOVT) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.14.2/8.14.2/Submit) id vAD9ujg2093676; Mon, 13 Nov 2017 16:56:45 +0700 (+07) (envelope-from danfe) Date: Mon, 13 Nov 2017 16:56:45 +0700 From: Alexey Dokuchaev To: Mathieu Arnold Cc: "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> References: Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.1i X-KLMS-Rule-ID: 3 X-KLMS-Message-Action: skipped X-KLMS-AntiSpam-Status: not scanned, whitelist X-KLMS-AntiPhishing: not scanned, whitelist X-KLMS-AntiVirus: Kaspersky Security 8.0 for Linux Mail Server, version 8.0.1.705, not scanned, whitelist X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Nov 2017 09:48:15 -0000 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