Use of license in ports Makefile

Carmel carmel_ny at hotmail.com
Fri Oct 29 10:58:53 UTC 2010


On Thu, 28 Oct 2010 22:37:02 -0400
Sahil Tandon <sahil at FreeBSD.org> articulated:

> On Wed, 2010-10-27 at 18:52:42 -0400, Carmel wrote:
> 
> > I have a application that I want to port to FreeBSD. It is licensed
> > under the BSD license from what I can understand. In the new port's
> > Makefile, would I just put something like this:
> > 
> > license:	BSD
> 
> No; instead:
> 
> LICENSE=	BSD
> 
> > Finally, do I have to use anything other than:
> > 
> > .include <bsd.port.mk>
> 
> bsd.port.mk pulls in bsd.licenses.mk.

Thanks! One other quick question. The utility "port" when run as:

	port create <name>

creates a skeleton Makefile with these entries at the end:

	.include <bsd.port.pre.mk>
	.include <bsd.port.post.mk>

Should I just remove them and place the ".include <bsd.port.mk>" entry
in their place; or add it to the list of other includes? I cannot find
any documentation specifically defining what to do. I thought I had read
the Porter's Handbook thoroughly, but perhaps not.

-- 
Carmel ✌
carmel_ny at hotmail.com


More information about the freebsd-ports mailing list