Date: Thu, 14 Nov 2013 12:11:11 -0500 From: Kris Moore <kris@pcbsd.org> To: freebsd-ports@freebsd.org Subject: Re: Proposal for Authors / Vendors in ports Message-ID: <5285042F.4050501@pcbsd.org> In-Reply-To: <20131114083917.GL56153@ithaqua.etoilebsd.net> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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 <melvyn@magemana.nl> 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 ;) - -- Kris Moore PC-BSD Software iXsystems -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJShQQvAAoJEH/cIgwwV3zXYmUIAJsSvj9llOtyYgC/ri6pzCtn DkWniQB4zZzjShyq6DIFXAb2DiCwFicjm368U76PbiixH2JLGlLrG7lxBuZsZAqt W4vt+RifcEUSVsCCXP/Z8qItVL0cW2wEiWujqDhcWJSdZ7iPgcNyhEERkBpe67Dl e4C8OpznljVE1lplDdWUCD8y8UUPTnpHOSPkx/t1KJxZIsIKFzkuPT1hArYZ4Cpn wokJU2z+8uB9jmYq2QlOe4sFn9P07ZxBNGI1tCuTH1q9PNhj2xPK7y9GmGchv4GP sh++Z/CxeDFKXKP/ex+wiogx0r7Mn3kqlb2A6zWSSO8tBHszVvAumJMPRXh8QHY= =H8hI -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5285042F.4050501>