Get date of Portfile

Joshua Root jmr at macports.org
Fri Apr 16 12:23:26 PDT 2010


On 2010-4-17 04:14 , Scott Haneda wrote:
> How can I get the date that the portfile was last updated? Looking at some ports, many do not have livecheck, so I want to know if it is current.  I am surprised, but there are many a site that make it pretty darn hard to find out what is their current release version.
> 
> If I can tell if the Portfile is 12 months old, I know I should look into reving it.

head -n2 `port file foo`

- Josh


More information about the macports-users mailing list