<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/572f65c6432db9f449219b3359738ee92c2fb713">https://github.com/macports/macports-ports/commit/572f65c6432db9f449219b3359738ee92c2fb713</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 572f65c6432db9f449219b3359738ee92c2fb713
</span>Author: someuser12 <macosx12345@yahoo.fr>
AuthorDate: Sun Oct 25 01:18:55 2020 +0200
<span style='display:block; white-space:pre;color:#404040;'> xournalpp: submission
</span>---
x11/xournalpp/Portfile | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/xournalpp/Portfile b/x11/xournalpp/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..95a09e079ee
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/xournalpp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,56 @@
</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;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cmake 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup xournalpp xournalpp 1.0.18
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories x11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description A hand note taking software
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description Xournal++ is a hand note taking software written in C++ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ with the target of flexibility, functionality and speed.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 f407a8391a3683d87c15d3762c9ecacc13d4dbf5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 13e37aef0bc8178d78301c2405e5e463f70069600512a7b61dedec46cf860844 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 14892459
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build port:pkgconfig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gtk-mac-bundler
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:gtk3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:poppler \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:portaudio \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:zlib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libzip \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libsndfile \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:adwaita-icon-theme \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:lua
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+global appName
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set appName Xournal++.app
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Do not clutter $HOME/.local
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|\$1/inst|${prefix}|g;s/make install/#make install/" ${worksrcpath}/mac-setup/build-app.sh
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|<main-binary>\${prefix}/bin/|<main-binary dest=\"\${bundle}/foobar\">${worksrcpath}/src/|;s|<launcher-script></launcher-script >|<!-- <launcher-script></launcher-script > -->|" ${worksrcpath}/mac-setup/xournalpp.bundle
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "./mac-setup/build-app.sh ${prefix}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s/export DYLD_LIBRARY_PATH/#export DYLD_LIBRARY_PATH/" ${worksrcpath}/mac-setup/${appName}/Contents/MacOS/xournalpp
</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;'>+post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set docdir ${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 644 -W ${worksrcpath} AUTHORS LICENSE CHANGELOG.md README.md ${destroot}${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${worksrcpath}/mac-setup/${appName} ${destroot}${applications_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Xournal++ is intended to be used through ${appName}, binary in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # $prefix/bin won't work properly
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file delete ${destroot}/${prefix}/bin/xournalpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>