Default make targets and their behaviors:
| fetch | Retrieves ${DISTFILES} (and ${PATCHFILES} if defined) into ${DISTDIR} as necessary. |
| fetch-list | Show list of files that would be retrieved by fetch. |
| fetch-recursive | Retrieves ${DISTFILES} (and ${PATCHFILES} if defined), for port and dependencies into ${DISTDIR} as necessary. |
| fetch-recursive-list | Show list of files that would be retrieved by fetch-recursive. |
| extract | Unpacks ${DISTFILES} into ${WRKDIR}. |
| patch | Apply any provided patches to the source. |
| configure | Runs either GNU configure, one or more local configure scripts or nothing, depending on what's available. |
| build | Actually compile the sources. |
| install | Install the results of a build. |
| reinstall | Install the results of a build, ignoring "already installed" flag. |
| deinstall | Remove the installation. |
| package | Create a package from an _installed_ port. |
| describe | Try to generate a one-line description for each port for use in INDEX files and the like. |
| checkpatch | Do a "patch -C" instead of a "patch". Note that it may give incorrect results if multiple patches deal with the same file. |
| checksum | Use distinfo to ensure that your distfiles are valid. |
| checksum-recursive | Run checksum in this port and all dependencies. |
| makesum | Generate distinfo (only do this for your own ports!). |
| clean | Remove ${WRKDIR} and other temporary files used for building. |
| clean-depends | Do a "make clean" for all dependencies. |
| depends | Install (or compile if only compilation is necessary) any dependencies of the current port. When called by the extract or fetch targets, this is run in piecemeal as fetch-depends, build-depends, etc. Defining NO_DEPENDS will skip this step. |
| pretty-print-run-depends-list pretty-print-build-depends-list | Print a list of all the compile and run dependencies, and dependencies of those dependencies. |
| distclean |
Remove the port's distfile(s) and perform the clean target. The `clean' portion recurses to dependencies unless NOCLEANDEPENDS is defined, but the `distclean' portion never recurses (this is perhaps a bug). |
| readmes | Create a port's README.html. This can be used from /usr/ports to create a browsable web of all ports on your system! |
| search |
Search the INDEX file for the pattern specified by either the key (searches the port
name, comment, and dependencies) or name (just searches the port name) make
argument. For example, one would type: cd /usr/ports && make search name=query to find all ports whose name matches `query'. Results include the matching ports' path, comment, maintainer, build dependencies, and run dependencies. |
| index | Create /usr/ports/INDEX, which is used by the pretty-print-* and search targets. While the master INDEX file in the CVS repository is periodically updated, running the index target will ensure your INDEX file is up to date with your ports tree. |