[116556] trunk/dports/science

michaelld at macports.org michaelld at macports.org
Tue Jan 28 09:37:46 PST 2014


Revision: 116556
          https://trac.macports.org/changeset/116556
Author:   michaelld at macports.org
Date:     2014-01-28 09:37:46 -0800 (Tue, 28 Jan 2014)
Log Message:
-----------
liquid-dsp: new port.

Added Paths:
-----------
    trunk/dports/science/liquid-dsp/
    trunk/dports/science/liquid-dsp/Portfile
    trunk/dports/science/liquid-dsp/files/
    trunk/dports/science/liquid-dsp/files/patch-makefile.in.diff

Added: trunk/dports/science/liquid-dsp/Portfile
===================================================================
--- trunk/dports/science/liquid-dsp/Portfile	                        (rev 0)
+++ trunk/dports/science/liquid-dsp/Portfile	2014-01-28 17:37:46 UTC (rev 116556)
@@ -0,0 +1,67 @@
+# -*- 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           github 1.0
+
+github.setup        jgaeddert liquid-dsp 8694f6d2099c2b66caf02ef3f0cb21d63e99aaac
+version             20140111
+checksums           rmd160 c898cd606b2384477d56034e5553173bd5918e06 \
+                    sha256 d75f27aa83d85265b349c23eb3af0518510368c1af6c8f750dbdc19de4f841f2
+
+maintainers         michaelld openmaintainer
+
+description         liquid-dsp is an open-source signal processing library for software-defined radios written in C.
+long_description    ${description} Its purpose is to provide a set of extensible DSP modules that do no rely on external dependencies or cumbersome frameworks.
+
+categories          science comms
+homepage            http://www.liquidsdr.org/
+license             GPL-3
+platforms           darwin macosx
+
+depends_build-append \
+                    port:autoconf \
+                    port:automake \
+                    port:grep \
+                    port:gsed
+
+depends_lib-append	port:fftw-3-single
+
+patchfiles-append   patch-makefile.in.diff
+
+# use the built-in bootstrap shell to create the configure script
+
+pre-configure {
+    system "cd ${worksrcpath} && /bin/bash bootstrap.sh"
+}
+
+# make sure MP programs are used
+
+configure.env-append \
+    SED=${prefix}/bin/gsed \
+    GREP=${prefix}/bin/grep \
+    EGREP="${prefix}/bin/grep -E"
+
+# disable searching for documentation programs
+
+configure.env-append \
+    GNUPLOT=no \
+    PYGMENTIZE=no \
+    PYGMENTIZE24=no \
+    BIBTEX=no \
+    EPSTOPDF=no \
+    PDFLATEX=no
+
+# remove top-level include path, such that internal headers are used
+# instead of any already-installed ones.
+
+configure.cppflags-delete -I${prefix}/include
+
+# remove top-level library path, such that internal libraries are used
+# instead of any already-installed ones.
+
+configure.ldflags-delete -L${prefix}/lib
+
+# build verbosely
+
+build.post_args-append AM_DEFAULT_VERBOSITY=1


Property changes on: trunk/dports/science/liquid-dsp/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/science/liquid-dsp/files/patch-makefile.in.diff
===================================================================
--- trunk/dports/science/liquid-dsp/files/patch-makefile.in.diff	                        (rev 0)
+++ trunk/dports/science/liquid-dsp/files/patch-makefile.in.diff	2014-01-28 17:37:46 UTC (rev 116556)
@@ -0,0 +1,27 @@
+--- makefile.in.orig	2014-01-24 12:08:18.000000000 -0500
++++ makefile.in	2014-01-24 12:09:07.000000000 -0500
+@@ -1117,7 +1117,7 @@
+ #
+ # gcc -dynamiclib -install_name libliquid.dylib -o libliquid.dylib libmodem.a libutility.a 
+ libliquid.dylib: $(objects)
+-	$(CC) -dynamiclib -install_name $@ -o $@ $^ $(LDFLAGS)
++	$(CC) -dynamiclib -install_name $(exec_prefix)/lib/$@ -o $@ $^ $(LDFLAGS)
+ 
+ # linux, et al
+ libliquid.so: libliquid.a
+@@ -1140,11 +1140,10 @@
+ 
+ install:
+ 	@echo "installing..."
+-	mkdir -p $(exec_prefix)/lib
+-	install -m 644 -p $(SHARED_LIB) libliquid.a $(exec_prefix)/lib
+-	mkdir -p $(prefix)/include
+-	mkdir -p $(prefix)/include/liquid
+-	install -m 644 -p $(addprefix include/,$(headers_install)) $(prefix)/include/liquid
++	mkdir -p $(DESTDIR)$(exec_prefix)/lib
++	install -m 644 -p $(SHARED_LIB) libliquid.a $(DESTDIR)$(exec_prefix)/lib
++	mkdir -p $(DESTDIR)$(prefix)/include/liquid
++	install -m 644 -p $(addprefix include/,$(headers_install)) $(DESTDIR)$(prefix)/include/liquid
+ 	@echo ""
+ 	@echo "---------------------------------------------------------"
+ 	@echo "  liquid-dsp was successfully installed.     "
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140128/ec22f51e/attachment.html>


More information about the macports-changes mailing list