From owner-freebsd-ports@FreeBSD.ORG Fri Oct 5 15:17:42 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 54CE4106566B for ; Fri, 5 Oct 2012 15:17:42 +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 1F8378FC22; Fri, 5 Oct 2012 15:17:42 +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 q95FHga3068777; Fri, 5 Oct 2012 15:17:42 GMT (envelope-from bapt@freebsd.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q95FHfxF068775; Fri, 5 Oct 2012 15:17:41 GMT (envelope-from bapt@freebsd.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@freebsd.org using -f Date: Fri, 5 Oct 2012 17:17:39 +0200 From: Baptiste Daroussin To: Eitan Adler Message-ID: <20121005151739.GC61272@ithaqua.etoilebsd.net> References: <20121005140534.GB61272@ithaqua.etoilebsd.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2/5bycvrmDh4d1IB" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: ports@freebsd.org Subject: Re: [CHANGE PROPOSAL] Moving WWW from pkg-descr to Makefile 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: Fri, 05 Oct 2012 15:17:42 -0000 --2/5bycvrmDh4d1IB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 05, 2012 at 10:25:07AM -0400, Eitan Adler wrote: > On 5 October 2012 10:05, Baptiste Daroussin wrote: > > Hi, > > > > I want to propose and make the actual move of the WWW information from = the > > pkg-descr to the Makefile itself via a WWW variable. > > > > doing this will have multiple benefits: > > * consistency all metadata bug this one are in Makefile > > * speedup make describe avoiding using grep to get the informations (m= ake > > describe itself does not need speed but make index heavily use it an= d this > > will definitly benefit from speed up) > > * Third party tool will be able to probe the information more easily. > > > > Do anyone have any concern about this? >=20 > I've brought this up before in private, but I figure this is a good > time to mention it. I'd prefer to see a more generic way of supplying > * arbitrary* meta-data about ports in the makefile. For example > something like >=20 > META=3D WWW=3Dhttps://example.com \ > CHANGELOG=3Dhttps://example.com/cl \ > DESKTOP=3Dkde \ > REDPORTS=3Dsome-special-options \ > PORTSCOUT=3Dsome-other-tool > etc. While the idea sounds good, how do you retrive the informations out of a si= mple make command, and possibilty with limiting the parsing as much as possible? equivalent of make -VWWW (for example for make describe) regards, Bapt --2/5bycvrmDh4d1IB Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlBu+hMACgkQ8kTtMUmk6Exs0gCdFMNgZcXF14bd41EcGlr/GvrI 2Z8AoMIKdxvi9aHnnTTVF6RyDkjIFafE =uvEy -----END PGP SIGNATURE----- --2/5bycvrmDh4d1IB--