From owner-freebsd-ports@FreeBSD.ORG Sat Jun 16 16:04:00 2012 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4061E1065670; Sat, 16 Jun 2012 16:04:00 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 07B318FC08; Sat, 16 Jun 2012 16:04:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q5GG3x9U007076; Sat, 16 Jun 2012 16:03:59 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q5GG3xwm007075; Sat, 16 Jun 2012 16:03:59 GMT (envelope-from bapt@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f Date: Sat, 16 Jun 2012 18:03:57 +0200 From: Baptiste Daroussin To: Matthew Seaman Message-ID: <20120616160356.GN98264@ithaqua.etoilebsd.net> References: <4FD8AFEC.6070605@FreeBSD.org> <4FDC9488.2010509@FreeBSD.org> <20120616145341.GK98264@ithaqua.etoilebsd.net> <4FDCAB02.2040701@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7fwXp2o0gOrkU5lS" Content-Disposition: inline In-Reply-To: <4FDCAB02.2040701@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Chris Rees , freebsd-ports Subject: Re: [CFT] UNIQUENAME patches 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: Sat, 16 Jun 2012 16:04:00 -0000 --7fwXp2o0gOrkU5lS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 16, 2012 at 04:49:22PM +0100, Matthew Seaman wrote: > On 16/06/2012 15:53, Baptiste Daroussin wrote: > > What could be added is a UNIQUENAMESUFFIX to be able to have a finer gr= ain name. >=20 > That's certainly possible, but I was thinking about your plans to create > sub-packages. As I understand it, you'll be building and installing > each port into a staging area, and then creating a number of different > packages from what's in the staging area. >=20 > So for a port foo, you might create: >=20 > foo-0.99 --- the foo application and libfoo.so.0 shared > library > foo-docs-0.99 --- documentation > foo-examples-0.99 --- example configurations etc. > foo-devlibs-0.99 --- *.h headers, libfoo.a static lib, profiling > libs and other things useful for developers. >=20 > and so forth. So these are distinct packages all from one port with its > own UNIQUENAME and hence all using that port's OPTIONS settings, and all > built in one block. >=20 > Having UNIQUENAMESUFFIX for docs, examples, devlibs etc. would imply all > of those are entirely separate ports, like the way bacula and > bacula-docs are handled at the moment. >=20 > I can see there will need to be some sort of SUBPACKAGESUFFIXES variable > and associated gubbins in the ports makefiles, to do that, > plus something like tagging the entries in pkg-plist to identify which > sub-package they should belong to. >=20 > Trying to mix that with UNIQUENAMESUFFIXes would get pretty complicated. > Not to mention the question of foo-devel -- is that the devel > sub-package of the foo port, or a separate foo-devel port?[*] Yes you are right regards, Bapt --7fwXp2o0gOrkU5lS Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk/crmwACgkQ8kTtMUmk6Ew0XwCfYNBZVYvAjscG3Xy2CN4Xlg1B VtkAn1Y0CoKOaciRXmDWmKr2jLXyfGXE =Ijl6 -----END PGP SIGNATURE----- --7fwXp2o0gOrkU5lS--