[63422] trunk/dports/science
michaelld at macports.org
michaelld at macports.org
Thu Feb 4 11:14:34 PST 2010
Revision: 63422
http://trac.macports.org/changeset/63422
Author: michaelld at macports.org
Date: 2010-02-04 11:14:33 -0800 (Thu, 04 Feb 2010)
Log Message:
-----------
new port
Added Paths:
-----------
trunk/dports/science/gnuradio-examples/
trunk/dports/science/gnuradio-examples/Portfile
Added: trunk/dports/science/gnuradio-examples/Portfile
===================================================================
--- trunk/dports/science/gnuradio-examples/Portfile (rev 0)
+++ trunk/dports/science/gnuradio-examples/Portfile 2010-02-04 19:14:33 UTC (rev 63422)
@@ -0,0 +1,61 @@
+# -*- 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 55234 2009-08-07 20:19:23Z macsforever2000 at macports.org $
+
+PortSystem 1.0
+
+name gnuradio-examples
+version 3.2.2
+maintainers michaelld
+description Examples component of GNU Radio.
+long_description Examples component of GNU Radio: \
+Python (GRC and plain scripts) and C++ examples for using GNU Radio.
+
+categories science
+homepage http://gnuradio.org
+
+# all GNU Radio components come in a single tarball.
+# Reuse this tarball for each Port
+
+dist_subdir gnuradio
+master_sites.mirror_subdir gnuradio
+distname gnuradio-${version}
+master_sites gnu
+
+platforms darwin macosx
+
+checksums md5 3fedcd64c2f51671cc1417b4c1e06834 \
+ sha1 6177d13e42937383e622edadc0b9f06391d0e5fc \
+ rmd160 42d1a496400ebc77e054f59d9f33cc8ba24a4234
+
+depends_lib port:gnuradio-core
+
+configure.args --disable-all-components \
+ --with-omnithread \
+ --with-gruel \
+ --with-gnuradio-core \
+ --enable-gnuradio-examples
+
+use_parallel_build yes
+
+variant docs description "build documentation for ${name}" {
+ configure.args-append --enable-doxygen --enable-docs
+ depends_lib-append port:doxygen
+}
+
+if { ![variant_isset docs] } {
+ configure.args-append --disable-doxygen --disable-docs
+}
+
+variant python25 conflicts python26 description "Use Python 2.5" {
+ configure.env PYTHON=${prefix}/bin/python2.5
+ depends_lib-append port:python25
+}
+
+variant python26 conflicts python25 description "Use Python 2.6" {
+ configure.env PYTHON=${prefix}/bin/python2.6
+ depends_lib-append port:python26
+}
+
+if { ![variant_isset python25] && ![variant_isset python26] } {
+ default_variants +python26
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100204/dadb2486/attachment.html>
More information about the macports-changes
mailing list