Ticket #53131: vmpk.Portfile

File vmpk.Portfile, 1.7 KB (added by mojca (Mojca Miklavec), 8 years ago)

Portfile for vmpk

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2
3PortSystem          1.0
4PortGroup           cmake 1.1
5PortGroup           qt5 1.0
6
7name                vmpk
8version             0.6.2a
9
10description         Virtual MIDI Piano Keyboard is a MIDI events generator and receiver
11long_description    Virtual MIDI Piano Keyboard is a MIDI events generator and receiver. \
12                    It doesn't produce any sound by itself, but can be used to drive a \
13                    MIDI synthesizer (either hardware or software, internal or external). \
14                    You can use the computer's keyboard to play MIDI notes, and also \
15                    the mouse. You can use the Virtual MIDI Piano Keyboard to display \
16                    the played MIDI notes from another instrument or MIDI file player.
17
18categories          audio
19maintainers         mojca openmaintainer
20platforms           darwin
21homepage            http://vmpk.sourceforge.net/
22master_sites        sourceforge
23
24use_bzip2           yes
25
26checksums           rmd160  367eec456809d2ca342637ba00e989e85e44a8e9 \
27                    sha256  d1453497690bf4df9155a3414b149b79c6ce5e474f00985d8ccdd9be678ca908
28
29cmake.out_of_source yes
30
31depends_build-append \
32                    port:pkgconfig
33depends_lib-append  port:drumstick \
34                    port:qt5-qttools
35#                   port:qt5-qtsvg?
36
37configure.args-append \
38                    -DQt5LinguistTools_DIR=${prefix}/libexec/qt5/lib/cmake/Qt5LinguistTools/
39
40destroot {
41    xinstall -d ${destroot}${applications_dir}
42    file copy -force ${cmake.build_dir}/src/vmpk.app ${destroot}${applications_dir}
43}