Date: Tue, 10 Jun 2008 18:24:17 +0300 From: Peter Pentchev <roam@ringlet.net> To: Jeffrey Goldberg <jeffrey@goldmark.org> Cc: freebsd-ports@freebsd.org Subject: Re: Where should "contrib" scripts and utilities be installed? Message-ID: <20080610152417.GA1045@straylight.m.ringlet.net> In-Reply-To: <20080610005448.GC58305@shepherd> References: <E7DE7397-7024-4CDF-B2EC-ABFA5880C879@goldmark.org> <20080610005448.GC58305@shepherd>
next in thread | previous in thread | raw e-mail | index | archive | help
--8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 09, 2008 at 08:54:49PM -0400, Sahil Tandon wrote: > Jeffrey Goldberg <jeffrey@goldmark.org> wrote: >=20 > > When some project includes a contrib/ directory with its source where= =20 > > should those canonically be installed? > > > > /usr/local/share/$PORT > > > > or > > > > /usr/local/share/doc/$PORT > > > > or someplace else. > > > > In particular, I'm planing on submitting a patch to sysutils/rsnapshot = port=20 > > to also install, somewhere, the contrib directly that comes out of the= =20 > > tarball. > =20 > The existence of ports with a "-contrib" suffix suggests you may need to= =20 > create a distinct port for the contrib files. databases/postgresql-contr= ib,=20 > for example. Actually, that is not strictly necessary. There are other ports that do things in slightly different ways: - some things in contrib/ are merely documentation snippets that belong in share/doc/$PACKAGE, as Jeffery suggested - some things in contrib/ are sample additions, implementations, clients, add-ons and such that *might* belong in share/examples/$PACKAGE - some things in contrib/ are scripts, clients, add-ons and such that might also belong in libexec/$PACKAGE (if they are executable files) or share/$PACKAGE (if they are not... I can't think of any examples right now, but there might be) - some things in contrib/ are really best left in a separate port :) For rsnapshot itself - erm, I don't see a contrib/ directory in its source; do you mean the utils/ directory, or are you looking at some version that is not in the Ports Collection yet? :) If it is utils/ that you mean, then, well, it's actually your choice - the things there seem to be little scripts that may live in $EXAMPLESDIR, may live in libexec/rsnapshot/, and may live in a separate rsnapshot-utils port. Either way would be fine, at least IMHO. G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@cnsys.bg roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 Hey, out there - is it *you* reading me, or is it someone else? --8t9RHnE3ZwKMSgU+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhOnKEACgkQ7Ri2jRYZRVP+gACfWoKq6F4RmuPB7nwmVhjRVznd GSIAoKuPYkOmc1Eia2z5QnIJ6OIwMJGR =fFy0 -----END PGP SIGNATURE----- --8t9RHnE3ZwKMSgU+--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080610152417.GA1045>