Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Feb 2025 17:06:51 GMT
From:      Fernando =?utf-8?Q?Apestegu=C3=ADa?= <fernape@FreeBSD.org>
To:        doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org
Subject:   git: 1d4946cc1d - main - [phb][Uses]: Add missing Uses=jpeg
Message-ID:  <202502211706.51LH6pp0072276@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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`
 


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502211706.51LH6pp0072276>