source: trunk/dports/audio/portmidi/Portfile

Last change on this file was 114611, checked in by ryandesign@…, 4 years ago

portmidi: fix livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 114611 2013-12-11 21:21:03Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           cmake 1.0
6
7name                portmidi
8version             217
9revision            1
10categories          audio devel
11platforms           darwin
12maintainers         nomaintainer
13license             MIT
14
15description         Free, cross platform, open-source, real-time MIDI I/O library.
16long_description    ${description}
17
18homepage            http://portmedia.sourceforge.net/portmidi/
19master_sites        sourceforge:portmedia
20
21distname            ${name}-src-${version}
22use_zip             yes
23
24checksums           sha1 f45bf4e247c0d7617deacd6a65d23d9fddae6117 \
25                    rmd160 f83aa8288063690ff60654fa291e2982ba637633
26
27worksrcdir          ${name}
28
29patchfiles          patch-CMakeLists.txt.diff \
30                    patch-pm_common-CMakeLists.txt.diff \
31                    patch-pm_dylib-CMakeLists.txt.diff
32
33post-destroot {
34    set docdir ${destroot}${prefix}/share/doc/${name}
35    xinstall -d ${docdir}
36    xinstall -m 644 -W ${worksrcpath} \
37        README.txt \
38        license.txt \
39        pm_mac/README_MAC.txt \
40        ${docdir}
41}
42
43livecheck.regex     ${name}-src-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.