summaryrefslogtreecommitdiffstats
path: root/devel/portlint
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-11-01 22:46:25 +0000
committermarcus <marcus@FreeBSD.org>2003-11-01 22:46:25 +0000
commit25c86191eb44d0d63730c56a7666a9a4557d65d8 (patch)
tree70cc9170ba2625246ba40a9d8ef70c7da198a0c7 /devel/portlint
parent73d0f1e827b750817f05498b7f96654a1a155dc5 (diff)
downloadFreeBSD-ports-25c86191eb44d0d63730c56a7666a9a4557d65d8.zip
FreeBSD-ports-25c86191eb44d0d63730c56a7666a9a4557d65d8.tar.gz
Whoops. Flush out my CVS repo, and share some missing bug fixes with the
rest of the world. * Fix the -V option in the manpage [1] * Handle the case where parentheses may not exist around NOPORTDOCS [2] * Bump version to 2.4.6 Submitted by: mat [1] Reported by: kris [2]
Diffstat (limited to 'devel/portlint')
-rw-r--r--devel/portlint/Makefile3
-rw-r--r--devel/portlint/src/portlint.12
-rw-r--r--devel/portlint/src/portlint.pl6
3 files changed, 5 insertions, 6 deletions
diff --git a/devel/portlint/Makefile b/devel/portlint/Makefile
index 06b2435..f1f6eb1 100644
--- a/devel/portlint/Makefile
+++ b/devel/portlint/Makefile
@@ -8,8 +8,7 @@
#
PORTNAME= portlint
-PORTVERSION= 2.4.5
-PORTREVISION= 1
+PORTVERSION= 2.4.6
CATEGORIES= devel
MASTER_SITES= # none
DISTFILES= # none
diff --git a/devel/portlint/src/portlint.1 b/devel/portlint/src/portlint.1
index 1f598d9..65d4ad1 100644
--- a/devel/portlint/src/portlint.1
+++ b/devel/portlint/src/portlint.1
@@ -67,7 +67,7 @@ New port flag.
Adds several checks specific to newly submitted port.
If you are willing to submit the directory to be checked as a new port,
use this option.
-.It Fl t
+.It Fl V
Print the portlint version and exit.
.It Fl M Ar ENV
Set make variables to
diff --git a/devel/portlint/src/portlint.pl b/devel/portlint/src/portlint.pl
index 8b320ff..ed92700 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.19 2003/10/27 01:57:35 marcus Exp $
+# $Id: portlint.pl,v 1.20 2003/10/27 05:08:25 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 /;
@@ -903,8 +903,8 @@ sub checkmakefile {
if ($whole =~ /NOPORTSDOC/) {
&perror("WARN: NOPORTSDOC found. Do you mean NOPORTDOCS?");
}
- if ($sharedocused && $whole !~ /defined\s*\(NOPORTDOCS\)/
- && $whole !~ /def\s*\(NOPORTDOCS\)/
+ if ($sharedocused && $whole !~ /defined\s*\(?NOPORTDOCS\)?/
+ && $whole !~ /def\s*\(?NOPORTDOCS\)?/
&& $whole !~ m#(\$[\{\(]PREFIX[\}\)]|$localbase)/share/doc#) {
&perror("WARN: use \".if !defined(NOPORTDOCS)\" to wrap ".
"installation of files into $localbase/share/doc.");
OpenPOWER on IntegriCloud