Some of the targets work recursively through the subdirectories
of the ports tree or each category. This lets you install the
entire ports tree, or all of the ports in a single category automatically.
The targets that do this are fetch, build, install, reinstall,
and uninstall |
The following targets are available for all mkfiles in the ports
tree. The order that they're in is the order they should be run
in to install or reinstall a program:
Fetch all of the files needed to build and install the port.|
Compiles the port and does other things required to install the
Installs the port and registers it in the ports database. It will
fail if the port already exists in the database.|
Installs the port but does not register it in the ports database.
It will not fail if the port already exists in the database.|
nukeRemoves all downloaded files and all files generated during
build an install. After a port is nuked, fetch should be run before
running any other target.
Cleans the port, usually removing object files and files generated
during the build and installation.|
Targets the only exist in the root mkfile or category mkfiles:
Uninstalls all files installed during the install. Requires that
the port defines $UNINSTALL, $UNINSTALLCOMMAND, or has an uninstall
testRuns the ports tree test scripts.
db Creates the ports database (must be run after you install the
Updates the ports tree against the ports mercurial repository.|