source: trunk/dports/audio/portmidi/Portfile @ 57378

Last change on this file since 57378 was 57378, checked in by ryandesign@…, 11 years ago

Change deprecated svn.tag to svn.revision
See http://lists.macosforge.org/pipermail/macports-dev/2009-August/009699.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 57378 2009-09-10 08:38:23Z ryandesign@macports.org $
2# -*- 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
3PortSystem 1.0
4name            portmidi
5version         0.52
6categories      audio devel
7platforms       macosx
8maintainers     nomaintainer
9homepage        http://www.cs.cmu.edu/~music/portmusic/
10
11description     Free, cross platform, open-source, real-time MIDI I/O library.
12long_description ${description} 
13
14fetch.type      svn
15svn.revision    52
16svn.url         http://portmedia.svn.sourceforge.net/svnroot/portmedia/portmidi/trunk
17use_configure   no
18worksrcdir      trunk
19
20post-patch {
21  reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/pm_mac/Makefile.osx
22  reinplace "s|^ARCH|#ARCH|" ${worksrcpath}/pm_mac/Makefile.osx
23}
24
25build.cmd       make -f pm_mac/Makefile.osx
26
27destroot {
28    xinstall -c -m 644 ${worksrcpath}/pm_common/portmidi.h ${destroot}/${prefix}/include
29    xinstall -c -m 644 ${worksrcpath}/pm_mac/libportmidi.a ${destroot}/${prefix}/lib
30    xinstall -c -${destroot}/${prefix}/share/doc/${name}
31    xinstall -c -m 644 -W ${worksrcpath} \
32        README.txt license.txt pm_mac/README_MAC.txt \
33            ${destroot}/${prefix}/share/doc/${name}
34}
Note: See TracBrowser for help on using the repository browser.