Availability:built-in
license(+LicenseId,
+Component)gpl,
lgpl, copyleft, permissive or
proprietary. The category copyleft is for
licenses whose copyleft is limited to the component itself, such as the
Eclipse Public License (EPL). The third argument is a list of
properties. Defined are comment(Text), url(URL)
and
gpl_compatible(false). The latter makes license/0
warn if the license is combined with a component in the gpl
category.
:- multifile license:license/3.
license:license(mylicense, permissive,
[ comment('My personal license'),
url('http://www.mine.org/license.html')
]).
:- license(mylicense).