If you have access to a system with it installed, you could use the following 
to get the size in kilobytes

port contents texlive-latex-extra | xargs file | grep -vE ": directory$" | cut 
-d: -f1 | xargs du -k | cut -f1 | paste -s -d "+" - | bc

Russell

________________________________
From: [email protected] 
[[email protected]] on behalf of Srinath Vadlamani 
[[email protected]]
Sent: 23 February 2011 16:38
To: [email protected]
Subject: finding size of port

How does one find the size of a port/package?

Say I instaleld tex-live medium and want to install texlive-latex-extra but I 
am worried that my SD only has 2 GB left.
How can check the size of texlive-latex-extra to see if it is worth it?

Thanks
===================
Srinath Vadlamani, PhD
[email protected]<mailto:[email protected]>
(w)303-996-2034
(f)303-448-7756
www.txcorp.com<http://www.txcorp.com>
Tech-X Corp.
5621 Arapahoe Ave. Suite A
Boulder, CO 80027
====================




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

Reply via email to