[48379] trunk/dports/ruby/rb-cocoa/Portfile
kimuraw at macports.org
kimuraw at macports.org
Fri Mar 20 02:13:09 PDT 2009
Revision: 48379
http://trac.macports.org/changeset/48379
Author: kimuraw at macports.org
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
platform darwin 9 {
if {![variant_isset universal]} {
@@ -39,6 +40,13 @@
}
}
+# 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"
+}
+
post-extract {
system "find \"${worksrcpath}\" -type d -name '.svn' | xargs /bin/rm -rf"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090320/684ab49d/attachment.html>
More information about the macports-changes
mailing list