Add dependency on the
<application>Berkeley DB
</application> library. Default to
<package role="port">databases/db5
</package>. It can also depend on
<package role="port">databases/db48
</package> when using the
<literal>:48
</literal> argument or
<package role="port">databases/db6
</package> with
<literal>:6
</literal>. It is possible to declare a range of acceptable values,
<literal>:48+
</literal> finds the highest installed version, and falls back to 4.8 if nothing else is installed.
<varname>INVALID_BDB_VER
</varname> can be used to specify versions which do not work with this port. The framework exposes the following variables to the port: