[80051] trunk/dports/www/redland-bindings/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Jul 3 05:41:07 PDT 2011


Revision: 80051
          http://trac.macports.org/changeset/80051
Author:   ryandesign at macports.org
Date:     2011-07-03 05:41:07 -0700 (Sun, 03 Jul 2011)
Log Message:
-----------
redland-bindings: update to 1.0.13.1 (#30010); prevent build error when no variant is selected (#23759); prevent build error when raptor port is installed

Modified Paths:
--------------
    trunk/dports/www/redland-bindings/Portfile

Modified: trunk/dports/www/redland-bindings/Portfile
===================================================================
--- trunk/dports/www/redland-bindings/Portfile	2011-07-03 12:38:34 UTC (rev 80050)
+++ trunk/dports/www/redland-bindings/Portfile	2011-07-03 12:41:07 UTC (rev 80051)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name                redland-bindings
-version             1.0.10.1
+version             1.0.13.1
 description         Redland RDF Language Bindings
 long_description    Redland is a set of free software libraries that provide \
                     support for the Resource Description Framework (RDF). \
@@ -15,13 +15,27 @@
 homepage            http://librdf.org/bindings/
 master_sites        http://download.librdf.org/source/
 
-checksums           md5 4b70555996b230c9e6671fc6e416e123 \
-                    sha1 8c0248543881504850e2a705247fa787baa4754b 
+checksums           sha1    a3dee2bcd5961917a951544654e147b49bf17434 \
+                    rmd160  e07edd593c6e16d399b384268f99231b3c89026a
  
 depends_lib         port:redland
 
-configure.args      --mandir=${prefix}/share/man
+pre-configure {
+    if {![variant_isset perl5] && ![variant_isset php5] && ![variant_isset python24] && ![variant_isset python25] && ![variant_isset python26] && ![variant_isset ruby] && ![variant_isset tcl]} {
+        ui_error "You must select at least one variant."
+        return -code error "no variant selected"
+    }
 
+    foreach {badport badfile} "raptor ${prefix}/include/raptor.h" {
+        if {[file exists ${badfile}]} {
+            ui_error "${name} cannot be built while ${badport} is active."
+            ui_error "Please deactivate ${badport} and try again."
+            ui_error "You can reactivate ${badport} again later."
+            return -code error "${badport} is installed"
+        }
+    }
+}
+
 variant perl5 {
 	depends_lib-append path:bin/perl:perl5
 	configure.args-append --with-perl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110703/9867b101/attachment.html>


More information about the macports-changes mailing list