-----BEGIN PGP SIGNED MESSAGE-----

Moin Randy,

On Saturday 20 November 2004 23:07, Randy W. Sims wrote:
> Tels wrote:
> > I already wondered many times why the license for most of my modules is
> > not set/shown at search.cpan.org, even though modules like BigInt have
> > simple the perl license (being part of the core etc).
> >
> > Seems like setting a "license: perl" line in META.yml would fix this.
> > However, everytime I run "make dist", the META.yml file is overwritten
> > again, with the license line missing. And it seems that MakeMaker doesn't
> > have a "LICENSE =>" setting.
> >
> > Of course, I can set "NO_META" to true, and modify the META.yml file
> > manually, but that looses the handy property that META.yml is
> > autogenerated with the correct dependencies etc. (e.g. everytime I change
> > Makefile.PL, I have to remember to change META.yml, which I surely will
> > forget from time to time. Ugh.)
> >
> > So, is it possible to have MakeMaker to generate the license line
> > automagically, or I am something missing?
>
> Current versions of MM don't have an option for setting the license. I
> think I sent a patch a while back for the next release. You can find an
> example of how you can override MM's rule for creating META.yml in:
> <http://search.cpan.org/src/MHX/Convert-Binary-C-0.56/Makefile.PL>
>
> Search for 'sub MY::metafile'
>
> Randy.
>
>
> PS: If you do override the generation of the meta file, it's a good idea
> to follow Marcus' convention for setting 'generated_by' =>
> 'Your::Module::Name Makefile.PL'. Or if you create it by hand (NO_META),
> then set 'generated_by' => 'Author Name, by hand'. These conventions
> make it easy to see who's doing what with META.yml.

I manually editied a few META files for now, but I already noted the 
troublesome "generated by". Thanx for the fix, I will employ it for my 
modules from now on (murphy dictated that I uploaded new versions for some of 
them a few hours ago :). 

Best wishes,

Tels

- -- 
 Signed on Sat Nov 20 23:14:18 2004 with key 0x93B84C15.
 Visit my photo gallery at http://bloodgate.com/photos/
 PGP key on http://bloodgate.com/tels.asc or per email.

 "Ivonna Humpalot"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iQEVAwUBQZ/CC3cLPEOTuEwVAQF/rgf7BeMSV7fK6Br7qibMT2gn9Jr8q8idWy7O
1iGPLCE08HfSXAr8lt91tukgBdlPT1EWxF5CtjJNqLhT9gCIIFSWMuD+rrn3C0rt
6226fNm0YhLpfRREeJZolYy4yVPn73HKSwubWG2xPCt0tLRZE86g7ahbZ4mMo/TC
BPcuGYWzzsOPEc3gAoN9cnrz613BCOG6MX1QJaFN4b+zKHMbiRGqZjDIXaNxcSSX
Qu9X+p2H8Ql5tU+9SOcAF/ah2QidWvp+lTWoNpWCyI2lYWk1oi3OI2nXlyT3YRew
dfFy5W+mZy7YI3wt0pmSCMmplyhsv6BWaqtHllamJnRlOuDlRLGTAg==
=BvIx
-----END PGP SIGNATURE-----

Reply via email to