Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Aug 2000 03:02:45 +0900
From:      "Akinori -Aki- MUSHA" <knu@idaemons.org>
To:        Mario Sergio Fujikawa Ferreira <lioux@uol.com.br>
Cc:        Ade Lovett <ade@FreeBSD.ORG>, asami@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG, yasuf@bsdclub.org
Subject:   Re: Call for a new virtual category: "ruby"
Message-ID:  <86u2cvwrzu.wl@localhost.local.idaemons.org>
In-Reply-To: In your message of "Mon, 7 Aug 2000 12:42:41 -0300" <20000807124240.A14734@Fedaykin.here>
References:  <86og37a5jc.wl@localhost.local.idaemons.org> <20000806175148.D343@FreeBSD.org> <86zompvqgd.wl@localhost.local.idaemons.org> <20000806200512.A452@FreeBSD.org> <20000807124240.A14734@Fedaykin.here>

next in thread | previous in thread | raw e-mail | index | archive | help
By the way,

At Mon, 7 Aug 2000 12:42:41 -0300,
Mario Sergio Fujikawa Ferreira <lioux@uol.com.br> wrote:
> 	Not counting the language categories (ko, ...),
> we should not create virtual categories with less
> than the smallest category we already have:
> namely mbone (15 ports).

The following Ruby script counts the number of ports in each category
and lists them sorted:

$ ruby -naF'\|' -e 'BEGIN { $cat = Hash.new(0) }; \
$F[6].split(/ /).each { |c| $cat[c] += 1 }; \
END { $cat.sort {|a,b| b[1] <=> a[1] }.each \
{|a| puts a.reverse.join("\t") } }' /usr/ports/INDEX
347	devel
320	japanese
293	games
291	net
244	www
220	graphics
200	print
195	editors
191	perl5
160	misc
150	mail
145	x11
144	security
141	audio
138	lang
127	sysutils
119	textproc
115	gnome
111	elisp
84	x11-toolkits
80	math
72	tk82
68	databases
66	kde
63	windowmaker
61	emulators
61	news
59	korean
48	linux
48	python
48	x11-wm
41	x11-fonts
39	chinese
39	ipv6
38	ftp
37	java
36	x11-servers
36	deskutils
34	comms
32	irc
32	archivers
31	converters
28	x11-clocks
26	shells
25	biology
24	astro
23	afterstep
23	palm
22	cad
20	x11-fm
18	russian
18	benchmarks
14	tk80
14	tcl82
11	mbone
10	tkstep80
8	plan9
8	german
7	tcl83
7	vietnamese
6	offix
6	tcl80
5	tk42
4	tk83
1	hebrew
1	tcl81
1	tcl76

Hmm.  I can't think of a good comment for now.  Anyone? :)

Please don't yell at me "Too many Japanese ports!" :)

-- 
                           /
                          /__  __       
                         / )  )  ) )  /
Akinori -Aki- MUSHA aka / (_ /  ( (__(  @ idaemons.org / FreeBSD.org

"We're only at home when we're on the run, on the wing, on the fly"


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86u2cvwrzu.wl>