Is there a download-only (i.e. a no-build) option?

Daniel J. Luke dluke at geeklair.net
Mon May 19 14:40:50 PDT 2008


On May 19, 2008, at 5:33 PM, Kurt Hillig wrote:
> What I'd like to do is download all of the source for a package and  
> all of
> its dependencies on my work machine, but *not* do any compiling on  
> that
> machine (since I won't be using this at work anyway); then transfer  
> the
> /opt directory tree to my home machine via the laptop and finish the
> process of compiling the software without having to spend days (and  
> yes,
> it does take days!) downloading over the slow link.

If you just want the downloaded source, you can do 'port fetch' for  
the ports you are interested in and copy over ${prefix}/var/macports/ 
distfiles (where ${prefix} is probably /opt/local).

It should just contain the downloaded source (and patches).

fetch doesn't follow dependencies, so you'll have to handle that  
manually (or you can install the ports on your work machine - the  
process of which will cause all of the necessary files to be saved  
into the distfiles directory).

--
Daniel J. Luke
+========================================================+
| *---------------- dluke at geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080519/fce0148a/attachment.sig 


More information about the macports-users mailing list