Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jul 2006 23:04:09 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Gerard Seibert <gerard@seibercom.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Port for Perl modules
Message-ID:  <20060715225141.J63110@wonkity.com>
In-Reply-To: <20060715193110.EF75.GERARD@seibercom.net>
References:  <20060714171453.FE9D.GERARD@seibercom.net> <ef10de9a0607151411w207cd8b5iaa0b407fe153453b@mail.gmail.com> <20060715193110.EF75.GERARD@seibercom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 15 Jul 2006, Gerard Seibert wrote:

> Nikolas Britton wrote:
>
>> On 7/14/06, Gerard Seibert <gerard@seibercom.net> wrote:
>>> Sorry if I asked this before, but does anyone know if there is a port
>>> for the following Perl modules:
>>>
>>> 1) Net-SMTP-SSL
>>> 2) Bundle Libnet
>>
>> http://www.freebsd.org/cgi/ports.cgi?query=p5&stype=all
>
> That was probably the first thing I did. Unfortunately, the ports tree
> does not list Perl modules as they are listen on CPAN. Consequently,
> finding the exact module can sometimes be a challenge. In this
> particular case, I have not been able to isolate either of the two
> modules list above. I find it hard to believe that neither of them has
> been ported however, especially since so many obscure modules do reside
> in the ports tree.

The names are formatted a little differently, but they seem to be 
consistent.  CPAN's Net::SMTP would be p5-Net-SMTP in ports.  Replace 
the double colon with a dash; the search will work without the "p5".

You can use CPAN directly, of course; the main reason not to is the 
ports make updating and deinstalling easier.

There's also CPANPLUS (/usr/ports/devel/p5-CPANPLUS) which is supposed 
to be the new way to deal with CPAN, at least for the non-FreeBSD world. 
I haven't tried it.

-Warren Block * Rapid City, South Dakota USA



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