Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Sep 2023 16:06:29 +0200
From:      Baptiste Daroussin <bapt@freebsd.org>
To:        Gordon Bergling <gbe@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Creating ports with utilisation of bsd.prog.mk
Message-ID:  <4rhwcbjivgsslbb7ve256c24dmkclzjv5wpx6ppo5nw45kqw3j@2kygxmbf2wxp>
In-Reply-To: <ZQG8NpSExHKhtrIs@lion.ttyv0.de>
References:  <ZQG8NpSExHKhtrIs@lion.ttyv0.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 13, 2023 at 03:42:14PM +0200, Gordon Bergling wrote:
> Hi,
> 
> I would like to create two ports for software I have ported to FreeBSD.
> 
> These two ports are classical 4.4BSD software that ship NetBSD and OpenBSD per default
> can could benefit FreeBSD users.
> 
> The first one ist bsd-spell [1] and the other one is bsd-vacation [2].
> 
> The code it self is straight forward, but I am unsure about the the Makefiles.
> 
> In base they compiling just fine, but for a port I am
> unsure if the inclusion of bsd.prog.mk is suitable for the port.
> 
> Has anyone an advise on this topic. The sources are relativly simple,
> and I could rewrite the Makefiles if neccessary.
> 
> Any help is very appreciated.
> 
> --Gordon
> 
> [1] https://github.com/gbergling/bsdspell
> [2] https://github.com/gbergling/bsd-vacation/tree/main



There are plenty of ports relying on bsd.port.mk which are in the ports tree.

The ports tree knows how to deal with them, you will need for sure USES=uidfix,
maybe other things, look a for example ftp/freebsd-ftpd but there are many
others.

Bapt



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