Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 2013 07:23:44 +0000
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: Proposal for Authors / Vendors in ports
Message-ID:  <5285CC00.6010800@FreeBSD.org>
In-Reply-To: <CAF6rxgkJzj7YbBEuxOhTdMmb0NwZsgN-08OuMacT2ad%2BP=wSuQ@mail.gmail.com>
References:  <5283E4A0.6090107@pcbsd.org> <alpine.BSF.2.00.1311132124560.48376@fire.magemana.nl> <CAF6rxgmdewA=jtWL-8dyGrzSFTkxM2P8jWDYYcXr4BXOEdgx_w@mail.gmail.com> <20131114073008.GG90670@droso.dk> <9D6E2358-4750-41D5-9B8C-F638C8B1E351@xs4all.nl> <CAF6rxgkJzj7YbBEuxOhTdMmb0NwZsgN-08OuMacT2ad%2BP=wSuQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--LAncWVNaJWtQFVkDDIDmMU7EqAoMIhlQv
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 15/11/2013 00:54, Eitan Adler wrote:
> On Thu, Nov 14, 2013 at 5:41 PM, Jaap Akkerhuis <jaapna@xs4all.nl> wrot=
e:
>>
>> On Nov 14, 2013, at 8:30, Erwin Lansing <erwin@freebsd.org> wrote:
>>
>>> That sounds like an excellent idea.  I'm just a bit worried about
>>> spreading the information over too many places, and would rather spli=
t
>>> content from logic and add these to pkg-descr as well next to the
>>> current WWW.  I know we're not consistent already with things like
>>> COMMENT and LICENSE already in the Makefile, so won't ojbect too much=
 to
>>> where these end up.
>>
>> Apart from spreading this information into to many places (pkg_desc se=
ams
>> a proper place to have such information), why have the Makefile double=
 up
>> as a database?
>=20
> pkg_descr is free form.  Makefiles are parsable (make -V).

pkg_descr is only as free-form as we define it to be.  It's a lot
quicker to parse out the WWW entry from pkg_descr than it is to run
'make -V' to extract values from port Makefiles.  That's because make
includes and parses a whole stack of different files from /usr/ports/Mk
and elsewhere and does a bunch of other processing -- takes about 200ms
per port just to print out the variables used in the INDEX.

So, unless the variable is needed as part of the build process for a
port putting it in pkg_decr makes sense to me.  This could include some
well-known values like MAINTAINER if we want to go that far.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey



--LAncWVNaJWtQFVkDDIDmMU7EqAoMIhlQv
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.20 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQJ8BAEBCgBmBQJShcwJXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC
QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATwrgP/j7DbCTfmHTwklqbXgRFcG7n
2B1DKgiaBKrxbKSOqPhKFxGawUvfOmEmlHTYpwXufyOsX789Zj+YmJ8aalwW6Grm
hAfZGjhn0EE42Q8XAB2Q/bt2dZtApZqFifZyKQvRdzfIlzfgSJqmcIZD+rKm2/8v
db28KTt6RCVJwavS84C7D6B45XgNCjzTUkwbLNwAgmFKhsk6qsySeDJbgC19Tlti
K1VI7YML0P9WIwdVhX2djXMY/caRkeQAuiSbSVPIPyjVHYZsyBfPXcR8Ean3tf8H
MuRq/M7/KhImdX1xrqFhAbvYZfQmMjBr7uRcZZlE5jKmqQhuK5WQaYrxD+9ci4yY
EHa3OurBE+nxmJJnqZB5IhsTF9vkPeAN6/eGXgv40Zm2ySRJAU6ugvzeBgjWAwb+
+wO4XxE0paSlMrNoBvZJrG8oQL9m0DpAFE61ydlSQbWyAnDLtC/b+EyHx1RX+t4h
M+LdzDy2EWnIGXKsFPH0Zn+Mpq3j6xLzug6vEozNTtiECk2cOSVRAkH3etdgx4PZ
P49MPcOUvwVwIhLE9yFTiMgDoSKtvfhdxo8rKGnU1B2wPwGH8rCPJ2VWf26Trrr4
lxvbEr21KZdX62dz5jEm7CkBWedYVy4n/ZZJYs2MPUiVZ/x7Ib7591pJmBJE/XY0
toY68U1j5Fk8Tti9cvvE
=5+Wj
-----END PGP SIGNATURE-----

--LAncWVNaJWtQFVkDDIDmMU7EqAoMIhlQv--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5285CC00.6010800>