[103090] trunk/dports/science/gr-osmosdr/Portfile

michaelld at macports.org michaelld at macports.org
Wed Feb 13 17:09:28 PST 2013


Revision: 103090
          https://trac.macports.org/changeset/103090
Author:   michaelld at macports.org
Date:     2013-02-13 17:09:28 -0800 (Wed, 13 Feb 2013)
Log Message:
-----------
gr-osmosdr:

* fix properties;

* fix typo in description;

* another way to do the vpath build, using just 1 variable;

* move doxygen to be a build dependency only.

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

Property Changed:
----------------
    trunk/dports/science/gr-osmosdr/Portfile

Modified: trunk/dports/science/gr-osmosdr/Portfile
===================================================================
--- trunk/dports/science/gr-osmosdr/Portfile	2013-02-13 23:57:22 UTC (rev 103089)
+++ trunk/dports/science/gr-osmosdr/Portfile	2013-02-14 01:09:28 UTC (rev 103090)
@@ -1,5 +1,5 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
-# $Id: Portfile 103081 2013-02-13 14:01:16Z michaelld at macports.org $
+# $Id$
 
 PortSystem          1.0
 PortGroup           cmake 1.0
@@ -16,7 +16,7 @@
 platforms           darwin macosx
 
 long_description    ${description}: \
-    Support includes GNU Radio source and sink blocks in C++, Python, and GNU Radio Companion (grc).  This port also offers a wrapper functionality for the FunCube Dongle, Ettus UHD, andrtl-sdr radios.  By using gr-osmosdr source you can take advantage of a common software api in your applications independent of the underlying radio hardware.
+    Support includes GNU Radio source and sink blocks in C++, Python, and GNU Radio Companion (grc).  This port also offers a wrapper functionality for the FunCube Dongle, Ettus UHD, and rtl-sdr radios.  By using gr-osmosdr source you can take advantage of a common software api in your applications independent of the underlying radio hardware.
 
 version             20130210
 
@@ -35,9 +35,10 @@
 
 # do VPATH build
 
-pre-configure       { file mkdir ${workpath}/build }
-configure.dir       ${workpath}/build
-build.dir           ${workpath}/build
+set vpath           ${workpath}/build
+pre-configure       { file mkdir ${vpath} }
+configure.dir       ${vpath}
+build.dir           ${vpath}
 
 # set last configure argument to the reletive path
 # to the top-level cmake source
@@ -111,12 +112,12 @@
 
 variant docs description "Install ${name} documentation" {
 
-    depends_lib-append \
+    depends_build-append \
         port:doxygen
 
     configure.args-append \
-        -DDOXYGEN_DOT_EXECUTABLE=/opt/local/bin/dot \
-        -DDOXYGEN_EXECUTABLE=/opt/local/bin/doxygen
+        -DDOXYGEN_DOT_EXECUTABLE=${prefix}/bin/dot \
+        -DDOXYGEN_EXECUTABLE=${prefix}/bin/doxygen
 
 }
 


Property changes on: trunk/dports/science/gr-osmosdr/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130213/85d61510/attachment.html>


More information about the macports-changes mailing list