|required||Ports/packages that a port/package needs for it to be built and/or run. Port Makefiles refer to this type of ports/packages using the BUILD_DEPENDS and RUN_DEPENDS macros, respectively.|
|Ports/packages that need this port/package.|
The following command line arguments are supported:
pkgname_glob Specify one of these: a full pkgname, a pkgname without version, a shell glob pattern in which you can use wildcards '*', '?', and '[..]' (e.g. "zsh", "gnome*", "bash-2*", etc.), or an extended regular expression preceded by a colon ':'.
ports_glob lists ports which pkgnames match the pattern.
portorigin_glob Specify a shell glob pattern. (e.g. "archivers/p5-*"), or an extended regular expression preceded by a colon ':'.
ports_glob lists ports that match the pattern.
Do not forget to include a slash if you want ports_glob to treat a pattern as a portorigin glob.
Show help and exit.
Force to update database regardless of timestamps.
Fetch the ports index file called INDEX from the official site.
List all master ports of the given ports as well. It also lists the master ports of all those required by the given ports if -R is specified.
Do not read the configuration file - $PREFIX/etc/pkgtools.conf.
List all those ports depending on the given ports as well.
List all those ports required by the given ports as well.
Update or create the ports database file INDEX.db from the ports index file. It is in binary form and meant to be fast to search for information.
Note: the ports database file is automatically updated if it is not up-to-date when looked up, so manual updating is not mandatory.
Update or create the INDEX file by running "make index". If you define special macros in /etc/make.conf and the dependency of some ports are changed, you should create INDEX by yourself by using this option. Otherwise, using -F option is recommended since it is much faster.
Exclude ports matching the specified glob pattern from the list.
PORTSDIR Alternative location for the ports tree. Default is "/usr/ports".
PORTS_INDEX Alternative location for the ports INDEX file. Default is "$PORTSDIR/INDEX".
It is recommendable that you set this variable to something other than the default to avoid conflict with CVS, CVSup, or CTM.
PORTS_DBDIR Alternative location for the ports database file. The database file will be located in the first writable directory in the following ones: $PORTS_DBDIR, $PORTSDIR, /usr/ports, $PKG_DBDIR, /var/db/pkg, $TMPDIR, /var/tmp, and /tmp.
PKGTOOLS_CONF Configuration file for the pkgtools suite. Default is "$PREFIX/etc/pkgtools.conf".
/var/db/pkg Default location of the installed package database.
/usr/ports Default location of the ports tree.
INDEX Ports index file, located right under the ports tree.
INDEX.db Ports database file, located in $PORTS_DBDIR.
$PREFIX/etc/pkgtools.conf Default location of the pkgtools configuration file.
pkgdb(1), portversion(1), pkgtools.conf(5), ports(7)
.An Akinori MUSHA Aq knu@iDaemons.org
-S -/ --slave-recursive is not implemented yet.