diff options
author | abs <abs@pkgsrc.org> | 1999-12-18 14:53:32 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 1999-12-18 14:53:32 +0000 |
commit | 8c09d0fdaf8d8189b310edd98c4d6efd0ad158e6 (patch) | |
tree | 98d02cf7df130d614e431fc2352dbae1431057bd /pkgtools/pkglint | |
parent | 36ecaf162112367b7371f87dcd47a4b35af1dbae (diff) | |
download | pkgsrc-8c09d0fdaf8d8189b310edd98c4d6efd0ad158e6.tar.gz |
Update manpage and tweak parse_makefiles verbose output
Diffstat (limited to 'pkgtools/pkglint')
-rw-r--r-- | pkgtools/pkglint/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/pkglint/files/lintpkgsrc.1 | 4 | ||||
-rwxr-xr-x | pkgtools/pkglint/files/lintpkgsrc.pl | 8 |
3 files changed, 11 insertions, 5 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile index 41890ff455a..c92ed7a0b36 100644 --- a/pkgtools/pkglint/Makefile +++ b/pkgtools/pkglint/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.25 1999/12/18 14:39:20 abs Exp $ +# $NetBSD: Makefile,v 1.26 1999/12/18 14:53:32 abs Exp $ # -DISTNAME= pkglint-1.84 +DISTNAME= pkglint-1.85 CATEGORIES= pkgtools devel MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/pkglint/files/lintpkgsrc.1 b/pkgtools/pkglint/files/lintpkgsrc.1 index cc3f1d3038c..f9a309aa4ff 100644 --- a/pkgtools/pkglint/files/lintpkgsrc.1 +++ b/pkgtools/pkglint/files/lintpkgsrc.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: lintpkgsrc.1,v 1.4 1999/08/01 18:34:41 abs Exp $ +.\" $NetBSD: lintpkgsrc.1,v 1.5 1999/12/18 14:53:33 abs Exp $ .\" .\" Copyright (c) 1999 by David Brownlee (abs@netbsd.org) .\" Absolutely no warranty. @@ -28,6 +28,8 @@ Set pkgsrcdir - otherwise .Em PKGSRCDIR . .It Fl h Basic help and usage. +.It Fl D Ar path +Parse Makefiles and output contents (Useful for debugging). .It Fl d Extract the 'DEPENDS' listing from each pkgsrc package Makefile, then verify the version specified in each DEPEND correctly matches a current diff --git a/pkgtools/pkglint/files/lintpkgsrc.pl b/pkgtools/pkglint/files/lintpkgsrc.pl index 3537f7cfdbd..46b370d8c14 100755 --- a/pkgtools/pkglint/files/lintpkgsrc.pl +++ b/pkgtools/pkglint/files/lintpkgsrc.pl @@ -1,6 +1,6 @@ #!/usr/bin/env perl -# $NetBSD: lintpkgsrc.pl,v 1.10 1999/12/18 14:39:21 abs Exp $ +# $NetBSD: lintpkgsrc.pl,v 1.11 1999/12/18 14:53:33 abs Exp $ # (Somewhat quickly) Written by David Brownlee <abs@netbsd.org>. # Caveats: @@ -453,7 +453,11 @@ sub scan_pkgsrc_makefiles close(CAT); &verbose('.'); } - &verbose(' (', scalar(keys %pkgver2dir), " packages)\n"); + + my ($len); + $_ = scalar(keys %pkgver2dir).' packages'; + $len = @categories - length($_); + &verbose("\b"x@categories, $_, ' 'x$len, "\b"x$len, "\n"); if ($check_depends) { |