[58233] trunk/dports/devel/xapian-bindings/Portfile

afb at macports.org afb at macports.org
Thu Sep 24 10:52:22 PDT 2009


Revision: 58233
          http://trac.macports.org/changeset/58233
Author:   afb at macports.org
Date:     2009-09-24 10:52:22 -0700 (Thu, 24 Sep 2009)
Log Message:
-----------
fix building with -ruby (thanks ryan)

Modified Paths:
--------------
    trunk/dports/devel/xapian-bindings/Portfile

Modified: trunk/dports/devel/xapian-bindings/Portfile
===================================================================
--- trunk/dports/devel/xapian-bindings/Portfile	2009-09-24 17:48:39 UTC (rev 58232)
+++ trunk/dports/devel/xapian-bindings/Portfile	2009-09-24 17:52:22 UTC (rev 58233)
@@ -41,5 +41,7 @@
 default_variants +ruby
 
 post-destroot {
+  if {[file exists ${destroot}${prefix}/share/doc/xapian-bindings/ruby/rdocs]} {
     delete "${destroot}${prefix}/share/doc/xapian-bindings/ruby/rdocs"
+  }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090924/e6cf3a2c/attachment.html>


More information about the macports-changes mailing list