[38905] trunk/dports/aqua/huevos/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Aug 2 02:16:38 PDT 2008


Revision: 38905
          http://trac.macosforge.org/projects/macports/changeset/38905
Author:   ryandesign at macports.org
Date:     2008-08-02 02:16:37 -0700 (Sat, 02 Aug 2008)
Log Message:
-----------
huevos:

 * use ${applications_dir}
 * go back to using tcl "copy" command in destroot. This port stopped using "copy" in r15230 but I don't know why. It works fine now.

Modified Paths:
--------------
    trunk/dports/aqua/huevos/Portfile

Modified: trunk/dports/aqua/huevos/Portfile
===================================================================
--- trunk/dports/aqua/huevos/Portfile	2008-08-02 09:06:05 UTC (rev 38904)
+++ trunk/dports/aqua/huevos/Portfile	2008-08-02 09:16:37 UTC (rev 38905)
@@ -23,8 +23,12 @@
     file rename "${workpath}/Huevos ${version} Source" ${worksrcpath}
 }
 
+# Can be removed once MacPorts 1.7.0 is released
+if {![info exists applications_dir]} {
+    set applications_dir /Applications/MacPorts
+}
+
 destroot {
-    xinstall -m 755 -d ${destroot}/Applications/MacPorts/
-    system "find ${worksrcpath} -name Huevos.app -exec cp -r {} \
-        ${destroot}/Applications/MacPorts/ \\;"
+    xinstall -d ${destroot}${applications_dir}
+    copy ${worksrcpath}/build/${xcode.configuration}/Huevos.app ${destroot}${applications_dir}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/ef8826ea/attachment-0001.html 


More information about the macports-changes mailing list