From owner-freebsd-ports@FreeBSD.ORG Tue Feb 14 14:26:54 2012 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26180106566B for ; Tue, 14 Feb 2012 14:26:54 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: from vms173017pub.verizon.net (vms173017pub.verizon.net [206.46.173.17]) by mx1.freebsd.org (Postfix) with ESMTP id 095CC8FC17 for ; Tue, 14 Feb 2012 14:26:53 +0000 (UTC) Received: from [192.168.1.8] ([unknown] [96.242.210.31]) by vms173017.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LZD00L28XBYW6P1@vms173017.mailsrvcs.net> for ports@FreeBSD.org; Tue, 14 Feb 2012 07:26:27 -0600 (CST) Message-id: <4F3A60FE.7050009@aldan.algebra.com> Date: Tue, 14 Feb 2012 08:26:22 -0500 From: "Mikhail T." User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:6.0.2) Gecko/20110926 Thunderbird/6.0.2 MIME-version: 1.0 To: ports@FreeBSD.org Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit X-Mailman-Approved-At: Tue, 14 Feb 2012 15:08:46 +0000 Cc: Subject: Installing executables with generic names X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2012 14:26:54 -0000 Hello! I'm preparing a new port (net/udt), which installs a library with its header file and a handful of sample applications. The applications are rather generically named: sendfile, recvfile, test... Having them in ${PREFIX}/bin like that would be confusing. I see two alternatives: * use a port-specific prefix for each binary: udt-sendfile, udt-recvfile, udt-test, etc. or * use a port-specific subdirectory: ${PREFIX}/bin/udt/ (lua seems to do this) The first is simpler for me, but might be a trouble for anyone porting a script in the future, which calls the binaries by their generic name... Opinions? Thanks! Yours, -mi