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

juanger at macports.org juanger at macports.org
Fri Mar 26 15:03:38 PDT 2010


Revision: 65505
          http://trac.macports.org/changeset/65505
Author:   juanger at macports.org
Date:     2010-03-26 15:03:37 -0700 (Fri, 26 Mar 2010)
Log Message:
-----------
Update to have the latest version of the framework with the gsoc09 changes.

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

Modified: trunk/dports/devel/MacPorts_Framework/Portfile
===================================================================
--- trunk/dports/devel/MacPorts_Framework/Portfile	2010-03-26 22:03:22 UTC (rev 65504)
+++ trunk/dports/devel/MacPorts_Framework/Portfile	2010-03-26 22:03:37 UTC (rev 65505)
@@ -6,7 +6,7 @@
 name                    MacPorts_Framework
 version                 0.1.0
 categories              devel macports framework
-maintainers             armahg openmaintainer
+maintainers             juanger armahg
 description             Cocoa framework for MacPorts.
 long_description    \
     MacPorts.framework is a framework for linking Cocoa applications to the \
@@ -19,15 +19,27 @@
 
 fetch.type              svn
 svn.url                 http://svn.macosforge.org/repository/macports/contrib/MacPorts_Framework
+svn.tag                 65491
 
 worksrcdir              MacPorts_Framework
 
 xcode.target            MacPorts
-xcode.configuration     Release
-xcode.destroot.type	framework
 
+if {"darwin" == ${os.platform}} {
+  if {9 <= ${os.major}} {
+    xcode.configuration     Release
+  } elseif {8 == ${os.major}} {
+    xcode.configuration     Release-Tiger
+  } else {
+    ui_error "You need Mac OS X Tiger at least to build this port."
+    return -code error "incompatible Mac OS X version"
+  }
+}
+
+xcode.destroot.type     framework
+
 #Clean up MPHelperInstallTool and MPHelperTool from directory
 post-destroot {
-	file delete ${destroot}${frameworks_dir}/MPHelperTool	\
-		${destroot}${frameworks_dir}/MPHelperInstallTool
+  file delete ${destroot}${frameworks_dir}/MPHelperTool \
+    ${destroot}${frameworks_dir}/MPHelperInstallTool
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100326/435e3f20/attachment-0001.html>


More information about the macports-changes mailing list