date of installation of ports

Ryan Schmidt ryandesign at macports.org
Fri Jun 12 16:58:08 PDT 2009


On Jun 12, 2009, at 16:45, Thomas De Contes wrote:

> is it possible to have a list of installed ports, like "port  
> installed", with the date of installation (or upgrade)  of each port ?

MacPorts doesn't have a command to show you that list, but you can  
get a listing of all the software directories. The date the directory  
was created is the date that software was installed or last upgraded.


ls -ld /opt/local/var/macports/software/*/*


Example from my system:


$ ls -ld /mp/var/macports/software/*/* | head
drwxr-xr-x   3 rschmidt  rschmidt      102 Jul 30  2008 /mp/var/ 
macports/software/CronniX/3.0.2_0+universal
drwxr-xr-x   3 rschmidt  rschmidt      102 Jun  1 19:55 /mp/var/ 
macports/software/ImageMagick/6.5.2-9_0+q8
drwxr-xr-x   3 rschmidt  rschmidt      102 Jan 16 04:45 /mp/var/ 
macports/software/Xft2/2.1.13_1+universal
drwxr-xr-x   3 rschmidt  rschmidt      102 Jun 11 14:15 /mp/var/ 
macports/software/XviD/1.2.0_0
drwxr-xr-x   3 rschmidt  rschmidt      102 Jun  9 23:04 /mp/var/ 
macports/software/aalib/1.4rc5_4
drwxr-xr-x   4 root      rschmidt      136 Dec 20 01:26 /mp/var/ 
macports/software/apache2/2.2.11_0
drwxr-xr-x   3 rschmidt  rschmidt      102 Jun  7 02:09 /mp/var/ 
macports/software/apr-util/1.3.7_0
drwxr-xr-x   3 rschmidt  rschmidt      102 Jun  7 02:08 /mp/var/ 
macports/software/apr/1.3.5_0
drwxr-xr-x   3 rschmidt  rschmidt      102 Jun  5 19:52 /mp/var/ 
macports/software/ardour2/2.5_1
drwxr-xr-x   3 rschmidt  rschmidt      102 Jun 12 00:07 /mp/var/ 
macports/software/ardour2/2.8_0



More information about the macports-users mailing list