[39472] trunk/dports/devel/MacPorts_Framework/Portfile

armahg at macports.org armahg at macports.org
Thu Aug 21 09:42:41 PDT 2008


Revision: 39472
          http://trac.macosforge.org/projects/macports/changeset/39472
Author:   armahg at macports.org
Date:     2008-08-21 09:42:40 -0700 (Thu, 21 Aug 2008)
Log Message:
-----------
Added check for frameworks_dir variable since that is not set in MacPorts versions earlier than 1.7.0

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

Modified: trunk/dports/devel/MacPorts_Framework/Portfile
===================================================================
--- trunk/dports/devel/MacPorts_Framework/Portfile	2008-08-21 16:01:22 UTC (rev 39471)
+++ trunk/dports/devel/MacPorts_Framework/Portfile	2008-08-21 16:42:40 UTC (rev 39472)
@@ -26,6 +26,12 @@
 xcode.configuration     Release
 xcode.destroot.type	framework
 
+#Making sure that framework_dir exists. Can remove this after
+#MacPorts 1.7.0 is released
+if	{!	[info exists frameworks_dir]	} {
+	set frameworks_dir /Library/Frameworks
+}
+
 #Clean up MPHelperInstallTool and MPHelperTool from directory
 post-destroot {
 	file delete ${destroot}${frameworks_dir}/MPHelperTool	\
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080821/739ae907/attachment.html 


More information about the macports-changes mailing list