Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 2017 05:03:18 +0900 (JST)
From:      Yasuhiro KIMURA <yasu@utahime.org>
To:        freebsd-ports@freebsd.org
Subject:   Adding license information for non-predefined license.
Message-ID:  <20170921.050318.2216369356261083043.yasu@utahime.org>

next in thread | raw e-mail | index | archive | help
Hello all.

Let's assume there is a port of software with following situation.

* It is covered under single license that is not defined in
  bsd.license.db.mk.
* There is no license document file in source archive.
* But there is license sentences in each of source code files.

In this case following variable must be set in Makefile of the port.

* LICENSE
* LICENSE_NAME
* LICENSE_PERMS
* Either LICENSE_FILE or LICENSE_TEXT

And I would like to ask how to handle last one. That is,

1. Set one of source code files as LICENSE_FILE.
   (e.g. LICENSE_FILE=${WRKSRC}/src/main.c)
2. Cut license sentences from source code file, create a file under
   'files' directory and paste the sentences to it, and set it as
   LICENSE_FILE. (e.g. LICENSE_FILE=${FILESDIR}/LICENSE)
3. Set LICENSE_TEXT such as "License conditions are written in source
   code files. Extract archive file and check them if necessary."

Which is most preferable in this case?

---
Yasuhiro KIMURA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170921.050318.2216369356261083043.yasu>