<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/bf87ef479611b44218435ecfcd32ff7aa8a43a99">https://github.com/macports/macports-ports/commit/bf87ef479611b44218435ecfcd32ff7aa8a43a99</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit bf87ef479611b44218435ecfcd32ff7aa8a43a99
</span>Author: Davide Gerhard <rainbow@irh.it>
AuthorDate: Sat May 11 17:27:42 2019 +0200
<span style='display:block; white-space:pre;color:#404040;'> perseus-sdr: new port
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Perseus Software Defined Radio Control Library
</span>---
science/perseus-sdr/Portfile | 50 ++++++++++++++++++++++++
science/perseus-sdr/files/patch-makefile.am.diff | 13 ++++++
2 files changed, 63 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/perseus-sdr/Portfile b/science/perseus-sdr/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..ca74385
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/perseus-sdr/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,50 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- 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
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin macosx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories science
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license LGPL-3.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {@ra1nb0w irh.it:rainbow} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name perseus-sdr
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Perseus Software Defined Radio Control Library
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://microtelecom.it/perseus/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup Microtelecom libperseus-sdr 0.8.1 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname libperseus_sdr-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 a9e27ec11b5533a30ff3ef1fb67bb6e04885f552 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 4400d845120178b7d323b49d045c5edbcb203e800606808093918d6037c9239c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 550633
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_autoconf yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+autoconf.cmd ./bootstrap.sh
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# need for autoconf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:autoconf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:automake \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libtool
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:lib/libusb.dylib:libusb
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # remove ssse3 on ppc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {$build_arch eq "ppc" || $build_arch eq "ppc64"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-makefile.am.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # install only the dynamic version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${destroot}/${prefix}/bin/perseustest
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${destroot}/${prefix}/bin/perseustest_dyn ${destroot}${prefix}/bin/perseustest
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.cmd ./examples/perseustest
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/perseus-sdr/files/patch-makefile.am.diff b/science/perseus-sdr/files/patch-makefile.am.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..891b7d6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/perseus-sdr/files/patch-makefile.am.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/Makefile.am b/Makefile.am
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 60d33a3..fcf9df8 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.am
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile.am
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -19,7 +19,7 @@ AM_LIBS = -ldl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if OS_MACOS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-AM_CFLAGS = -Wall -O3 -mssse3 -DGIT_REVISION=\"@VERSION@\"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AM_CFLAGS = -Wall -O3 -DGIT_REVISION=\"@VERSION@\"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AM_LDFLAGS =
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AM_LIBS = -ldl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif
</span></pre><pre style='margin:0'>
</pre>