<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/bcf8ffbe566f4c5697b0c0185e71ccbb503e3961">https://github.com/macports/macports-ports/commit/bcf8ffbe566f4c5697b0c0185e71ccbb503e3961</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new bcf8ffbe566 xld: new port
</span>bcf8ffbe566 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit bcf8ffbe566f4c5697b0c0185e71ccbb503e3961
</span>Author: Vadim-Valdis Yudaev <judaew@macports.org>
AuthorDate: Sun Nov 14 02:28:30 2021 +0200
<span style='display:block; white-space:pre;color:#404040;'> xld: new port
</span>---
audio/xld/Portfile | 47 ++++++++++++++++++++++
.../files/patch-use-macports-applications-dir.diff | 11 +++++
2 files changed, 58 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/xld/Portfile b/audio/xld/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..89aeeca495a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/xld/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,47 @@
</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 xld
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 20211018
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</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;'>+supported_archs x86_64 arm64 i386 ppc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license unknown/none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {judaew @judaew} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Lossless audio decoder for Mac OS X
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ X Lossless Decoder(XLD) is a tool for Mac OS X that is able to \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ decode/convert/play various 'lossless' audio files. The supported audio \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ files can be split into some tracks with cue sheet when decoding. It works \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ on Mac OS X 10.4 and later.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://tmkk.undo.jp/xld/index_e.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites sourceforge:xld
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname xld-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_dmg yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 ff488c700ce45116cd9c92910d7162955b036b92 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 5234e17218624e6bb341a2bb23c8994310b7d4962d3f878c3ed27b265d2791d6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 10967402
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant universal {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+default_variants +universal
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-use-macports-applications-dir.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s,@@APPLICATIONS_DIR@@,${applications_dir},g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/CLI/xld
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${worksrcpath}/XLD.app ${destroot}${applications_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0755 ${worksrcpath}/CLI/${name} ${destroot}${prefix}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/xld/files/patch-use-macports-applications-dir.diff b/audio/xld/files/patch-use-macports-applications-dir.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..90975639e1d
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/xld/files/patch-use-macports-applications-dir.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- CLI/xld.orig 2011-11-13 09:46:43.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ CLI/xld 2021-11-14 02:20:39.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,7 +1,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #!/bin/sh
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #Edit this line to define a path to XLD.app
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-XLD_APP="/Applications/XLD.app"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++XLD_APP="@@APPLICATIONS_DIR@@/XLD.app"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if [ ! -d "${XLD_APP}" ] ; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "XLD.app not found"
</span></pre><pre style='margin:0'>
</pre>