-.\" $OpenBSD: portgen.1,v 1.5 2021/03/23 13:22:16 abieber Exp $
+.\" $OpenBSD: portgen.1,v 1.6 2022/01/05 09:19:15 espie Exp $
.\"
.\" Copyright (c) 2015 Giannis Tsaraias <tsg@openbsd.org>
.\" Copyright (c) 2015 Vadim Zhukov <zhuk@openbsd.org>
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: March 23 2021 $
+.Dd $Mdocdate: January 5 2022 $
.Dt PORTGEN 1
.Os
.Sh NAME
.Nd port modules on the fly
.Sh SYNOPSIS
.Nm portgen
+.Op Fl m Ar makeopt
.Ar type
.Ar module-name
.Sh DESCRIPTION
value will be taken from current user environment, and defaults to
.Pa /usr/ports .
.Pp
+The options are as follows:
+.Bl -tag -width -m makeopt
+.It Fl m Ar makeopt
+Pass
+.Ar makeopt
+to
+.Xr make 1
+invocations while resolving missing dependencies, mostly useful with
+.Sq FETCH_PACKAGES=
+to avoid building everything from scratch.
+.El
+.Pp
The
.Nm
utility currently supports the following