<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/39d3dc46278980e2f12b77baeb26b2da2f70176f">https://github.com/macports/macports-ports/commit/39d3dc46278980e2f12b77baeb26b2da2f70176f</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 39d3dc46278980e2f12b77baeb26b2da2f70176f
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Fri Dec 23 05:17:09 2016 -0600
<span style='display:block; white-space:pre;color:#404040;'> csound: add modeline and adjust whitespace and formatting
</span>---
audio/csound/Portfile | 97 ++++++++++++++++++++++++++++++---------------------
1 file changed, 57 insertions(+), 40 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/csound/Portfile b/audio/csound/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 72f29f9..97aec76 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/csound/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/csound/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,38 +1,47 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# $Id$
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-name csound
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set branch 5.16
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version ${branch}.6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories audio
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license LGPL-2.1+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-description A language that is used to describe sound synthesizers.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Csound is a computer programming language for dealing with sound. \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- It is called Csound because it is written in the C programming language, \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- as opposed to some of its predecessors. \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Csound was written at MIT by Barry Vercoe, \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- based on an earlier language called Music360.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://www.csounds.com/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites sourceforge:project/csound/csound5/csound${branch}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname Csound${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- 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
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name csound
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set branch 5.16
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version ${branch}.6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories audio
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license LGPL-2.1+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description A language that is used to describe sound synthesizers.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description Csound is a computer programming language for dealing with \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sound. It is called Csound because it is written in the C \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ programming language, as opposed to some of its \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ predecessors. Csound was written at MIT by Barry Vercoe, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ based on an earlier language called Music360.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://www.csounds.com/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites sourceforge:project/csound/csound5/csound${branch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname Csound${version}
</span> # no bz2 for 5.16.6
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#use_bzip2 yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 bfca0a5e521781e253fe8ae457bbb9c3 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha1 28bbf5d34ee5bb11dc1d50fb122b5a706d317c33 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 49f3f7af3cfca6e129750564822698f4d2433329
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib path:bin/fltk-config:fltk port:libsndfile port:gettext
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build port:scons
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#use_bzip2 yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums md5 bfca0a5e521781e253fe8ae457bbb9c3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha1 28bbf5d34ee5bb11dc1d50fb122b5a706d317c33 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 49f3f7af3cfca6e129750564822698f4d2433329
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build port:scons
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib path:bin/fltk-config:fltk \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gettext \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libsndfile
</span>
# fltk is 32-bit only
<span style='display:block; white-space:pre;background:#ffe0e0;'>-supported_archs i386 ppc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs i386 ppc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles SConstruct.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pluginSDK_SConstruct.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ custom-osx.py.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ InOut_widgets.cpp.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CoreMIDI_case.patch
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles SConstruct.patch pluginSDK_SConstruct.patch \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- custom-osx.py.patch InOut_widgets.cpp.patch CoreMIDI_case.patch
</span> post-patch {
reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/custom-osx.py
reinplace "s|__CFLAGS__|${configure.cflags}|" ${worksrcpath}/custom-osx.py
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -44,17 +53,25 @@ post-patch {
</span> }
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_configure no
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-build.cmd ${prefix}/bin/scons
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.cmd ${prefix}/bin/scons
</span> build.target
<span style='display:block; white-space:pre;background:#ffe0e0;'>-build.args prefix=${prefix} CC=${configure.cc} CXX=${configure.cxx} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- usePortAudio=0 usePortMIDI=0 useJack=0 useFLTK=1 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- buildCsound5GUI=1 buildRelease=1 dynamicCsoundLibrary=1 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- instdir=${destroot}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.post_args install=0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.args ${build.args}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.target install=1 install
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.args prefix=${prefix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CC=${configure.cc} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CXX=${configure.cxx} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ usePortAudio=0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ usePortMIDI=0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ useJack=0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ useFLTK=1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ buildCsound5GUI=1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ buildRelease=1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dynamicCsoundLibrary=1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ instdir=${destroot}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.post_args install=0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.args ${build.args}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.target install=1 install
</span> destroot.destdir
post-destroot {
</pre><pre style='margin:0'>
</pre>