Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Oct 2007 00:25:29 +0200
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Where do I find the PERL compatible functions for php
Message-ID:  <200710040025.29801.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <340a29540710030749q5b675ddcm4d93ce9a6bdff8f2@mail.gmail.com>
References:  <340a29540710021836g759301f9rb9fd085dccb53e64@mail.gmail.com> <47031AE5.5000307@daleco.biz> <340a29540710030749q5b675ddcm4d93ce9a6bdff8f2@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 03 October 2007 16:49:04 Andrew Falanga wrote:

> One question I have for the maintainers of these ports and the ports
> infrastructure, why are these all listed in different places?
>
> /usr/ports/devel/php5-pcre/
> /usr/ports/textproc/php5-xml/
> /usr/ports/www/php5-session/
>
> Not that these categories are wrong, or don't make sense, but why wouldn't
> they all be lumped under /usr/ports/lang, or /usr/ports/devel or something
> like that?

Same reason libvorbis is in audio rather then under lang/ even though it can 
only be used in c/c++ directly. Ports are classified by function, not by 
language, since primarily you look for functionality.
For example, finding all php5 ports that deal with databases (a common query) 
would be impossible if they're stacked in lang/, while it's easy now:
cat /usr/ports/databases/php5-*/pkg-descr|less

-- 
Mel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710040025.29801.fbsd.questions>