[38555] trunk/dports/audio/aubio/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Jul 24 23:51:39 PDT 2008


Revision: 38555
          http://trac.macosforge.org/projects/macports/changeset/38555
Author:   ryandesign at macports.org
Date:     2008-07-24 23:51:38 -0700 (Thu, 24 Jul 2008)
Log Message:
-----------
aubio: fix aubio.pc pkg-config file; for #16051

Modified Paths:
--------------
    trunk/dports/audio/aubio/Portfile

Modified: trunk/dports/audio/aubio/Portfile
===================================================================
--- trunk/dports/audio/aubio/Portfile	2008-07-25 05:33:35 UTC (rev 38554)
+++ trunk/dports/audio/aubio/Portfile	2008-07-25 06:51:38 UTC (rev 38555)
@@ -4,6 +4,7 @@
 
 name                    aubio
 version                 0.3.2
+revision                1
 categories              audio
 maintainers             nomaintainer
 platforms               darwin
@@ -19,12 +20,19 @@
 
 master_sites            ${homepage}pub/
 checksums               md5 ffc3e5e4880fec67064f043252263a44
-depends_lib             port:libsamplerate
+depends_lib             port:fftw-3 \
+                        port:libsamplerate
 
 configure.args          --disable-alsa \
                         --disable-jack \
                         --disable-lash
 
+post-build {
+    # aubio's includedir is ${prefix}/include/aubio but aubio's file fft.h
+    # includes fftw-3's fftw3.h but fftw3.h is in ${prefix}/include.
+    reinplace {s%-I${includedir}%-I${includedir} -I${prefix}/include%} ${worksrcpath}/${name}.pc
+}
+
 variant python description "Enable gnuplot and python interface" {
     depends_lib-append      port:py25-numarray \
                             port:swig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080724/05d512b5/attachment.html 


More information about the macports-changes mailing list