Install a Perl module that's not currently a port?

Matthew Seaman m.seaman at infracaninophile.co.uk
Thu Oct 14 13:15:36 PDT 2004


On Thu, Oct 14, 2004 at 12:55:57PM -0600, Tillman Hodgson wrote:
> On Thu, Oct 14, 2004 at 02:06:39PM -0400, Frank Laszlo wrote:
> > Tillman Hodgson wrote:
> > 
> > >Howdy,
> > >
> > >How does one cleanly install a perl module (List::Group, in this case)
> > >that's not currently a port? I seem to recall reading something about a
> > >CPAN wrapper or something along those lines ...
> >
> > You could either create your own port for it, or use cpan to install it, 
> > information regarding cpan can be found at
> > http://www.cpan.org, to get to the cpan shell, simply execute:
> > perl -MCPAN -e shell
> 
> I'll likely create my own port then, as I don't want to get off the
> portupgrade track. I was hoping that there was a CPAN wrapper that would
> "portify" modules brought in via CPAN automatically.

Actually, BSDPAN does most of that.  It overrides the normal CPAN
behaviour to register the installed package in the pkgdb -- so you can
delete it or make a FreeBSD pkg out of it.  The worst problem is that
a package installed via BSDPAN doesn't have a port origin or the other
usual bits for an ordinary port.  They're also not capable of being
maintained by portupgrade(1).

Having a real port for any useful perl modules is desirable.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20041014/e72bad41/attachment.bin


More information about the freebsd-ports mailing list