From nobody Mon Feb 20 13:29:29 2023 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PL3DT4NlPz3spBm for ; Mon, 20 Feb 2023 13:29:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PL3DT3n7Vz3njf; Mon, 20 Feb 2023 13:29:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676899769; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wf9Jd13XV1l4Enbxh6ylXXvwctYAsxv03plA7eZgABA=; b=e1TkUfyYMgzMYGjCFqmt67ZURoqTb2oqHqaJkfM8s6q1wHqcBjZ5ci+Tobbg0gczLZ+7S2 797zS9n7oCWdi7V48NQo6zIhGguQvH+2lb4gCulNaov2HWyY7457wrnKl4NGJzFsOI+o63 saVS5PI5EbC3T05xkuOCIWOkcahDnyiA7c1b5BP3+OaWnp0lk3J2YL5n1AVqHI9yy9LsHb 0pPQLo4ueZgLgBsjtP3lEzVGzOIAE3+KwQwG1lE1lmnJ5sl2YVhMMEDCHTrv4wf9fol7iP GgoiCdj6WxzGQrt4tfJwfId5MmBowULOAssvmbnQfwxXgJsV6LfALj+i9LF+aA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676899769; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wf9Jd13XV1l4Enbxh6ylXXvwctYAsxv03plA7eZgABA=; b=ORWNC3ijcVPxRT6Gz3WuPL/kBKrlJdNzjSy+m6B9eL39J+K0J1fY61722bDVqiLZ8RNf5q L1mkKCX5J5umkeJPMi++aYZWpsatbX7Gq/yxv9V+A2QV6qfjjqa3wa6b1XBp0f/1tXPss2 Q1BpGbaYAaBpoG1y6DWGMu5Z+bJbplg/RXPfgsOu+awA8cU5Fu+a00aUDzz4oaW16Ye8ji YK0ZvgBOCIlj9ShBAe6PDu+varU97tNxgfV/uQig+q3KQvylpDSgEH8dSJh6y+9udUeORr dRo5AvwB7snWevvJ1HYyC65yGc08NvywTIQOOsPs5WdA9cqvlIckNowafGzQBQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676899769; a=rsa-sha256; cv=none; b=vRFLW3tt4YIS3QFGpC8JBdLRNukJT9Ffe9e1QwJGbdnLS3N4xqLICoq5mjqMDbY7yg5B91 mLvDxRa/bVuLjMWgesUSK60nLI6VfbzGeKOtzgQHhdy3oYRjD00a5FgA++PcEYc16IffxR e3eediXBRPUkY7Xzqw33n9JP1UNSHj5Je7uaityLU/p/P+Xxhyn0vCWBAwtJOmrv3dR/we /W/cwoXPThsK8szgRlRWX1uWf7uC/ia/j3VwpiqSexMJY60fNOA58xFJ3AlMrDsCyobGOw fLH5rIaewcDVmDzzIohwb/Her/IFkyHs/oxSJaI2SmoPUkxs5cZDixADvksR5g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PL3DT2psdzjd6; Mon, 20 Feb 2023 13:29:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31KDTTwN006112; Mon, 20 Feb 2023 13:29:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31KDTTPx006111; Mon, 20 Feb 2023 13:29:29 GMT (envelope-from git) Date: Mon, 20 Feb 2023 13:29:29 GMT Message-Id: <202302201329.31KDTTPx006111@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 5cf139c708 - main - books/porters-handbook: Add USES=tex macro List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-doc-all@freebsd.org X-BeenThere: dev-commits-doc-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5cf139c70862c11a610e3cdbb506536edbef29e7 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/doc/commit/?id=5cf139c70862c11a610e3cdbb506536edbef29e7 commit 5cf139c70862c11a610e3cdbb506536edbef29e7 Author: Muhammad Moinur Rahman AuthorDate: 2023-02-20 13:27:44 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-02-20 13:27:44 +0000 books/porters-handbook: Add USES=tex macro In a recent commit I have changed USE_TEX macros to USES=tex in the ports tree. Till now there were in fact no descriptions of TEX macros at all. So introduce the new macros here in the porters-handbook. While I am here remove EOL spaces. Approved by: bcr (mentor) Differential Revision: https://reviews.freebsd.org/D37745 --- .../en/books/porters-handbook/uses/_index.adoc | 49 +++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/documentation/content/en/books/porters-handbook/uses/_index.adoc b/documentation/content/en/books/porters-handbook/uses/_index.adoc index e348d7d3ac..58bfeedff5 100644 --- a/documentation/content/en/books/porters-handbook/uses/_index.adoc +++ b/documentation/content/en/books/porters-handbook/uses/_index.adoc @@ -1322,7 +1322,7 @@ Uses ninja to build the port. Possible arguments: (none), `build`, `run`, `current`, `lts`, `10`, `14`, `16`, `17`. -Uses nodejs. Adds a dependency on package:www/node*[]. If a supported version is +Uses nodejs. Adds a dependency on package:www/node*[]. If a supported version is specified then `run` and/or `build` must be specified too. [[uses-objc]] @@ -2053,6 +2053,53 @@ Possible arguments: (none) Adds crossref:plist[plist-keywords-terminfo,`@terminfo`] to the [.filename]#plist#. Use when the port installs [.filename]#*.terminfo# files in [.filename]#${PREFIX}/share/misc#. +[[uses-tex]] +== `tex` + +Possible arguments: (none) + +Provide support for tex. +Loads all the default variables for TEX related ports and does not add any dependency on any ports. + +Variables are used to specify which TEX modules are required. + +`USE_TEX`:: +The list of required TEX extensions at run-time. +Add `:build` to the extension name to add a build-time dependency, `:run` to add runtime dependency, `:test` for test time dependency, `:extract` for extract time dependency. +Example: `base texmf:build source:run` + +Current possible arguments are as follows: + +* `base` +* `texmf` +* `source` +* `docs` +* `web2c` +* `kpathsea` +* `ptexenc` +* `basic` +* `tlmgr` +* `texlua` +* `texluajit` +* `synctex` +* `xpdfopen` +* `dvipsk` +* `dvipdfmx` +* `xdvik` +* `gbklatex` +* `formats` +* `tex` +* `latex` +* `pdftex` +* `jadetex` +* `luatex` +* `ptex` +* `xetex` +* `xmltex` +* `texhash` +* `updmap` +* `fmtutil` + [[uses-tk]] == `tk`