[48574] trunk/dports/science/gwyddion

rowue at macports.org rowue at macports.org
Wed Mar 25 08:51:22 PDT 2009


Revision: 48574
          http://trac.macports.org/changeset/48574
Author:   rowue at macports.org
Date:     2009-03-25 08:51:02 -0700 (Wed, 25 Mar 2009)
Log Message:
-----------
changed hard coded path /opt/local to prefix substitute - revision dump

Modified Paths:
--------------
    trunk/dports/science/gwyddion/Portfile
    trunk/dports/science/gwyddion/files/gwyddion

Modified: trunk/dports/science/gwyddion/Portfile
===================================================================
--- trunk/dports/science/gwyddion/Portfile	2009-03-25 14:52:27 UTC (rev 48573)
+++ trunk/dports/science/gwyddion/Portfile	2009-03-25 15:51:02 UTC (rev 48574)
@@ -5,7 +5,7 @@
 
 name                gwyddion
 version             2.14
-revision            1
+revision            2
 categories          science x11
 platforms           darwin
 maintainers         rowue at macports.org yeti at gwyddion.net
@@ -57,6 +57,7 @@
     xinstall -m 755 -d ${destroot}${applications_dir}/gwyddion.app/Contents/MacOS
     xinstall ${filespath}/gwyddion ${destroot}${applications_dir}/gwyddion.app/Contents/MacOS
     reinplace "s|@APPDIR@|${applications_dir}|" ${destroot}${applications_dir}/gwyddion.app/Contents/MacOS/gwyddion
+    reinplace "s|@PREFIX@|${prefix}|" ${destroot}${applications_dir}/gwyddion.app/Contents/MacOS/gwyddion
     xinstall -m 755 -d ${destroot}${applications_dir}/gwyddion.app/Contents/Resources
     xinstall -m 0644 ${filespath}/gwyddion.icns ${destroot}${applications_dir}/gwyddion.app/Contents/Resources
     xinstall -m 0644 ${filespath}/Info.plist ${destroot}${applications_dir}/gwyddion.app/Contents/

Modified: trunk/dports/science/gwyddion/files/gwyddion
===================================================================
--- trunk/dports/science/gwyddion/files/gwyddion	2009-03-25 14:52:27 UTC (rev 48573)
+++ trunk/dports/science/gwyddion/files/gwyddion	2009-03-25 15:51:02 UTC (rev 48574)
@@ -1,6 +1,6 @@
 #!/bin/bash
 if [ -x @APPDIR@/X11.app/Contents/MacOS/X11 ]; then
-	open -a @APPDIR@/X11.app/Contents/MacOS/X11 /opt/local/bin/gwyddion
+	open -a @APPDIR@/X11.app/Contents/MacOS/X11 @PREFIX@/bin/gwyddion
 else 
-	open -a /Applications/Utilities/X11.app/Contents/MacOS/X11 /opt/local/bin/gwyddion
+	open -a /Applications/Utilities/X11.app/Contents/MacOS/X11 @PREFIX@/bin/gwyddion
 fi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090325/8e6c6af0/attachment.html>


More information about the macports-changes mailing list