blob: b34d12391754c9609aa7013710062bc098868730 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
.Dd September 27, 2026
.Dt PKG.CONF 5
.Os
.Sh NAME
.Nm pkg.conf
.Nd pkg configuration
.Sh SYNOPSIS
.Pa /etc/pkg.conf
.Sh DESCRIPTION
.Nm
tells
.Xr pkg 8
where the ports are.
Each line holds a directive and its value, separated by white space.
Everything after a
.Ql #
is a comment; empty lines are ignored, and so are unknown directives.
.Pp
The only directive is:
.Bl -tag -width Ds
.It Ic portdir Ar directory
A directory of ports.
It may be given any number of times.
If two directories have a port of the same name, the one given later
is used.
.El
.Pp
Without a
.Ic portdir ,
.Xr pkg 8
knows no ports.
.Sh FILES
.Bl -tag -width Ds -compact
.It Pa /etc/pkg.conf
This file.
.El
.Sh EXAMPLES
The shipped file:
.Bd -literal -offset indent
portdir /ports/core
portdir /usr/ports/libs
portdir /usr/ports/devel
portdir /usr/ports/fonts
portdir /usr/ports/python
portdir /usr/ports/perl
portdir /usr/ports/opt
.Ed
.Sh SEE ALSO
.Xr pkg 8 ,
.Xr ports 8
|