summaryrefslogtreecommitdiff
path: root/ports-mgmt/portlint
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2013-10-12 16:44:46 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2013-10-12 16:44:46 +0000
commit21816aab3ff19768a9e27aaed551089035dd2eba (patch)
tree167cb99f9da6f142561ef3d3f5a49052f3ce26b4 /ports-mgmt/portlint
parent- Add PORTSCOUT (diff)
Properly bump the version of portlint.
Notes
Notes: svn path=/head/; revision=330147
Diffstat (limited to 'ports-mgmt/portlint')
-rw-r--r--ports-mgmt/portlint/Makefile1
-rw-r--r--ports-mgmt/portlint/src/portlint.pl11
2 files changed, 7 insertions, 5 deletions
diff --git a/ports-mgmt/portlint/Makefile b/ports-mgmt/portlint/Makefile
index 6670134fa6c4..b2348ded0057 100644
--- a/ports-mgmt/portlint/Makefile
+++ b/ports-mgmt/portlint/Makefile
@@ -3,6 +3,7 @@
PORTNAME= portlint
PORTVERSION= 2.14.5
+PORTREVISION= 1
CATEGORIES= ports-mgmt
MASTER_SITES= # none
DISTFILES= # none
diff --git a/ports-mgmt/portlint/src/portlint.pl b/ports-mgmt/portlint/src/portlint.pl
index f685cf13746a..464139876e19 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$
-# $MCom: portlint/portlint.pl,v 1.282 2013/07/14 16:08:12 marcus Exp $
+# $MCom: portlint/portlint.pl,v 1.285 2013/10/12 16:41:24 marcus Exp $
#
use strict;
@@ -52,7 +52,7 @@ $portdir = '.';
# version variables
my $major = 2;
my $minor = 14;
-my $micro = 4;
+my $micro = 5;
sub l { '[{(]'; }
sub r { '[)}]'; }
@@ -353,7 +353,8 @@ if ($committer) {
} elsif (/^\./) {
&perror("WARN", $fullname, -1, "dotfiles are not preferred. ".
"If this file is a dotfile to be installed as an example, ".
- "consider importing it as \"dot$_\".");
+ "consider importing it as \"dot$_\".") unless
+ (-d && $_ eq '.svn');
} elsif (/[^-.a-zA-Z0-9_\+]/) {
&perror("WARN", $fullname, -1, "only use characters ".
"[-_.a-zA-Z0-9+] for patch or script names.");
@@ -1157,7 +1158,7 @@ sub check_depends_syntax {
"USES[+]=gettext.");
}
- # check USES=gmake
+ # check USE_GMAKE
if ($m{'dep'} =~ /^(gmake|\${GMAKE})$/) {
&perror("WARN", $file, -1, "dependency to $1 ".
"listed in $j. consider using ".
@@ -1358,7 +1359,7 @@ sub checkmakefile {
#&perror("FATAL", $file, 3, "do not add extra ".
# "empty comments after header.");
}
- # special case for $rcsidsrt\n$MCom: portlint/portlint.pl,v 1.282 2013/07/14 16:08:12 marcus Exp $
+ # special case for $rcsidsrt\n$MCom: portlint/portlint.pl,v 1.285 2013/10/12 16:41:24 marcus Exp $
} elsif ($lines[1] =~ /^# \$$rcsidstr[:\$]/ and $lines[2] =~ /^#\s+\$MCom[:\$]/ and $lines[3] =~ /^$/) {
# DO NOTHING
} elsif ($lines[1] !~ /^# \$$rcsidstr[:\$]/ or $lines[2] !~ /^$/) {