[52017] trunk/dports/audio/portaudio/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Jun 8 00:53:32 PDT 2009


Revision: 52017
          http://trac.macports.org/changeset/52017
Author:   ryandesign at macports.org
Date:     2009-06-08 00:53:31 -0700 (Mon, 08 Jun 2009)
Log Message:
-----------
portaudio:

 * no longer build portaudio.pc by hand since the software builds portaudio-2.0.pc automatically now
 * no longer install COMPILING.DARWIN since the user does not need to know how to compile the software since MacPorts is compiling it for him
 * simplify how files are installed in the destroot

Closes #18720 (maintainer timeout)

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

Modified: trunk/dports/audio/portaudio/Portfile
===================================================================
--- trunk/dports/audio/portaudio/Portfile	2009-06-08 07:49:33 UTC (rev 52016)
+++ trunk/dports/audio/portaudio/Portfile	2009-06-08 07:53:31 UTC (rev 52017)
@@ -3,6 +3,7 @@
 PortSystem       1.0
 name             portaudio
 version          19.20071207
+revision         1
 categories       audio devel
 platforms        macosx
 maintainers      users.sourceforge.net:themiwi
@@ -32,24 +33,12 @@
 
 use_parallel_build  yes
 
-post-build {
-  copy ${worksrcpath}/portaudio-2.0.pc.in ${worksrcpath}/portaudio.pc
-  reinplace -E "s|\@prefix\@|${prefix}|g" ${worksrcpath}/portaudio.pc
-  reinplace -E "s|\@exec_prefix\@|${prefix}/bin|g" ${worksrcpath}/portaudio.pc
-  reinplace -E "s|\@libdir\@|${prefix}/lib|g" ${worksrcpath}/portaudio.pc
-  reinplace -E "s|\@includedir\@|${prefix}/include|g" ${worksrcpath}/portaudio.pc
-  reinplace -E "s|\@LIBS\@|-framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework -framework CoreServices|g" ${worksrcpath}/portaudio.pc
-  reinplace -E "s|\@THREAD_CFLAGS\@||g" ${worksrcpath}/portaudio.pc
-}
-
 post-destroot {
-  xinstall -c -d  ${destroot}/${prefix}/lib/pkgconfig
-  xinstall -c -m 644 ${worksrcpath}/portaudio.pc ${destroot}/${prefix}/lib/pkgconfig
-  xinstall -c -d  ${destroot}/${prefix}/share/doc/${name}
-  xinstall -c -m 644 ${worksrcpath}/README.txt  \
-                     ${worksrcpath}/COMPILING.DARWIN \
-                     ${worksrcpath}/LICENSE.txt \
-                     ${worksrcpath}/V19-devel-readme.txt \
-                     ${destroot}/${prefix}/share/doc/${name}
+  xinstall -d ${destroot}${prefix}/share/doc/${name}
+  xinstall -m 644 -W ${worksrcpath} \
+    README.txt  \
+    LICENSE.txt \
+    V19-devel-readme.txt \
+    ${destroot}${prefix}/share/doc/${name}
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090608/a42cd3f7/attachment.html>


More information about the macports-changes mailing list