git: 1d4946cc1d - main - [phb][Uses]: Add missing Uses=jpeg
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 21 Feb 2025 17:06:51 UTC
The branch main has been updated by fernape:
URL: https://cgit.FreeBSD.org/doc/commit/?id=1d4946cc1d62ce73cb9fc251960981297462336a
commit 1d4946cc1d62ce73cb9fc251960981297462336a
Author: Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2025-02-14 09:56:14 +0000
Commit: Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2025-02-21 17:06:36 +0000
[phb][Uses]: Add missing Uses=jpeg
---
.../en/books/porters-handbook/uses/_index.adoc | 27 ++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/documentation/content/en/books/porters-handbook/uses/_index.adoc b/documentation/content/en/books/porters-handbook/uses/_index.adoc
index a58e234023..5aace86102 100644
--- a/documentation/content/en/books/porters-handbook/uses/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/uses/_index.adoc
@@ -1252,6 +1252,33 @@ The directory where a port should install JAR files.
`JAVALIBDIR`::
The directory where JAR files installed by other ports are located.
+[[uses-jpeg]]
+== `jpeg`
+
+Possible arguments: `lib` (default, implicit), `build`, `run`
+
+Help handling dependencies on `jpeg`.
+
+If the `lib` argument is provided or no arguments are provided then a lib
+dependency is added to the port.
+
+If the `build` argument is provided then a build dependency is added to the
+port.
+
+If the `run` argument is provided then a run dependency is added to the
+port.
+
+If the `both` argument is provided then a build dependency and a run dependency
+are added to the port.
+
+The framework provides the following variable that can be set by ports:
+
+`JPEG_PORT`::
+Specifies the JPEG implementation to use. Possible values are:
+
+* package:graphics/jpeg-turbo[] (default)
+* package:graphics/mozjpeg[]
+
[[uses-kde]]
== `kde`