Macports and CPAN

Chris Janton face at CentosPrime.COM
Wed Sep 16 09:15:39 PDT 2009


On 2009-09-15 , at 16:59 , Scott Haneda wrote:

> Can you maybe share a step by step on how you got cpan2port to work,  
> or the syntax to use it?

cd ~/src/macports
cpan2port.sh -t Date::Parse
cpan2port.sh -t Astro::Coord::ECI::Utils

In between the first cpan2port and the second I did these from admin  
account

sudo port install p5-file-chdir
sudo port install p5-module-depends
sudo port install p5-list-moreutils

then

portindex

then from the admin account

sudo port install p5-astro-satpass

which installed p5-timedate (i made p5-astro-satpass depend on it)

The portfile reads

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c- 
basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$

PortSystem      1.0
PortGroup       perl5 1.0

perl5.setup     Astro-satpass 0.025
platforms       darwin
maintainers     cpan2port
description     Astro::Coord::ECI::Utils Julian day calculations
extract.suffix  .tar.gz
master_sites    http://search.cpan.org/CPAN/authors/id/W/WY/WYANT
checksums sha1 e970596e594bae96ef1d7cabf6d8aa071250e3f5 md5  
36cc8cd5a525e9a027e6bdd25eb67fdb rmd160  
6701e6b04b2ed42cb1f676e9543eb08759bc2698
depends_lib-append port:p5-params-util port:p5-datemanip port:p5- 
timedate

8)
----------------------------------
Chris Janton  - face at CentosPrime dot COM
Netminder for Opus1.COM




More information about the macports-users mailing list