On Mar 20, 2009, at 04:13, [email protected] wrote:
Revision: 48379
http://trac.macports.org/changeset/48379
Author: [email protected]
Date: 2009-03-20 02:13:09 -0700 (Fri, 20 Mar 2009)
Log Message:
-----------
ruby/rb-cocoa: fix #18708, add a variant "xcode".
Modified Paths:
--------------
trunk/dports/ruby/rb-cocoa/Portfile
Modified: trunk/dports/ruby/rb-cocoa/Portfile
===================================================================
--- trunk/dports/ruby/rb-cocoa/Portfile 2009-03-20 07:55:52 UTC
(rev 48378)
+++ trunk/dports/ruby/rb-cocoa/Portfile 2009-03-20 09:13:09 UTC
(rev 48379)
@@ -32,6 +32,7 @@
--install-root=${destroot} \
--documentation=${prefix}/share/doc/${name} \
--examples=${prefix}/share/examples/${name}
+destroot.violate_mtree yes
What part of the port violates the mtree? Is it only the newly-added
xcode variant? If so, put the "destroot.violate_mtree yes" directive
inside the xcode variant.
+# by default, do not install Xcode templates. #18708
+variant xcode description {install project templates for Xcode} { }
+if {![variant_isset xcode]} {
+ configure.args-append \
+ --xcode-extras="${prefix}/share/doc/${name}/project-templates"
+}
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev