<pre style='margin:0'>
Craig Treleaven (ctreleaven) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/fafdf04c6517c26025d118c6560d2b1e413d3d9b">https://github.com/macports/macports-ports/commit/fafdf04c6517c26025d118c6560d2b1e413d3d9b</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 fafdf04 darktable: use app portgroup
</span>fafdf04 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit fafdf04c6517c26025d118c6560d2b1e413d3d9b
</span>Author: Craig Treleaven <ctreleaven@macports.org>
AuthorDate: Fri Mar 3 21:45:29 2017 -0500
<span style='display:block; white-space:pre;color:#404040;'> darktable: use app portgroup
</span>---
graphics/darktable/Portfile | 22 +++++++++++++++++++++-
1 file changed, 21 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/darktable/Portfile b/graphics/darktable/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index cd2d729..080680f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/darktable/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/darktable/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,11 +3,12 @@
</span> PortSystem 1.0
PortGroup github 1.0
PortGroup active_variants 1.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup app 1.0
</span> PortGroup cmake 1.0
PortGroup cxx11 1.0
github.setup darktable-org darktable 2.2.3 release-
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span> github.tarball_from releases
use_xz yes
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -84,11 +85,30 @@ configure.args-append \
</span> -DUSE_OPENMP=OFF \
-DUSE_UNITY=OFF
<span style='display:block; white-space:pre;background:#e0ffe0;'>+post-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set wrap [open "${workpath}/darktable-app" w 0755]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts ${wrap} "#!/bin/sh"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts ${wrap} ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts ${wrap} "export XDG_DATA_DIRS=${prefix}/share:\$XDG_DATA_DIRS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts ${wrap} "exec ${prefix}/bin/darktable --moduledir ${prefix}/lib/darktable"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts ${wrap} ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ close ${wrap}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-destroot {
# need to determine why lib is not going where expected, until then...
move ${destroot}${prefix}/lib/darktable/libdarktable.dylib ${destroot}${prefix}/lib/
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+post-activate {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "env XDG_DATA_DIRS=${prefix}/share ${prefix}/bin/update-mime-database -V ${prefix}/share/mime"
</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;'>+app.executable ${workpath}/darktable-app
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+app.icon packaging/macosx/Icons.icns
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> universal_variant no
# With gcc5 or gcc6, tries to build src/osx/osx.mm with gcc which results
</pre><pre style='margin:0'>
</pre>