Revision
31642
Author
afb@macports.org
Date
2007-12-01 00:39:30 -0800 (Sat, 01 Dec 2007)

Log Message

clean up work files, after calling packagemaker

Modified Paths

Diff

Modified: trunk/base/src/package1.0/portpkg.tcl (31641 => 31642)


--- trunk/base/src/package1.0/portpkg.tcl	2007-12-01 03:36:43 UTC (rev 31641)
+++ trunk/base/src/package1.0/portpkg.tcl	2007-12-01 08:39:30 UTC (rev 31642)
@@ -120,6 +120,11 @@
         system "$packagemaker -build -f ${destpath} -p ${pkgpath} -r ${resourcepath} -i ${workpath}/Info.plist -d ${workpath}/Description.plist"
     }
 
+    file delete ${workpath}/Info.plist
+    file delete ${workpath}/PackageInfo
+    file delete ${workpath}/Description.plist
+    file delete -force ${workpath}/pkg_resources
+
     } else {
 
     write_PkgInfo ${pkgpath}/Contents/PkgInfo