pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/doc doc/pkgsrc.*: regen



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eb4911152356
branches:  trunk
changeset: 454684:eb4911152356
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Jun 14 22:53:20 2021 +0000

description:
doc/pkgsrc.*: regen

diffstat:

 doc/pkgsrc.html |  7 ++++++-
 doc/pkgsrc.txt  |  5 ++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r 3a6580f22bdc -r eb4911152356 doc/pkgsrc.html
--- a/doc/pkgsrc.html   Mon Jun 14 22:53:02 2021 +0000
+++ b/doc/pkgsrc.html   Mon Jun 14 22:53:20 2021 +0000
@@ -3437,7 +3437,12 @@
     regular expression
     <code class="varname">^[A-Za-z0-9][A-Za-z0-9-_.+]*$</code>, that is, it
     starts with a letter or digit, and contains only letters, digits,
-    dashes, underscores, dots and plus signs.</p></li>
+    dashes, underscores, dots and plus signs.
+    New packages should have entirely lower-case names, with the exception
+    of some that must follow pre-existing conventions
+    (e.g. R packages begin with <code class="varname">R-</code>).
+    You can use the <code class="code">:tl</code> variable modifier to lower-case
+    the package name.</p></li>
 <li class="listitem">
 <p><code class="varname">CATEGORIES</code> is a list of categories
     which the package fits in. You can choose any of the top-level
diff -r 3a6580f22bdc -r eb4911152356 doc/pkgsrc.txt
--- a/doc/pkgsrc.txt    Mon Jun 14 22:53:02 2021 +0000
+++ b/doc/pkgsrc.txt    Mon Jun 14 22:53:20 2021 +0000
@@ -2955,7 +2955,10 @@
     Usually it is the pkgsrc directory name together with the version number.
     It must match the regular expression ^[A-Za-z0-9][A-Za-z0-9-_.+]*$, that
     is, it starts with a letter or digit, and contains only letters, digits,
-    dashes, underscores, dots and plus signs.
+    dashes, underscores, dots and plus signs. New packages should have entirely
+    lower-case names, with the exception of some that must follow pre-existing
+    conventions (e.g. R packages begin with R-). You can use the :tl variable
+    modifier to lower-case the package name.
 
   * CATEGORIES is a list of categories which the package fits in. You can
     choose any of the top-level directories of pkgsrc for it.



Home | Main Index | Thread Index | Old Index