From owner-freebsd-ports@FreeBSD.ORG Sat Apr 30 23:00:56 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C98B16A4CE for ; Sat, 30 Apr 2005 23:00:56 +0000 (GMT) Received: from mail.efacilitas.de (efacilitas.de [213.133.110.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DC8E43D2F for ; Sat, 30 Apr 2005 23:00:56 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from eurystheus.local (port-212-202-39-77.dynamic.qsc.de [212.202.39.77]) by mail.efacilitas.de (Postfix) with ESMTP id 033CD123A42; Sun, 1 May 2005 00:59:44 +0200 (CEST) Received: from localhost (eurystheus.local [192.168.1.67]) by eurystheus.local (Postfix) with ESMTP id 0B91912B34F; Sun, 1 May 2005 01:00:48 +0200 (CEST) Received: from eurystheus.local ([192.168.1.67]) by localhost (eurystheus.locaL [192.168.1.67]) (amavisd-new, port 10024) with ESMTP id 74263-06; Sun, 1 May 2005 01:00:42 +0200 (CEST) Received: from [192.168.1.67] (eurystheus.local [192.168.1.67]) by eurystheus.local (Postfix) with ESMTP id 1A61212B34E; Sun, 1 May 2005 01:00:42 +0200 (CEST) Message-ID: <42740E19.6050804@cs.tu-berlin.de> Date: Sun, 01 May 2005 01:00:41 +0200 From: =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050425 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alejandro Pulver References: <20050430181439.678b4f85@ale.varnet.bsd> In-Reply-To: <20050430181439.678b4f85@ale.varnet.bsd> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at example.com cc: freebsd-ports@freebsd.org Subject: Re: Naming questions X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Apr 2005 23:00:56 -0000 Alejandro Pulver wrote: >I am making a port that only has a GTK interface, should it be suffixed >by "-gtk"? > If the program works only with gtk and not without, not even as an option, then don't use PKGNAMESUFFIX. If you want to give the user the chance to choose between a GUI or just a command line tool, then it depends on your default how you may want to use PKGNAMESUFFIX. Take the port 'editors/vim' as an example; the user has the opportunity to make a decision between the default and with GTK+2 support; and the final package is named just 'vim' or 'vim-gtk2'. Another example is 'net/cvsup'; if you compile it with WITHOUT_X11 you'll get 'cvsup-without-gui', otherwise just 'cvsup'. You can stick to other ports which might give some inspirations. >If not, the executable it installs has the suffix "-gtk", >should it be removed to match the port name? > > This is not necessary. >If there is a port that is splitted in components (like "foo-doc", >"foo-gtk", etc.). Should they use PKGNAMESUFFIX? > The suffix is primarily intended for compilation specific things, but 'databases/postgresql' shows that it is possible to use it for -server, -client, -doc, -odbc, i.e. components. See also http://www.freebsd.org/doc/en/books/porters-handbook/makefile-naming.html#AEN582 Björn