Date: Thu, 14 Nov 2013 18:19:50 +0100 From: Baptiste Daroussin <bapt@FreeBSD.org> To: Kris Moore <kris@pcbsd.org> Cc: freebsd-ports@freebsd.org Subject: Re: Proposal for Authors / Vendors in ports Message-ID: <20131114171950.GN56153@ithaqua.etoilebsd.net> In-Reply-To: <5285042F.4050501@pcbsd.org> 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> <20131114083917.GL56153@ithaqua.etoilebsd.net> <5285042F.4050501@pcbsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--N/GrjenRD+RJfyz+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 14, 2013 at 12:11:11PM -0500, Kris Moore wrote: >=20 > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > On 11/14/2013 03:39, Baptiste Daroussin wrote: > > On Thu, Nov 14, 2013 at 08:30:08AM +0100, Erwin Lansing wrote: > >> On Wed, Nov 13, 2013 at 04:47:20PM -0500, Eitan Adler wrote: > >>> On Wed, Nov 13, 2013 at 3:27 PM, Melvyn Sopacua <melvyn@magemana.nl> > wrote: > >>>> On Wed, 13 Nov 2013, Kris Moore wrote: > >>>> > >>>>> > >>>>> Wanted to run this by the ports community, see your thoughts. We bu= ild > >>>>> our PBIs from the ports system, and are able to parse most of the > >>>>> information out for display graphically, like descriptions, > maintainers, > >>>>> website, License, etc. However we currently don't have a way to > pull the > >>>>> actual name of the upstream vendor / author. I.E. for Firefox the > vendor > >>>>> would be "Mozilla". > >>>> > >>>> > >>>> WWW: [Mozilla](http://www.mozilla.org/) > >>>> > >>>> So, markdown format in pkg-descr. Seems the least amount of work? > >>> > >>> This adds a lot of work to the parser. > >>> > >>> IMHO we should have VENDOR_WWW and possibly VENDOR_NAME in the port's > >>> Makefile. It should not be hard to automate this for VENDOR_WWW since > >>> we already have the WWW: lines in pkg-descr. > >>> > >> > >> That sounds like an excellent idea. I'm just a bit worried about > >> spreading the information over too many places, and would rather split > >> 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. > >> > >> Erwin > >> > > That is easy to fix: > > VENDOR=3D MOZILLA > > MOZILLA_VENDOR_NAME=3D mozilla > > MOZILLA_VENDOR_WWW=3D http://www.mozilla.org/ > > > > and a bsd.vendor.mk the same way we have bsd.options.mk > > > > if MOZILLA_VENDOR_NAME and MOZILLA_VENDOR_WWW are already in > bsd.vendor.mk the > > port just have to specify VENDOR: MOZILLA > > > > Don't know if it is worth capitalizing :) > > > > regards, > > Bapt >=20 > This seems a great way to do it. I'm not picky as to how its done, just > as long as in PKGNG I can use pkg query '%foo' and pull the information ;) >=20 What can be done is to automatically add it into annotations, so querying annotation should give you the right information :) regards, Bapt --N/GrjenRD+RJfyz+ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlKFBjYACgkQ8kTtMUmk6EzTCQCgsHFglLTYWHBBRlCdx6B8WWX+ 0vAAn0+CQzu4EXPhw5uzgRAlCJEqTo03 =FSPI -----END PGP SIGNATURE----- --N/GrjenRD+RJfyz+--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131114171950.GN56153>