Date: Fri, 12 Feb 2021 16:34:49 +0000 From: Matthew Seaman <matthew@FreeBSD.org> To: Shawn Webb <shawn.webb@hardenedbsd.org>, freebsd-ports@freebsd.org Subject: Re: Creating port from pre-built package Message-ID: <b4c9a048-3a7d-2b50-f7ca-74fec5452a67@FreeBSD.org> In-Reply-To: <20210211162625.k55tncjs2yjpw5jt@mutt-hbsd> References: <20210211162625.k55tncjs2yjpw5jt@mutt-hbsd>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/02/2021 16:26, Shawn Webb wrote: > Being a ports newb, I'm not sure how to properly create a port from a > pre-built package. Does anyone have any non-xkcd pointers[1]? A port is simply a set of instructions to build a pkg. So you're looking for a set of instructions to build a pkg from a pkg you already have. That's a very short list of instructions... Possibly a more instructive question is "how do I add a pre-compiled package to my existing pkg repo?" That's functionality that poudriere is currently in the process of acquiring, but in principle it's just a matter of copying the pkg into the data area of your repo, and then using `pkg repo` to rebuild the repo index. Cheers, Matthew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b4c9a048-3a7d-2b50-f7ca-74fec5452a67>