Hi, ports@:

    Here is a patch for portcheck, enable it warn when COMMENT start with
upper case.
    Comments?


Cheers !
wen
--- portcheck   Wed Nov 23 17:51:47 2022
+++ /usr/local/bin/portcheck    Wed Apr  5 09:20:35 2023
@@ -880,6 +880,11 @@
                                            "COMMENT${subpkg%-}, please"
                                fi
 
+                               if [[ $comment == [[:upper:]]* ]]; then
+                                       err "${portref}no leading with upper 
case in" \
+                                           "COMMENT${subpkg%-}, please"
+                               fi
+
                                if $arch_independent && [[ -n $wantlib ]]; then
                                        if [[ $subpkg != - || -n $wantlib_ss 
]]; then
                                                err "${portref}non-empty 
$wantlib_var for" \

Reply via email to