PORTCONFIG(1) BSD General Commands Manual PORTCONFIG(1)NAMEportconfig — run make(1) targets on ports(7) that need updating
SYNOPSISportconfig [-vafrRh] [-tN] [ports]
DESCRIPTION
The portconfig script was written to issue make targets to a number of
ports instead of going into every ports folder and running the command by
hand. The make target issued is determined from the scriptname minus the
'port' prefix. Different targets can be realized by creating links.
The following aliases are available:
portconfig portbuild portclean portfetch portpackage portconfig-recursive
portfetch-recursive
OPTIONS
The following options are available:
-v --verbose
Be verbose.
-a --all
Act on all ports that require updating. Or on all installed ports
if -f is given.
-f --force
Also acts on ports that do not require updating and ports that
are not yet installed.
-r --recursive
Act on depending ports as well.
-R --upward-recursive
Act on ports the given ports depend on as well.
-tN --try-againN
If the target returns an error try again for N times. N is a
value from 0 to 9.
-h --help
Displays the available options.
ports The last parameter is a list of ports to act on, either in the
category/port format or the package name of an installed package.
EXAMPLES
If you want to see the config dialogues of all ports that require updat‐
ing prior to running 'portupgrade -a' the following line will achieve
this:
portconfig-a
If you want to see the config dialogues of new dependencies as well run
the following command:
portconfig-recursive -a
EXIT CODES
1 An unknown parameter has been supplied.
2 The parameter -t has been supplied without a number.
COMPATIBILITY
The script has been tested on FreeBSD 7.2-PRERELEASE.
SEE ALSObsdadminscripts(8), ports(7)HISTORY
The portconfig script first appeared in the bsdadminscripts-0.9 collec‐
tion.
AUTHOR
Dominic Fandrey <kamikaze@bsdforen.de>
BSD April 23, 2009 BSD