# The directory of the FreeBSD's main ports collection. # By default porteur tries to determine the ports directory from the # environment. It first reads the PORTSDIR environment variable. If no # such variable can be found `/usr/ports` will be used. portsdir = /usr/ports # The directory where porteur creates the distribution files for the ports # into. To make the path configuration more flexible, the two variables # `TREENAME` and `PORTNAME` can be used which resolve to the name of the # ports tree and the name of the port respectively. This value is set in # the predefined template variable `.distdir`. # If no directory is configured, `$PREFIX/porteur/distfiles/{{TREENAME}}` # will be used. distfiles-dir = /usr/ports/distfiles/{{TREENAME}}/{{PORTNAME}} # The number of distributions to keep for a single port. A distribution # includes all distribution files of a single port version. The history # can be used for rollbacks. # If no number or a number less than two is configured only the last # distribution will be kept. distfiles-history = 3 # The port's default category that will be used. # This will be used as the default value in the `porteur port add` command. # If none is configured, a category must be typed explicitly everytime a # port is created. category = tsne # The default branch to use for a Git repository. # This will be used as the default value in the `porteur port add` command. # If none is configured, the `main` branch is used as default value. git-branch = porteur # When editing configuration files or variables, porteur needs to know which # editor to use. Per default porteur tries to determine the editor from the # environment. It reads the VISUAL or the EDITOR environment variable (in # this particular order) and uses this editor. When nothing can be found # and nothing is configured it falls back to `vi`. editor = vim