NAME

Dist::Zilla::Plugin::CustomLicense - setting legal stuff of Dist::Zilla while keeping control

VERSION

version 0.1.0_02

DESCRIPTION

This plugin allows using Software::License::Custom to get software licensing information from a custom file. In other terms, you can specify Custom in the license configuration inside dist.ini:

name     = Foo-Bar
abstract = basic Bar for Foo
author   = A.U. Thor <author@example.com>
license  = Custom
copyright_holder = A.U.Thor

By default the custom file is LEGAL in the main directory, but it can be configured with the filename option in the dist.ini configuration file:

[CustomLicense]
filename = MY-LEGAL-ASPECTS

See Software::License::Custom for details about how MY-LEGAL-ASPECTS should be written. Most probably you will not want to include this file in the final distro, so you should prune it out like this:

[PruneFiles]
filename = MY-LEGAL-ASPECTS

METHODS

before_build

Method required by Dist::Zilla::Role::BeforeBuild for this plugin to work.

AUTHOR

Flavio Poletti <polettix@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2010 by Flavio Poletti <polettix@cpan.org>.

This module is free software. You can redistribute it and/or modify it under the terms of the Artistic License 2.0.

This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.