[138152] trunk/dports/science/gr-baz/Portfile

michaelld at macports.org michaelld at macports.org
Tue Jun 30 11:26:24 PDT 2015


Revision: 138152
          https://trac.macports.org/changeset/138152
Author:   michaelld at macports.org
Date:     2015-06-30 11:26:23 -0700 (Tue, 30 Jun 2015)
Log Message:
-----------
gr-baz:
+ allow using port libusb or libusb-devel;
+ add +armadillo variant to handle MUSIC DOA estimator block, enabled by default;
+ rev-bump for changes.

Modified Paths:
--------------
    trunk/dports/science/gr-baz/Portfile

Modified: trunk/dports/science/gr-baz/Portfile
===================================================================
--- trunk/dports/science/gr-baz/Portfile	2015-06-30 18:10:10 UTC (rev 138151)
+++ trunk/dports/science/gr-baz/Portfile	2015-06-30 18:26:23 UTC (rev 138152)
@@ -11,6 +11,7 @@
 
     github.setup        balint256 gr-baz 8e9f2246ffea450581cca355ded7c696c631fc99
     version             20150530
+    revision            1
     checksums           rmd160 84ecded74d88d88f24effa91d1b2f3da84444723 \
                         sha256 79df4aceb97556e01d6dc5d4c0de0942279e1e4f2f2af37e0c7e3a6fb22a968c
 
@@ -93,7 +94,7 @@
 
 # enable all variants except +debug and +universal
 
-default_variants +uhd +rtl
+default_variants +uhd +rtl +armadillo
 
 variant uhd description "Install ${name} with support for UHD" {
 
@@ -118,7 +119,7 @@
 
 variant rtl description "Install ${name} with support for RTL SDR hardware (via libusb)" {
 
-    depends_lib-append port:libusb
+    depends_lib-append path:lib/libusb-1.0.dylib:libusb
 
     configure.args-append \
         -DLIBUSB_INCLUDE_DIR=${prefix}/include/libusb-1.0 \
@@ -133,3 +134,21 @@
         -DLIBUSB_LIBRARIES=
 
 }
+
+variant armadillo description "Install ${name} with support for MUSIC DOA estimator block (via armadillo)" {
+
+    depends_lib-append port:armadillo
+
+    configure.args-append \
+        -DARMADILLO_INCLUDE_DIR=${prefix}/include \
+        -DARMADILLO_LIBRARY=${prefix}/lib/libarmadillo.dylib
+
+}
+
+if {![variant_isset armadillo]} {
+
+    configure.args-append \
+        -DARMADILLO_INCLUDE_DIR= \
+        -DARMADILLO_LIBRARY=
+
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150630/1e9da7dd/attachment.html>


More information about the macports-changes mailing list