diff options
-rw-r--r-- | devel/portlint/Makefile | 2 | ||||
-rw-r--r-- | devel/portlint/src/portlint.1 | 3 | ||||
-rw-r--r-- | devel/portlint/src/portlint.pl | 15 | ||||
-rw-r--r-- | ports-mgmt/portlint/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/portlint/src/portlint.1 | 3 | ||||
-rw-r--r-- | ports-mgmt/portlint/src/portlint.pl | 15 |
6 files changed, 24 insertions, 16 deletions
diff --git a/devel/portlint/Makefile b/devel/portlint/Makefile index 6cad862c46d3..8d13998b66fa 100644 --- a/devel/portlint/Makefile +++ b/devel/portlint/Makefile @@ -8,7 +8,7 @@ # PORTNAME= portlint -PORTVERSION= 2.5.2 +PORTVERSION= 2.5.3 CATEGORIES= devel MASTER_SITES= # none DISTFILES= # none diff --git a/devel/portlint/src/portlint.1 b/devel/portlint/src/portlint.1 index 65d4ad176f7f..7256e3d6f549 100644 --- a/devel/portlint/src/portlint.1 +++ b/devel/portlint/src/portlint.1 @@ -50,6 +50,9 @@ Some of the committers prefer instead of .Pa $(VARIABLE) , even though they are semantically same. +.It Fl C +Pedantic committer flag. This is equivalent to +.Fl abct . .It Fl c Committer flag. It will add several checks useful only for committers. diff --git a/devel/portlint/src/portlint.pl b/devel/portlint/src/portlint.pl index a15288772fc8..5fe3cc1236ab 100644 --- a/devel/portlint/src/portlint.pl +++ b/devel/portlint/src/portlint.pl @@ -17,7 +17,7 @@ # OpenBSD and NetBSD will be accepted. # # $FreeBSD$ -# $Id: portlint.pl,v 1.29 2003/11/22 20:24:40 marcus Exp $ +# $Id: portlint.pl,v 1.30 2003/11/22 20:37:23 marcus Exp $ # use vars qw/ $opt_a $opt_A $opt_b $opt_c $opt_h $opt_t $opt_v $opt_M $opt_N $opt_B $opt_V /; @@ -40,7 +40,7 @@ $portdir = '.'; # version variables my $major = 2; my $minor = 5; -my $micro = 2; +my $micro = 3; sub l { '[{(]'; } sub r { '[)}]'; } @@ -90,6 +90,7 @@ usage: $prog [-AabchvtN] [-M ENV] [-B#] [port_directory] -a additional check for scripts/* and pkg-* -A turn on all additional checks (equivalent to -abcNt) -b warn \$(VARIABLE) + -C pedantic committer mode (equivalent to -abct) -c committer mode -h show summary of command line options -v verbose mode @@ -107,16 +108,16 @@ sub version { exit $major; } -getopts('AabchtvB:M:NV'); +getopts('AabCchtvB:M:NV'); &usage if $opt_h; &version if $opt_V; -$extrafile = 1 if $opt_a || $opt_A; -$parenwarn = 1 if $opt_b || $opt_A; -$committer = 1 if $opt_c || $opt_A; +$extrafile = 1 if $opt_a || $opt_A || $opt_C; +$parenwarn = 1 if $opt_b || $opt_A || $opt_C; +$committer = 1 if $opt_c || $opt_A || $opt_C; $verbose = 1 if $opt_v; $newport = 1 if $opt_N || $opt_A; -$usetabs = 1 if $opt_t || $opt_A; +$usetabs = 1 if $opt_t || $opt_A || $opt_C; $contblank = $opt_B if $opt_B; $makeenv = $opt_M if $opt_M; diff --git a/ports-mgmt/portlint/Makefile b/ports-mgmt/portlint/Makefile index 6cad862c46d3..8d13998b66fa 100644 --- a/ports-mgmt/portlint/Makefile +++ b/ports-mgmt/portlint/Makefile @@ -8,7 +8,7 @@ # PORTNAME= portlint -PORTVERSION= 2.5.2 +PORTVERSION= 2.5.3 CATEGORIES= devel MASTER_SITES= # none DISTFILES= # none diff --git a/ports-mgmt/portlint/src/portlint.1 b/ports-mgmt/portlint/src/portlint.1 index 65d4ad176f7f..7256e3d6f549 100644 --- a/ports-mgmt/portlint/src/portlint.1 +++ b/ports-mgmt/portlint/src/portlint.1 @@ -50,6 +50,9 @@ Some of the committers prefer instead of .Pa $(VARIABLE) , even though they are semantically same. +.It Fl C +Pedantic committer flag. This is equivalent to +.Fl abct . .It Fl c Committer flag. It will add several checks useful only for committers. diff --git a/ports-mgmt/portlint/src/portlint.pl b/ports-mgmt/portlint/src/portlint.pl index a15288772fc8..5fe3cc1236ab 100644 --- a/ports-mgmt/portlint/src/portlint.pl +++ b/ports-mgmt/portlint/src/portlint.pl @@ -17,7 +17,7 @@ # OpenBSD and NetBSD will be accepted. # # $FreeBSD$ -# $Id: portlint.pl,v 1.29 2003/11/22 20:24:40 marcus Exp $ +# $Id: portlint.pl,v 1.30 2003/11/22 20:37:23 marcus Exp $ # use vars qw/ $opt_a $opt_A $opt_b $opt_c $opt_h $opt_t $opt_v $opt_M $opt_N $opt_B $opt_V /; @@ -40,7 +40,7 @@ $portdir = '.'; # version variables my $major = 2; my $minor = 5; -my $micro = 2; +my $micro = 3; sub l { '[{(]'; } sub r { '[)}]'; } @@ -90,6 +90,7 @@ usage: $prog [-AabchvtN] [-M ENV] [-B#] [port_directory] -a additional check for scripts/* and pkg-* -A turn on all additional checks (equivalent to -abcNt) -b warn \$(VARIABLE) + -C pedantic committer mode (equivalent to -abct) -c committer mode -h show summary of command line options -v verbose mode @@ -107,16 +108,16 @@ sub version { exit $major; } -getopts('AabchtvB:M:NV'); +getopts('AabCchtvB:M:NV'); &usage if $opt_h; &version if $opt_V; -$extrafile = 1 if $opt_a || $opt_A; -$parenwarn = 1 if $opt_b || $opt_A; -$committer = 1 if $opt_c || $opt_A; +$extrafile = 1 if $opt_a || $opt_A || $opt_C; +$parenwarn = 1 if $opt_b || $opt_A || $opt_C; +$committer = 1 if $opt_c || $opt_A || $opt_C; $verbose = 1 if $opt_v; $newport = 1 if $opt_N || $opt_A; -$usetabs = 1 if $opt_t || $opt_A; +$usetabs = 1 if $opt_t || $opt_A || $opt_C; $contblank = $opt_B if $opt_B; $makeenv = $opt_M if $opt_M; |