[110782] trunk/dports/science/hackrf/Portfile

michaelld at macports.org michaelld at macports.org
Thu Sep 5 18:29:12 PDT 2013


Revision: 110782
          https://trac.macports.org/changeset/110782
Author:   michaelld at macports.org
Date:     2013-09-05 18:29:11 -0700 (Thu, 05 Sep 2013)
Log Message:
-----------
hackrf:
* better way to handle github.setup;
* update to d5cebd92 (20130904);
* whitespace;
* fix livecheck.

Modified Paths:
--------------
    trunk/dports/science/hackrf/Portfile

Modified: trunk/dports/science/hackrf/Portfile
===================================================================
--- trunk/dports/science/hackrf/Portfile	2013-09-05 22:31:18 UTC (rev 110781)
+++ trunk/dports/science/hackrf/Portfile	2013-09-06 01:29:11 UTC (rev 110782)
@@ -5,8 +5,9 @@
 PortGroup           cmake 1.0
 PortGroup           github 1.0
 
-github.setup        mossmann hackrf b056efca
-version             20130726
+set full_commit     d5cebd92de59f4dfab4d0d8ac7224fdb2c9ac78a
+github.setup        mossmann hackrf [string range ${full_commit} 0 7]
+version             20130904
 maintainers         michaelld openmaintainer
 
 description         ${name} is a project to build a low cost software radio (SDR) platform.
@@ -17,8 +18,8 @@
 
 long_description    ${description}
 
-checksums           rmd160  aeb3ebad1c61ce2ee30d05991f78eeef107ba065 \
-                    sha256  30d263cb7d304cb23a35e9cae684190e83f06fa4f5956265726e81fa8d6075c0
+checksums           rmd160  c34e620b68fa14043b16589ca961c290cfeec99c \
+                    sha256  62b2ce4db4f97b6054549bddbe547b4357908aee3bd7804690a603117b2ed182
 
 depends_build-append port:pkgconfig
 depends_lib-append   port:libusb
@@ -26,7 +27,7 @@
 # Many compilers do not recognize "-std=gnu90", so remove it.
 # Temporary patch.
 
-patchfiles-append patch-no-gnu90.diff
+patchfiles-append   patch-no-gnu90.diff
 
 # do VPATH build
 
@@ -43,3 +44,9 @@
 # be verbose when building, for debugging purposes
 
 build.post_args VERBOSE=1
+
+# fix livecheck to look for commits, not tags
+
+livecheck.url       https://github.com/mossmann/hackrf/commits/master
+livecheck.version   ${full_commit}
+livecheck.regex     .*permalink.*commits/(\[a-f0-9\]+).>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130905/4a25d82a/attachment.html>


More information about the macports-changes mailing list