PORTGEN(1) | General Commands Manual | PORTGEN(1) |
portgen
— port
modules on the fly
portgen |
type module-name |
The portgen
utility creates ports for the
given module-name from type
module framework. The module is downloaded, analyzed and translated into a
port. Any missing dependencies are handled recursively. New ports will land
under ${PORTSDIR}/mystuff. The PORTSDIR
value will
be taken from current user environment, and defaults to
/usr/ports.
The portgen
utility currently supports the
following type values:
The following packages must be installed prior to the invocation
of portgen
:
The portgen
utility exits 0 on
success, and >0 if an error occurs.
The following command will download the latest version of Config::AutoConf from CPAN, parse it and create a port for it:
portgen
p5
Config::AutoConfThe portgen
utility first appeared in
OpenBSD 5.9 as a result of Google Summer of Code
2015.
Giannis Tsaraias <tsg@openbsd.org>
Not every module could be converted to a port.
July 8, 2020 | OpenBSD-current |