[67313] trunk/dports/audio/portmidi/Portfile

jmr at macports.org jmr at macports.org
Wed May 5 03:37:16 PDT 2010


Revision: 67313
          http://trac.macports.org/changeset/67313
Author:   jmr at macports.org
Date:     2010-05-05 03:37:10 -0700 (Wed, 05 May 2010)
Log Message:
-----------
portmidi: update to release 200

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

Modified: trunk/dports/audio/portmidi/Portfile
===================================================================
--- trunk/dports/audio/portmidi/Portfile	2010-05-05 08:48:03 UTC (rev 67312)
+++ trunk/dports/audio/portmidi/Portfile	2010-05-05 10:37:10 UTC (rev 67313)
@@ -2,35 +2,42 @@
 # $Id$
 
 PortSystem 1.0
+PortGroup xcode 1.0
 
 name            portmidi
-version         0.52
+version         200
 categories      audio devel
-platforms       macosx
 maintainers     nomaintainer
-homepage        http://www.cs.cmu.edu/~music/portmusic/
+homepage        http://portmedia.sourceforge.net/portmidi/
 
 description     Free, cross platform, open-source, real-time MIDI I/O library.
 long_description ${description}
 
-fetch.type      svn
-svn.revision    52
-svn.url         http://portmedia.svn.sourceforge.net/svnroot/portmedia/portmidi/trunk
-use_configure   no
-worksrcdir      trunk
+master_sites    sourceforge:portmedia
+distname        ${name}-src-${version}
+use_zip         yes
 
+checksums       md5 26053a105d938395227bb6ae1d78643b \
+                sha1 dcd979881a3b16518d33999e529004d7a647c2db \
+                rmd160 3f7ab6d173ef860e576eb39cee7b9b17405e1f26
+
+worksrcdir      ${name}
+
+patchfiles      project.pbxproj.diff
 post-patch {
-  reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/pm_mac/Makefile.osx
-  reinplace "s|^ARCH|#ARCH|" ${worksrcpath}/pm_mac/Makefile.osx
+    reinplace "s|__DEVELOPER_DIR__|${developer_dir}|g" \
+              ${worksrcpath}/portmidi.xcodeproj/project.pbxproj
 }
 
-build.cmd       make -f pm_mac/Makefile.osx
+xcode.configuration Release
+xcode.destroot.path ${prefix}/lib
 
-destroot {
-    xinstall -c -m 644 ${worksrcpath}/pm_common/portmidi.h ${destroot}/${prefix}/include
-    xinstall -c -m 644 ${worksrcpath}/pm_mac/libportmidi.a ${destroot}/${prefix}/lib
-    xinstall -c -d  ${destroot}/${prefix}/share/doc/${name}
+post-destroot {
+    xinstall -c -m 644 ${worksrcpath}/pm_common/portmidi.h \
+                       ${worksrcpath}/porttime/porttime.h \
+                       ${destroot}${prefix}/include
+    xinstall -c -d  ${destroot}${prefix}/share/doc/${name}
     xinstall -c -m 644 -W ${worksrcpath} \
         README.txt license.txt pm_mac/README_MAC.txt \
-            ${destroot}/${prefix}/share/doc/${name}
+            ${destroot}${prefix}/share/doc/${name}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100505/77bb0c5e/attachment.html>


More information about the macports-changes mailing list