Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Dec 2017 03:54:28 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Bob Willcox <bob@immure.com>, ports list <freebsd-ports@freebsd.org>
Subject:   Re: 6100 subdirectories in /usr/ports/devel!
Message-ID:  <5A455A04.4090100@grosbein.net>
In-Reply-To: <5A4557E8.70907@grosbein.net>
References:  <20171228203634.GK99670@rancor.immure.com> <5A4557E8.70907@grosbein.net>

next in thread | previous in thread | raw e-mail | index | archive | help
29.12.2017 3:36, Bob Willcox wrote:

>> Does anyone else feel that having 6100 subdirectories (939 are for py-* stuff)
>> is a bit excessive?
> 
> It is. But py-* stuff has second place only:
> 
> $ ls /usr/ports/devel | sed 's/-.*//' | sort | uniq -c | sort -rn | head
> 1908 p5
>  964 py
>  600 rubygem
>  280 hs
>  176 pear
>   57 R
>   56 pecl
>   48 elixir
>   47 geany
>   43 erlang

In fact, ports/devel is first but not only category having similar problem with p5-* stuff:

$ cd /usr/ports
$ find . -type d -mindepth 1 -maxdepth 1 | while read category; do printf "%15s " ${category#./}; ls $category | sed 's/-.*//' | sort | uniq -c | sort -rn | head -1; done | sort -k 2,2 -rn | head -15
          devel 1908 p5
            www  807 p5
       textproc  617 p5
            net  327 p5
      databases  259 p5
       security  258 p5
           math  146 p5
           mail  145 p5
       graphics  100 p5
        editors   98 libreoffice
       sysutils   75 rubygem
     converters   72 p5
           misc   63 p5
       net-mgmt   56 p5
   x11-toolkits   49 p5





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5A455A04.4090100>