On Thu, Nov 14, 2013 at 12:11:11PM -0500, Kris Moore wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > 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 <[email protected]> > wrote: > >>>> On Wed, 13 Nov 2013, Kris Moore wrote: > >>>> > >>>>> > >>>>> Wanted to run this by the ports community, see your thoughts. We build > >>>>> 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= MOZILLA > > MOZILLA_VENDOR_NAME= mozilla > > MOZILLA_VENDOR_WWW= 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 > > 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 ;) >
What can be done is to automatically add it into annotations, so querying annotation should give you the right information :) regards, Bapt
pgpAztdsi1Mlb.pgp
Description: PGP signature
