Chapter 15. Appendices

Table of Contents
15.1. Values of USES
15.2. __FreeBSD_version Values

15.1. Values of USES

Table 15.1. Values of USES
FeatureArgumentsDescription
ada(none)Depends on an Ada-capable compiler, and sets CC accordingly.
bison(none), build, run, bothImplies that the port uses devel/bison in one way or another. By default, with no arguments or with the build argument, it implies bison as a build-time dependency, run implies a run-time dependency, and both implies both run-time and build-time dependencies.
charsetfix(none)Prevents the port from installing charset.alias. This should be installed only by converters/libiconv. CHARSETFIX_MAKEFILEIN can be set to a path relative to WRKSRC if charset.alias is not installed by WRKSRC/Makefile.in.
cmake(none), outsourceThe port will use CMake for configuring and building. With the outsource argument, an out-of-source build will be performed. For more information see Section 6.4.4, “Using cmake.
desktop-file-utils(none)Implies that the port uses the update-desktop-database from devel/desktop-file-utils. An extra post-install step will be run without interfering with any post-install steps already in the port Makefile. Lines will be inserted into the plist to run update-desktop-database on package install or removal.
fuse(none)Implies the port will depend on the FUSE library and handle the dependency on the kernel module depending on the version of FreeBSD.
gettext(none), lib, build, runImplies that the port uses devel/gettext in one way or another. By default, with no arguments or with the lib argument, implies gettext with build-time and run-time dependencies, build implies a build-time dependency, and run implies a run-time dependency.
gmake(none)Implies that the port uses devel/gmake as build-time dependency.
iconv(none), lib, build, patchImplies that the port uses iconv functions, either from the port converters/libiconv as a build-time and run-time dependency, or from the base system on 10-CURRENT after a native iconv was committed in 254273. By default, with no arguments or with the lib argument, implies iconv with build-time and run-time dependencies, build implies a build-time dependency, and patch implies a patch-time dependency. For more information see Section 6.21, “Using iconv.
imake(none)Implies that the port uses devel/imake as build-time dependency.
motif(none)Implies that the ports uses devel/open-motif as a library dependency. End users can set WANT_LESSTIF for the dependency to be on devel/lesstif instead of devel/open-motif.
ncurses(none), base, portImplies that the port uses ncurses, and causes some useful variables to be set.
pathfix(none)Look for the Makefile.in and configure files in the port's associated sources and fix common paths to make sure they respect the FreeBSD hierarchy.
pkgconfig(none), build, run, bothImplies that the port uses devel/pkgconf in one way or another. With no arguments or with the build argument, it implies pkg-config as a build-time dependency; run implies a run-time dependency; and both implies both run-time and build-time dependencies.
pure(none), ffiImplies that the port uses lang/pure in one way or another, but largely is used for building related pure ports. With the ffi argument, it implies devel/pure-ffi as a run-time dependency.
qmail(none), build, run, both, varsImplies that the port uses mail/qmail in one way or another. With the build argument, it implies qmail as a build-time dependency. run implies a run-time dependency. Using no argument or the both argument implies both run-time and build-time dependencies. vars will only set QMAIL variables for the port to use.
readline(none), portImplies that the port uses readline as library dependency, and sets CPPFLAGS and LDFLAGS as necessary.
shared-mime-info(none)Implies that the port uses update-mime-database from misc/shared-mime-info. This uses will automatically add a post-install step in such a way that the port itself still can specify there own post-install step if needed. It also insert lines into the plist for package install and removal to run update-mime-data with the correct arguments.
shebangfix(none)A lot of software uses incorrect locations for script interpreters, most notably /usr/bin/perl and /bin/bash. This fixes shebang lines in scripts listed in SHEBANG_FILES. Currently Perl, Python, Bash, Ruby, and PHP are supported by default. To support another interpreter, set SHEBANG_LANG (for example SHEBANG_LANG=lua), then lua_OLD_CMD and lua_CMD.
zenoss(none)Implies the port uses net-mgmt/zenoss in one way or another, but largely is used for building zenoss related zenpack ports.

All FreeBSD documents are available for download at http://ftp.FreeBSD.org/pub/FreeBSD/doc/

Questions that are not answered by the documentation may be sent to <freebsd-questions@FreeBSD.org>.

Send questions about this document to <freebsd-doc@FreeBSD.org>.