[82662] trunk/dports/devel/qgit/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Aug 17 11:13:20 PDT 2011


Revision: 82662
          http://trac.macports.org/changeset/82662
Author:   ryandesign at macports.org
Date:     2011-08-17 11:13:19 -0700 (Wed, 17 Aug 2011)
Log Message:
-----------
qgit: simplify destroot

Modified Paths:
--------------
    trunk/dports/devel/qgit/Portfile

Modified: trunk/dports/devel/qgit/Portfile
===================================================================
--- trunk/dports/devel/qgit/Portfile	2011-08-17 18:10:05 UTC (rev 82661)
+++ trunk/dports/devel/qgit/Portfile	2011-08-17 18:13:19 UTC (rev 82662)
@@ -45,15 +45,10 @@
 configure.post_args
 
 destroot {
-    # Install to the application directory
-    xinstall -m 755 -d ${destroot}${applications_dir}
-    file delete -force ${destroot}${applications_dir}/qgit.app
-    file copy ${worksrcpath}/bin/qgit.app \
-        ${destroot}${applications_dir}
+    copy ${worksrcpath}/bin/qgit.app ${destroot}${applications_dir}
 
     # Also link to ${prefix}/bin for easier access from the command line
     # Especially useful since qgit is supposed to be started from
     # the GIT repository location.
-    system "ln -s ${applications_dir}/qgit.app/Contents/MacOS/qgit \
-        ${destroot}${prefix}/bin"
+    ln -s ${applications_dir}/qgit.app/Contents/MacOS/qgit ${destroot}${prefix}/bin
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110817/25bbef58/attachment.html>


More information about the macports-changes mailing list