# -*- 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 119580 2014-05-01 03:27:46Z ryandesign@macports.org $ PortSystem 1.0 PortGroup app 1.0 PortGroup cmake 1.0 PortGroup qt4 1.0 # cmake/modules/DetectMachine.cmake tries to detect bitness PortGroup muniversal 1.0 name lmms version 1.0.1 categories multimedia maintainers ryandesign openmaintainer license GPL-2+ description Linux Multimedia Studio long_description LMMS is a free cross-platform alternative to commercial programs like FL Studio®, \ which allow you to produce music with your computer. This includes the creation of \ melodies and beats, the synthesis and mixing of sounds, and arranging of samples. \ You can have fun with your MIDI-keyboard and much more, all in a user-friendly and \ modern interface. homepage http://lmms.sourceforge.net platforms darwin master_sites sourceforge:project/lmms/lmms/${version} use_bzip2 yes distfiles ${name}-${version}-src${extract.suffix} # https://sourceforge.net/p/lmms/bugs/571/ use_parallel_build no checksums rmd160 d9f3234ef9f9c9f1918beda1d9bc78d090c9796d \ sha256 8d87b2e1195be6c3125801d80f711d83121dd359be9bd3c71f978be2f8d900b5 depends_lib-append port:fftw-3-single \ path:lib/libfltk.dylib:fltk \ port:fluidsynth \ port:jack \ port:libogg \ port:libsamplerate \ port:libsdl \ port:libsndfile \ port:libvorbis \ port:portaudio \ port:pulseaudio \ port:xorg-libXext patchfiles patch-plugins-zynaddsubfx-CMakeLists.txt.diff # https://sourceforge.net/p/lmms/bugs/487/ configure.cflags-append -std=gnu89 # This project has buggy C++ code compiler.blacklist *clang* configure.args-append -DWANT_ALSA=OFF \ -DWANT_JACK=ON \ -DWANT_OGGVORBIS=ON \ -DWANT_PORTAUDIO=ON \ -DWANT_PULSEAUDIO=ON \ -DWANT_SDL=ON \ -DWANT_STK=OFF \ -DWANT_VST=OFF app.name LMMS app.icon ${worksrcpath}/data/lmms.png platform darwin 8 { configure.ldflags-append -lpng -lz }