diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1999-04-28 06:20:23 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1999-04-28 06:20:23 +0000 |
commit | 8dddbbe6dda105882dacaf5b1f89f5ac88cd2ea9 (patch) | |
tree | 8a53e93aa6b5d27ef3bf7758c94ecfbf8c7fb7d0 /Tools | |
parent | 8dd200a695ad1b361733273e584aa1986f89dbf6 (diff) | |
download | ports-8dddbbe6dda105882dacaf5b1f89f5ac88cd2ea9.tar.gz ports-8dddbbe6dda105882dacaf5b1f89f5ac88cd2ea9.zip |
Notes
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/make_index | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Tools/make_index b/Tools/make_index index 952bbd3f1b17..7465517fb55b 100644 --- a/Tools/make_index +++ b/Tools/make_index @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# $Id: make_index,v 1.3 1999/03/11 21:47:09 scrappy Exp $ +# $Id: make_index,v 1.4 1999/03/13 04:25:21 scrappy Exp $ # # Written to speed-up INDEX file generation. The new scheme # basically visits each port once and writes out each port's @@ -83,7 +83,8 @@ while (<>) { my $pkg = { 'bdep' => [split(/ /, $f[7])], 'rdep' => [split(/ /, $f[8])], - 'text' => join('|', splice(@f, 0, 7)) + 'text' => join('|', splice(@f, 0, 7)), + 'rest' => join('|', splice(@f, 9)) }; $index{$name} = $pkg; @@ -115,5 +116,5 @@ foreach $name (@names) { print join(' ', sort(@{$pkg->{bdep}})) if @{$pkg->{bdep}}; print "|"; print join(' ', sort(@{$pkg->{rdep}})) if @{$pkg->{rdep}}; - print "\n"; + print "|$pkg->{rest}\n"; } |