[106713] trunk/dports/science
michaelld at macports.org
michaelld at macports.org
Wed Jun 5 18:42:16 PDT 2013
Revision: 106713
https://trac.macports.org/changeset/106713
Author: michaelld at macports.org
Date: 2013-06-05 18:42:16 -0700 (Wed, 05 Jun 2013)
Log Message:
-----------
hackrf: initial port addition.
Added Paths:
-----------
trunk/dports/science/hackrf/
trunk/dports/science/hackrf/Portfile
Added: trunk/dports/science/hackrf/Portfile
===================================================================
--- trunk/dports/science/hackrf/Portfile (rev 0)
+++ trunk/dports/science/hackrf/Portfile 2013-06-06 01:42:16 UTC (rev 106713)
@@ -0,0 +1,45 @@
+# -*- 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$
+
+PortSystem 1.0
+PortGroup cmake 1.0
+
+name hackrf
+maintainers michaelld openmaintainer
+
+description ${name} is a project to build a low cost software radio platform.
+
+categories science comms
+homepage https://github.com/mossmann/hackrf/wiki
+license GPL-3
+platforms darwin macosx
+
+long_description ${description}
+
+version 20130605
+
+fetch.type git
+git.url git://github.com/mossmann/hackrf.git
+git.branch 532807110b57d52e22a753c5763a81eb98660953
+
+livecheck.url https://github.com/mossmann/hackrf/commits/master/
+livecheck.version ${git.branch}
+livecheck.regex ${name}/commits/(\[a-f0-9\]+).>
+
+depends_lib-append port:libusb
+
+# do VPATH 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
+
+configure.post_args ../${worksrcdir}/host
+
+# be verbose when building, for debugging purposes
+
+build.post_args VERBOSE=1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130605/cb2622ba/attachment.html>
More information about the macports-changes
mailing list