# -*- 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
# $Id: Portfile 114615 2013-12-11 22:00:16Z ryandesign@macports.org $

PortSystem          1.0

name                denemo
version             1.1.0
categories          print audio x11
platforms           darwin
maintainers         nomaintainer
license             GPL-3+

description         Denemo is a unique score editor

long_description    Denemo is a unique score editor which exports notation \
                    to LilyPond and ABC music formats. It also acts as a \
                    frontend for Csound score files. Denemo is different from \
                    most graphic music editors\; this is partly because it \
                    was created to help edit LilyPond notation and partly \
                    because of its unique design philosophy.

homepage            http://www.denemo.org/
master_sites        gnu

checksums           rmd160  ce8fe79ac52e89c38a33dd8bc486bf7d5c1d7eb2 \
                    sha256  9bdb1d587604de9ed78c73060c13a1dba656f691fd4b0bcc8faf4a6a64084b14

depends_build       port:intltool \
                    port:pkgconfig

depends_lib         port:aubio \
                    port:evince \
                    port:fluidsynth \
                    port:gettext \
                    port:gtksourceview3 \
                    port:guile \
                    port:jack \
                    port:librsvg \
                    port:portaudio \
                    port:portmidi \
                    port:rubberband

depends_run         port:qtplay

patchfiles          patch-configure.diff \
                    patch-src-prefops.c.diff

configure.args      --enable-evince \
                    --enable-fluidsynth \
                    --enable-gtk3 \
                    --enable-guile_1_8 \
                    --enable-jack \
                    --enable-portaudio \
                    --enable-portmidi \
                    --enable-rubberband

use_parallel_build  yes

variant csound description "Csound can be used for playback." {
    depends_run-append port:csound
}
