On Sun, Aug 14, 2011 at 9:29 AM, Ryan Schmidt <[email protected]> wrote:
>
> On Aug 14, 2011, at 09:22, Peng Yu wrote:
>
>> I'm wondering how to install a perl package if it is not available on
>> mac port. I remember that I can not use cpan, as it will mess up with
>> port installation.
>
> Correct, using cpan, or other non-MacPorts methods, to install files into the 
> MacPorts prefix, is not recommended.
>
>
>> I tried the following. But I'm not sure how to install once the
>> package is built on my machine.
>>
>> https://trac.macports.org/wiki/howto/cpan2port
>
> Using cpan2port is a great way to get a start at a Portfile that can be used 
> to install the port.
>
> Testing a local portfile is easy. Simply "cd" into the new port's directory 
> and type "sudo port install".
>
> Once you have a port that works, you can submit it by creating a ticket in 
> the issue tracker.

It is not quite clear to me how to submit the package that ported. How
to specify the dependencies? Would you please let me know?

Also, is there a chance that a cpan package will not work with port?
If it is always going to work, can we automatically port all cpan
packages to mac port so that less human intervention is needed?

-- 
Regards,
Peng
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to