pkg.conf

configuration for pkg package manager

Synopsis

/etc/pkg.conf

Description

pkg.conf

configures the port directories and behaviour of pkg(8). Each line contains a directive and its value, separated by whitespace. Blank lines and lines beginning with # are ignored.

Directives

portdir path
Add a port directory to the search path. May be specified multiple times. Directories are searched in order; when multiple ports provide the same package, the last match wins.

Example

portdir /ports/core
portdir /usr/ports/libs
portdir /usr/ports/devel
portdir /usr/ports/python
portdir /usr/ports/opt
portdir /usr/ports/xorg
portdir /usr/ports/contrib

Files

/etc/pkg.conf
Default configuration file.

See Also

LLVM musl libc libressl Independent