Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Mar 2025 18:27:11 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: b8e6a72b3c - main - [phb][Uses]: Add missing Uses=trigger
Message-ID:  <202503091827.529IRBrT027843@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help

The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/doc/commit/?id=b8e6a72b3c84c9dcd295317101809124082d17ab

commit b8e6a72b3c84c9dcd295317101809124082d17ab
Author:     Fernando ApesteguĂ­a <fernape@FreeBSD.org>
AuthorDate: 2025-02-20 09:21:04 +0000
Commit:     Fernando ApesteguĂ­a <fernape@FreeBSD.org>
CommitDate: 2025-03-09 18:26:49 +0000

    [phb][Uses]: Add missing Uses=trigger
    
    Differential Revision: https://reviews.freebsd.org/D49074
---
 .../content/en/books/porters-handbook/uses/_index.adoc   | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/documentation/content/en/books/porters-handbook/uses/_index.adoc b/documentation/content/en/books/porters-handbook/uses/_index.adoc
index 4d83495605..3ac53fa9a6 100644
--- a/documentation/content/en/books/porters-handbook/uses/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/uses/_index.adoc
@@ -2853,6 +2853,22 @@ Same as arguments for `tcl`
 Small wrapper when using both Tcl and Tk.
 The same variables are returned as when using Tcl.
 
+[[uses-trigger]]
+== `trigger`
+
+Possible arguments: (none)
+
+Provide support for ports requiring triggers to be executed by man:pkg[8].
+Triggers are executed at the end of a transaction if the conditions are met.
+
+The following variable can be set by ports:
+
+`TRIGGERS`::
+List of triggers to package. Defaults to `${PORTNAME}`.
+
+Triggers are specified in UCL format and are usually placed in the
+[.filename]#files/# directory of the port.
+
 [[uses-uidfix]]
 == `uidfix`
 



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