[124348] trunk/dports/aqua/inkscape-app

sean at macports.org sean at macports.org
Fri Aug 22 16:05:39 PDT 2014


Revision: 124348
          https://trac.macports.org/changeset/124348
Author:   sean at macports.org
Date:     2014-08-22 16:05:39 -0700 (Fri, 22 Aug 2014)
Log Message:
-----------
inkscape-app: use a script to launch the app; fixes #44301

Modified Paths:
--------------
    trunk/dports/aqua/inkscape-app/Portfile

Added Paths:
-----------
    trunk/dports/aqua/inkscape-app/files/Inkscape

Modified: trunk/dports/aqua/inkscape-app/Portfile
===================================================================
--- trunk/dports/aqua/inkscape-app/Portfile	2014-08-22 23:05:32 UTC (rev 124347)
+++ trunk/dports/aqua/inkscape-app/Portfile	2014-08-22 23:05:39 UTC (rev 124348)
@@ -7,6 +7,7 @@
 github.setup        piksels-and-lines-orchestra inkscape 628ca88bdb258c0be08a5aa6337ed6df31190326
 name                inkscape-app
 version             0.48
+revision            1
 license             GPL-2+
 maintainers         nomaintainer
 description         Inkscape.app application bundle
@@ -41,7 +42,9 @@
 
     xinstall -m 644 ${filespath}/Info.plist ${inkapp}/Contents/
     xinstall -m 644 ${worksrcpath}/Inkscape.icns ${inkapp}/Contents/Resources/
-    ln -s ${prefix}/bin/inkscape ${inkapp}/Contents/MacOS/Inkscape
+    xinstall -m 755 ${filespath}/Inkscape ${inkapp}/Contents/MacOS
+
+    reinplace -W ${inkapp}/Contents/MacOs "s,@@PREFIX@@,${prefix},g" Inkscape
 }
 
 livecheck.type      none

Added: trunk/dports/aqua/inkscape-app/files/Inkscape
===================================================================
--- trunk/dports/aqua/inkscape-app/files/Inkscape	                        (rev 0)
+++ trunk/dports/aqua/inkscape-app/files/Inkscape	2014-08-22 23:05:39 UTC (rev 124348)
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+PATH=@@PREFIX@@/bin:$PATH @@PREFIX@@/bin/inkscape


Property changes on: trunk/dports/aqua/inkscape-app/files/Inkscape
___________________________________________________________________
Added: svn:executable
   + *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140822/1a0c4fed/attachment.html>


More information about the macports-changes mailing list