From owner-freebsd-ports@freebsd.org Fri Apr 8 14:47:06 2016 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 99A53B076EC for ; Fri, 8 Apr 2016 14:47:06 +0000 (UTC) (envelope-from marquis@roble.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8B73C1B14 for ; Fri, 8 Apr 2016 14:47:06 +0000 (UTC) (envelope-from marquis@roble.com) Received: by mailman.ysv.freebsd.org (Postfix) id 8AD2AB076EB; Fri, 8 Apr 2016 14:47:06 +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 8A7E6B076E9 for ; Fri, 8 Apr 2016 14:47:06 +0000 (UTC) (envelope-from marquis@roble.com) Received: from mx5.roble.com (mx5.roble.com [206.40.34.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx5.roble.com", Issuer "mx5.roble.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 80BBF1B13 for ; Fri, 8 Apr 2016 14:47:06 +0000 (UTC) (envelope-from marquis@roble.com) Date: Fri, 8 Apr 2016 07:47:05 -0700 (PDT) From: Roger Marquis To: RW cc: ports@freebsd.org Subject: Re: Deriving base port/package names In-Reply-To: <20160408144957.26ad363f@gumby.homeunix.com> References: <51300.1460083670@server1.tristatelogic.com> <5707b24b.9143620a.1a679.ffffbb00SMTPIN_ADDED_MISSING@mx.google.com> <20160408144957.26ad363f@gumby.homeunix.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2016 14:47:06 -0000 > A port name can contain digits and hyphens, so this could remove > part of the name. As in: `pkg rquery -a %n | grep -- '-[0-9]' | fmt` efax-0.9a font-adobe-100dpi font-adobe-75dpi font-adobe-utopia-100dpi font-adobe-utopia-75dpi font-bh-100dpi font-bh-75dpi font-bh-lucidatypewriter-100dpi font-bh-lucidatypewriter-75dpi font-bitstream-100dpi font-bitstream-75dpi gl-117 gnome-2048 ja-edict-utf-8 ja-kon2-14dot ja-kon2-16dot ja-rubygem-mail-iso-2022-jp krb5-112 krb5-113 krb5-114 liblqr-1 libutf-8 linux-enemyterritory-jaymod-217 linux-enemyterritory-omni-bot-0660 nvidia-driver-304 nvidia-driver-340 onscripter-1byte p5-Acme-6502 p5-Business-OnlinePayment-2CheckOut p5-Chemistry-3DBuilder p5-WWW-2ch p5-WWW-Shorten-0rz ppmd-7z qt5-3d quake2-3zb2 stf-6rd-kmod vte3-290 xhtml-11 xorg-fonts-100dpi xorg-fonts-75dpi Some of us see this as a weakness in the standard. That plus the lack of documentation where you'd expect to find it violates the principles of least surprise and KIS. Roger