[76657] trunk/dports/audio/qjackctl/Portfile

michaelld at macports.org michaelld at macports.org
Fri Mar 4 06:20:39 PST 2011


Revision: 76657
          http://trac.macports.org/changeset/76657
Author:   michaelld at macports.org
Date:     2011-03-04 06:20:39 -0800 (Fri, 04 Mar 2011)
Log Message:
-----------
qjackctl: Link executable from .app back to bindir.

Modified Paths:
--------------
    trunk/dports/audio/qjackctl/Portfile

Modified: trunk/dports/audio/qjackctl/Portfile
===================================================================
--- trunk/dports/audio/qjackctl/Portfile	2011-03-04 10:44:05 UTC (rev 76656)
+++ trunk/dports/audio/qjackctl/Portfile	2011-03-04 14:20:39 UTC (rev 76657)
@@ -6,6 +6,7 @@
 
 name            qjackctl
 version         0.3.7
+revision        1
 categories      audio
 maintainers     devans openmaintainter
 platforms       darwin
@@ -35,8 +36,10 @@
 configure.args-delete --disable-dependency-tracking
 
 post-destroot {
-    delete ${destroot}${applications_dir}
-    move ${destroot}${prefix}/bin ${destroot}${applications_dir}
+    # move the created .app to MacPorts' applications directory ...
+    move ${destroot}${prefix}/bin/qjackctl.app ${destroot}${applications_dir}
+    # ... and link the actual executable back to the bindir
+    ln ${destroot}${applications_dir}/qjackctl.app/Contents/MacOS/qjackctl ${destroot}${prefix}/bin/qjackctl
 }
 
 variant debug description "Enable debugging" {}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110304/7be99afc/attachment.html>


More information about the macports-changes mailing list