summaryrefslogtreecommitdiff
path: root/pkgtools/revbump
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-05-06 12:41:46 +0000
committerwiz <wiz@pkgsrc.org>2014-05-06 12:41:46 +0000
commit5f993987b93bedec24287abae1596546ea141d16 (patch)
treeea68652dbe5f8753c2a54d68f984ececb2d56476 /pkgtools/revbump
parent9b1b1095b8614c3e9f6755a358575d3f6328d132 (diff)
downloadpkgsrc-5f993987b93bedec24287abae1596546ea141d16.tar.gz
Make finddepends look in modules.mk, plugins.mk, and schemas.mk as well.
Suggested by obache. Bump version.
Diffstat (limited to 'pkgtools/revbump')
-rw-r--r--pkgtools/revbump/Makefile4
-rw-r--r--pkgtools/revbump/files/finddepends10
-rw-r--r--pkgtools/revbump/files/revbump.110
3 files changed, 15 insertions, 9 deletions
diff --git a/pkgtools/revbump/Makefile b/pkgtools/revbump/Makefile
index e69947d44e7..541372e4b35 100644
--- a/pkgtools/revbump/Makefile
+++ b/pkgtools/revbump/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.25 2014/03/03 02:46:28 obache Exp $
+# $NetBSD: Makefile,v 1.26 2014/05/06 12:41:46 wiz Exp $
-PKGNAME= revbump-2.5
+PKGNAME= revbump-2.6
CATEGORIES= pkgtools
MAINTAINER= wiz@NetBSD.org
diff --git a/pkgtools/revbump/files/finddepends b/pkgtools/revbump/files/finddepends
index 00e8a227d78..2604a728a80 100644
--- a/pkgtools/revbump/files/finddepends
+++ b/pkgtools/revbump/files/finddepends
@@ -1,9 +1,9 @@
#!@PERL@ -w
# -*- perl -*-
#
-# $NetBSD: finddepends,v 1.8 2013/10/21 10:43:28 wiz Exp $
+# $NetBSD: finddepends,v 1.9 2014/05/06 12:41:46 wiz Exp $
#
-# Copyright (c) 2006 The NetBSD Foundation, Inc.
+# Copyright (c) 2006, 2014 The NetBSD Foundation, Inc.
#
# This code was originally contributed to the NetBSD Foundation, Inc.
# by Thomas Klausner <wiz@NetBSD.org>.
@@ -108,8 +108,14 @@ print "\n";
@makefiles = <$PKGSRCDIR/*/*/Makefile*>;
@optionfiles = <$PKGSRCDIR/*/*/options.mk>;
push(@makefiles, @optionfiles);
+@optionfiles = <$PKGSRCDIR/*/*/modules.mk>;
+push(@makefiles, @optionfiles);
@optionfiles = <$PKGSRCDIR/*/*/mozilla-common.mk>;
push(@makefiles, @optionfiles);
+@optionfiles = <$PKGSRCDIR/*/*/plugins.mk>;
+push(@makefiles, @optionfiles);
+@optionfiles = <$PKGSRCDIR/*/*/schemas.mk>;
+push(@makefiles, @optionfiles);
for $makefile (@makefiles) {
# print "* reading $makefile\n";
diff --git a/pkgtools/revbump/files/revbump.1 b/pkgtools/revbump/files/revbump.1
index a2a90d3bfcb..ba05317e46f 100644
--- a/pkgtools/revbump/files/revbump.1
+++ b/pkgtools/revbump/files/revbump.1
@@ -1,6 +1,6 @@
-.\" $NetBSD: revbump.1,v 1.17 2014/05/05 04:38:53 obache Exp $
+.\" $NetBSD: revbump.1,v 1.18 2014/05/06 12:41:46 wiz Exp $
.\"
-.\" Copyright (c) 2003, 2004, 2005, 2006, 2010, 2012, 2013 The NetBSD Foundation, Inc.
+.\" Copyright (c) 2003, 2004, 2005, 2006, 2010, 2012, 2013, 2014 The NetBSD Foundation, Inc.
.\"
.\" This code was originally contributed to the NetBSD Foundation, Inc.
.\" by Julio Merino <jmmv@NetBSD.org> and Thomas Klausner <wiz@NetBSD.org>.
@@ -31,7 +31,7 @@
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd October 21, 2013
+.Dd May 6, 2014
.Dt REVBUMP 1
.Os
.Sh NAME
@@ -87,9 +87,9 @@ would be:
cd /usr/pkgsrc
finddepends category/package \*[Gt] allbump
grep buildlink3.mk allbump | sed 's/.buildlink3.mk//' \*[Gt] bl3bump
-grep -e Makefile.common -e mozilla-common.mk allbump > commonbump
+grep -e Makefile.common -e mk$ allbump > commonbump
[read commonbump and replace entries with all packages including the
- corresponding Makefile.common or mozilla-common.mk file]
+ corresponding Makefile.common or *.mk file]
cat allbump commonbump | sed 's,/[^/]*$,,' | sort -u \*[Gt] makebump
revbump \*[Lt] makebump \*[Gt] makebump.manual
[if a package is listed in makebump.manual outside a line