[74803] trunk/dports/lang/mzscheme/Portfile

jmr at macports.org jmr at macports.org
Sun Jan 2 16:30:15 PST 2011


Revision: 74803
          http://trac.macports.org/changeset/74803
Author:   jmr at macports.org
Date:     2011-01-02 16:30:09 -0800 (Sun, 02 Jan 2011)
Log Message:
-----------
mzscheme: use frameworks_dir

Modified Paths:
--------------
    trunk/dports/lang/mzscheme/Portfile

Modified: trunk/dports/lang/mzscheme/Portfile
===================================================================
--- trunk/dports/lang/mzscheme/Portfile	2011-01-03 00:14:20 UTC (rev 74802)
+++ trunk/dports/lang/mzscheme/Portfile	2011-01-03 00:30:09 UTC (rev 74803)
@@ -31,7 +31,6 @@
                 port:libiconv
 
 worksrcdir      mz-${version}/src
-set frameworks  ${prefix}/Library/Frameworks
 
 patchfiles patch-configure.diff patch-collects-setup-unixstyle-install.ss.diff patch-mzscheme-Makefile.in.diff
 
@@ -41,7 +40,7 @@
     ${worksrcpath}/mzscheme/src/startup.inc
   reinplace "s|~/Library/PLT Scheme/|${prefix}/share/mzscheme/|g" \
     ${worksrcpath}/mzscheme/src/file.c
-  reinplace "s|@FRAMEWORK_INSTALL_DIR@|${destroot}${frameworks}|" \
+  reinplace "s|@FRAMEWORK_INSTALL_DIR@|${destroot}${frameworks_dir}|" \
     ${worksrcpath}/mzscheme/Makefile.in
   reinplace "s|-I\$(srcdir)|-iquote \$(srcdir)|g" \
     ${worksrcpath}/foreign/gcc/libffi/include/Makefile.in \
@@ -61,10 +60,10 @@
 configure.args  --enable-libfw
 
 post-destroot {
-  ln -s ${frameworks}/PLT_MzScheme.framework/Versions/${version}/PLT_MzScheme \
+  ln -s ${frameworks_dir}/PLT_MzScheme.framework/Versions/${version}/PLT_MzScheme \
     ${destroot}${prefix}/lib/libmzscheme.${version}.dylib
   
-  system "/usr/bin/install_name_tool -change PLT_MzScheme.framework/Versions/${version}_3m/PLT_MzScheme ${frameworks}/PLT_MzScheme.framework/Versions/${version}_3m/PLT_MzScheme ${destroot}${prefix}/bin/mzscheme"
+  system "/usr/bin/install_name_tool -change PLT_MzScheme.framework/Versions/${version}_3m/PLT_MzScheme ${frameworks_dir}/PLT_MzScheme.framework/Versions/${version}_3m/PLT_MzScheme ${destroot}${prefix}/bin/mzscheme"
 }
 
 livecheck.type  regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110102/52662c06/attachment.html>


More information about the macports-changes mailing list