pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/ruby ruby: fix spelling & grammar in comments, an...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/20c81fb7b2ee
branches:  trunk
changeset: 379439:20c81fb7b2ee
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Tue May 17 00:42:33 2022 +0000

description:
ruby: fix spelling & grammar in comments, and update one

diffstat:

 lang/ruby/gem.mk         |  24 ++++++++++++------------
 lang/ruby/platform.mk    |  13 ++++++-------
 lang/ruby/rails.mk       |   8 ++++----
 lang/ruby/rubyversion.mk |  20 ++++++++++----------
 4 files changed, 32 insertions(+), 33 deletions(-)

diffs (222 lines):

diff -r fb38da3b13c3 -r 20c81fb7b2ee lang/ruby/gem.mk
--- a/lang/ruby/gem.mk  Mon May 16 22:45:44 2022 +0000
+++ b/lang/ruby/gem.mk  Tue May 17 00:42:33 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: gem.mk,v 1.47 2021/03/21 12:39:52 taca Exp $
+# $NetBSD: gem.mk,v 1.48 2022/05/17 00:42:33 gutteridge Exp $
 #
 # This Makefile fragment is intended to be included by packages that build
 # and install Ruby gems.
@@ -15,10 +15,10 @@
 # OVERRIDE_GEMSPEC
 #      Fix version of depending gem or modify files in gemspec.
 #
-#      (1) Specify as gem and dependency pattern as usual pkgsrc's one.
+#      (1) Specify as gem and dependency pattern as usual pkgsrc format.
 #
 #              Example:
-#                  When gemspec contains "json~>1.4.7" as runtime dependency
+#                  When gemspec contains "json~>1.4.7" as a runtime dependency
 #                  (i.e. json>=1.4.7<1.5) and if you want to relax it to
 #                  "json>=1.4.6" then use:
 #
@@ -29,7 +29,7 @@
 #
 #                      OVERRIDE_GEMSPEC+= json:json_pure>=1.4.6
 #
-#                  You can also remove dependency:
+#                  You can also remove a dependency:
 #
 #                      OVERRIDE_GEMSPEC+= json:
 #
@@ -55,7 +55,7 @@
 #
 #                      OVERRIDE_GEMSPEC+= :files ruby=ruby193
 #
-#      Note: Because of limited parser, argumetns for (1) must preceed to (2).
+#      Note: Because of the limited parser, arguments for (1) must precede (2).
 #
 #      Default: (empty)
 #
@@ -88,12 +88,12 @@
 #
 # GEM_CLEANBUILD_EXTENSIONS
 #      A list of shell globs representing files under ${RUBY_EXTSDIR}.
-#      These files will be additionaly removed from the gem installed in
+#      These files will be additionally removed from the gem installed in
 #      the installation root.
 #
 # GEM_KEEPBUILD
-#      A list of shell globs representing files not to remove even it match
-#      with GEM_CLEANBUILD or GEM_CLEANBUILD_EXTENSIONS.
+#      A list of shell globs representing files not to remove even if they
+#      match with GEM_CLEANBUILD or GEM_CLEANBUILD_EXTENSIONS.
 #
 #      Default: (empty)
 #
@@ -124,7 +124,7 @@
 #      "extensions" directory under ${GEM_HOME}.
 #
 # GEM_PLUGINSDIR
-#      "plguins" direcotry under ${GEM_HOME}.  It is generated by
+#      "plugins" directory under ${GEM_HOME}.  It is generated by
 #      rubygems 3.2 and later.
 #      In PLIST file, it will be replace to "${GEM_HOME}/plugins" or
 #      "@comment ..." depends on the version of rubygems.
@@ -135,7 +135,7 @@
 .if !defined(_RUBYGEM_MK)
 _RUBYGEM_MK=   # defined
 
-# replace interpeter bin default
+# replace interpreter bin default
 REPLACE_RUBY_DIRS?=    bin
 REPLACE_RUBY_PAT?=     *
 
@@ -180,8 +180,8 @@
 
 # Installed gems have wrapper scripts that call the right interpreter,
 # regardless of the #! line at the head of a script, so we can skip
-# the interpreter path check for gems.  ANd it is also true for files'
-# permission.
+# the interpreter path check for gems.  And it is also true for files'
+# permissions.
 #
 CHECK_INTERPRETER_SKIP+=       ${GEM_LIBDIR}/*
 CHECK_PERMS_SKIP+=             ${GEM_LIBDIR}/*
diff -r fb38da3b13c3 -r 20c81fb7b2ee lang/ruby/platform.mk
--- a/lang/ruby/platform.mk     Mon May 16 22:45:44 2022 +0000
+++ b/lang/ruby/platform.mk     Tue May 17 00:42:33 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: platform.mk,v 1.12 2022/05/07 09:36:16 taca Exp $
+# $NetBSD: platform.mk,v 1.13 2022/05/17 00:42:33 gutteridge Exp $
 #
 
 #
@@ -47,8 +47,8 @@
 SUBST_NOOP_OK.conf=    yes # not needed for ruby-base>=2.6
 
 #
-# Don't reference pkgsrc's INSTALL macro since Ruby expect it could
-# execute by unprivileged user.
+# Don't reference pkgsrc's INSTALL macro since Ruby expects it could
+# be executed by an unprivileged user.
 #
 CONFIGURE_ENV+=        INSTALL="${INSTALL} ${COPY}" \
                INSTALL_DATA= INSTALL_PROGRAM= INSTALL_SCRIPT=
@@ -80,7 +80,7 @@
 # DragonFly
 #
 #
-# Work around for getucontext(3)
+# Workaround for getucontext(3)
 #
 .if ${OPSYS} == "DragonFly" && ${OS_VERSION} == "1.8.0"
 CONFIGURE_ENV+=        ac_cv_header_ucontext_h=no
@@ -98,8 +98,7 @@
 #
 # NetBSD
 #
-# dtrace support has problem on i386.  (No official NetBSD release is
-# built with dtrace enabled yet, so this problem is on 7.99.* only.)
+# dtrace support has a problem on i386. XXX is this still an issue?
 #
 .if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "i386"
 CONFIGURE_ARGS+=       --disable-dtrace
@@ -179,7 +178,7 @@
 .endif
 
 #
-# IRIX work around which should be fixed.
+# IRIX workaround which should be fixed.
 #
 PLIST_VARS+=   io
 .if ${OPSYS} != "IRIX"
diff -r fb38da3b13c3 -r 20c81fb7b2ee lang/ruby/rails.mk
--- a/lang/ruby/rails.mk        Mon May 16 22:45:44 2022 +0000
+++ b/lang/ruby/rails.mk        Tue May 17 00:42:33 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rails.mk,v 1.122 2022/05/05 03:39:02 taca Exp $
+# $NetBSD: rails.mk,v 1.123 2022/05/17 00:42:33 gutteridge Exp $
 
 .if !defined(_RUBY_RAILS_MK)
 _RUBY_RAILS_MK=        # defined
@@ -108,9 +108,9 @@
 _RAILS_TEENY=  ${RAILS_VERSION:C/([0-9]+)\.([0-9]+)\.([0-9]+).*/\3/}
 
 #
-# If RUBY_RAILS_STRICT_DEP is defined, match exact current Ruby no Rails
-# version.
-# Otherwise allow greater minor version.
+# If RUBY_RAILS_STRICT_DEP is defined, match exact current Ruby on Rails
+# version. Otherwise allow greater minor version.
+#
 
 .if !empty(RUBY_RAILS_STRICT_DEP:M[yY][eE][sS])
 _RAILS_NEXT!=  ${EXPR} ${_RAILS_TEENY} + 1
diff -r fb38da3b13c3 -r 20c81fb7b2ee lang/ruby/rubyversion.mk
--- a/lang/ruby/rubyversion.mk  Mon May 16 22:45:44 2022 +0000
+++ b/lang/ruby/rubyversion.mk  Tue May 17 00:42:33 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rubyversion.mk,v 1.251 2022/05/05 10:15:17 jperkin Exp $
+# $NetBSD: rubyversion.mk,v 1.252 2022/05/17 00:42:33 gutteridge Exp $
 #
 
 # This file determines which Ruby version is used as a dependency for
@@ -8,13 +8,13 @@
 # === User-settable variables ===
 #
 # RUBY_VERSION_DEFAULT
-#      The preferered Ruby version to use.
+#      The preferred Ruby version to use.
 #
 #              Possible values: 26 27 30 31
 #              Default: 27
 #
 # RUBY_BUILD_DOCUMENT
-#      Build documentation of this package and so that install formated
+#      Build documentation of this package so that installs formatted
 #      documentation.  It is also used in each package.
 #
 #              Possible values: Yes No
@@ -45,8 +45,8 @@
 #
 # RUBY_NOVERSION
 #      If "Yes", the package dosen't depend on any version of Ruby, such
-#      as editing mode for emacs.  In this case, package's name would begin
-#      with "ruby-".  Otherwise, the package's name is begin with
+#      as an editing mode for Emacs.  In this case, package's name would begin
+#      with "ruby-".  Otherwise, the package's name begins with
 #      ${RUBY_PKGPREFIX}.
 #
 #              Possible values: Yes No
@@ -59,7 +59,7 @@
 #
 # RUBY_ENCODING_ARG
 #
-#      Optional encoding argument for shbang line.
+#      Optional encoding argument for shebang line.
 #
 #      Default: (empty)
 #
@@ -73,9 +73,9 @@
 #      Use this variable in pkgsrc's Makefile
 #
 # RUBY_PKGPREFIX
-#      Prefix part for ruby based packages.  It is recommended that to
-#      use RUBY_PKGPREFIX with ruby related packages since you can supply
-#      different binary packages as each version of Ruby.
+#      Prefix part for Ruby-based packages.  It is recommended to
+#      use RUBY_PKGPREFIX with Ruby-related packages since you can supply
+#      different binary packages for each version of Ruby.
 #
 #              Possible values: ruby26 ruby27 ruby30 ruby31
 #
@@ -583,7 +583,7 @@
 # RUBY_NOVERSION should be set to "Yes" if the package dosen't depend on
 #      any specific version of ruby command.  In this case, package's
 #      name begin with "ruby-".
-#      If RUBY_NOVERSION is "No" (default), the package's name is begin
+#      If RUBY_NOVERSION is "No" (default), the package's name begins
 #      with ${RUBY_NAME}; "ruby26", "ruby27" and so on.
 #
 #      It also affects to RUBY_DOC, RUBY_EG...



Home | Main Index | Thread Index | Old Index