Index: head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml =================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml +++ head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml @@ -5895,45 +5895,6 @@ installation, and updating of these ports and their packages. - - - <varname>USE_<replaceable>*</replaceable></varname> and - <varname>WANT_<replaceable>*</replaceable></varname> - - USE_* are - set by the port maintainer to define software on which this - port depends. A port that needs Firefox would set - - USE_FIREFOX= yes - - Some USE_* - can accept version numbers or other parameters. For example, - a port that requires Apache 2.2 would set - - USE_APACHE= 22 - - For more control over dependencies in some cases, - WANT_* are - available to more precisely specify what is needed. For - example, consider the mail/squirrelmail port. This - port needs some PHP modules, which are listed in - USE_PHP: - - USE_PHP= session mhash gettext mbstring pcre openssl xml - - Those modules may be available in CLI or web versions, so - the web version is selected with - WANT_*: - - WANT_PHP_WEB= yes - - Available - USE_* and - WANT_* are - defined in the files in - /usr/ports/Mk. - Index: head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml =================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml +++ head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml @@ -2519,28 +2519,6 @@ - HAVE_GNOME - Deprecated, do not use. Was used to check if a - component was installed. This was used for ports - that did not have - --enable/--disable - switches for their configure script. But the building - of parts of a port without a implicit request is - discouraged. - - - - WANT_GNOME - Deprecated, do not use. Was used by ports that - needed USE_GNOME for optional - dependencies, which where defined after - bsd.port.pre.mk. Since - USE_GNOME can be used after the - inclusion of bsd.port.options.mk, - there is little need for this macro any more. - - - pangox-compat pangox-compat has been deprecated and split off from the @@ -5386,127 +5364,95 @@ - - Using Mozilla + + Using Databases - - Variables for Ports That Use Mozilla + Use one of the USES macros from + to add a dependency + on a database. - - +
+ Database <varname>USES</varname> Macros + + - USE_GECKO - Gecko backend the port can handle. Possible - values: libxul - (libxul.so), - seamonkey - (libgtkembedmoz.so, deprecated, - must not be used any more). + Database + USES Macro + + - USE_FIREFOX - The port requires Firefox as a runtime - dependency. Possible values: yes - (get default version), 40, - 36, 35. Default - dependency is on version - 40. + Berkeley DB + bdb - USE_FIREFOX_BUILD - The port requires Firefox as a buildtime - dependency. Possible values: see USE_FIREFOX. This - automatically sets USE_FIREFOX and assigns the same - value. + MariaDB, MySQL, Percona + mysql - USE_SEAMONKEY - The port requires SeaMonkey as a runtime - dependency. Possible values: yes - (get default version), 20, - 11 (deprecated, must not be used - any more). Default dependency is on version - 20. + PostgreSQL + pgsql - USE_SEAMONKEY_BUILD - The port requires SeaMonkey as a buildtime - dependency. Possible values: see USE_SEAMONKEY. This - automatically sets USE_SEAMONKEY and assigns the same - value. + SQLite + sqlite - - - USE_THUNDERBIRD - The port requires Thunderbird as a runtime - dependency. Possible values: yes - (get default version), 31, - 30 (deprecated, must not be used - any more). Default dependency is on version - 31. - - - - USE_THUNDERBIRD_BUILD - The port requires Thunderbird as a buildtime - dependency. Possible values: see USE_THUNDERBIRD. - This automatically sets USE_THUNDERBIRD and assigns - the same value. -
- A complete list of available variables can be found in - /usr/ports/Mk/bsd.gecko.mk. -
+ + Using Berkeley DB 6 - - Using Databases + USES= bdb:6 - - Variables for Ports Using Databases + See for more + information. + - - - - Variable - Means - - + + Using MySQL - - - USE_BDB - Obsolete. Replaced by USES=bdb - + When a port needs the MySQL + client library add - - USE_MYSQL - Obsolete. Replaced by USES=mysql - + USES= mysql - - USE_PGSQL - Obsolete. Replaced by USES=pgsql. - + See for more + information. + - - USE_SQLITE - Obsolete. Replaced by USES=sqlite - - - -
+ + Using PostgreSQL + + When a port needs the + PostgreSQL server version 9.6 + or later add + + USES= pgsql:9.6+ +WANT_PGSQL= server + + See for more + information. + + + + Using SQLite 3 + + USES= sqlite:3 + + See for more + information. +