<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><blockquote type="cite" class=""><div class="">On Dec 3, 2016, at 6:01 AM, Ken Cunningham <<a href="mailto:ken.cunningham.webuse@gmail.com" class="">ken.cunningham.webuse@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><pre style="margin:0" class="">tobypeterson pushed a commit to branch master
in repository macports-ports.

</pre><p class=""><a href="https://github.com/macports/macports-ports/commit/d9673942b719a31aee1623f64d765e57de401dc5" class="">https://github.com/macports/macports-ports/commit/d9673942b719a31aee1623f64d765e57de401dc5</a></p>
<pre style="white-space: pre; background: #F8F8F8" class="">The following commit(s) were added to refs/heads/master by this push:
<span style="display:block; white-space:pre;color:#404040;" class="">     new d967394  pingus: new port submission
</span>d967394 is described below

<span style="display:block; white-space:pre;color:#808000;" class="">commit d9673942b719a31aee1623f64d765e57de401dc5
</span>Author: Ken Cunningham <<a href="mailto:ken.cunningham.webuse@gmail.com" class="">ken.cunningham.webuse@gmail.com</a>>
AuthorDate: Fri Dec 2 23:01:06 2016 -0800

<span style="display:block; white-space:pre;color:#404040;" class="">    pingus: new port submission
</span><span style="display:block; white-space:pre;color:#404040;" class="">    
</span><span style="display:block; white-space:pre;color:#404040;" class="">    popular lemmings(tm)-like open source game
</span>---
 games/pingus/Portfile | 45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

<span style="display:block; white-space:pre;color:#808080;" class="">diff --git a/games/pingus/Portfile b/games/pingus/Portfile
</span>new file mode 100644
<span style="display:block; white-space:pre;color:#808080;" class="">index 0000000..0475eb2
</span><span style="display:block; white-space:pre;background:#ffe0e0;" class="">--- /dev/null
</span><span style="display:block; white-space:pre;background:#e0e0ff;" class="">+++ b/games/pingus/Portfile
</span><span style="display:block; white-space:pre;background:#e0e0e0;" class="">@@ -0,0 +1,45 @@
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+# -*- 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;" class="">+
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+PortSystem          1.0
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+PortGroup           cmake 1.0
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+PortGroup           github 1.0
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+github.setup        pingus pingus d34b61f414ed4f264c22e37c98e1a1185c96eda4
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+version             0.8.0-20161019
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+categories          games
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+platforms           darwin
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+maintainers         <a href="http://gmail.com" class="">gmail.com</a>:ken.cunningham.webuse openmaintainer
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+license             GPL-3
</span></pre></div></blockquote>This should be "GPL-3+".</div><div><br class=""></div><div><a href="https://github.com/Pingus/pingus/blob/master/src/main.cpp#L4-L7" class="">https://github.com/Pingus/pingus/blob/master/src/main.cpp#L4-L7</a><br class=""><blockquote type="cite" class=""><div class=""><pre style="white-space: pre; background: #F8F8F8" class=""><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+description         A free Lemmings(tm) clone using SDL2.
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+long_description    ${description} It is a puzzle game where the player has to guide a group of penguins to safety.
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+fetch.type          git
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+post-extract {
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+    system -W ${worksrcpath} "git submodule update --init"
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+}
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+depends_lib         port:boost \
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+                    port:libiconv \
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+                    port:libsdl2 \
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+                    port:libsdl2_image \
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+                    port:libsdl2_mixer \
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+                    port:libpng \
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+                    port:jsoncpp
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+configure.ldflags-append "-liconv -framework CoreFoundation"
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+cmake.out_of_source yes
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+configure.args      -DCMAKE_INSTALL_PREFIX:PATH="${applications_dir}/Pingus.app/Contents/MacOS"
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+pre-destroot {
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+    xinstall -d ${destroot}${applications_dir}/Pingus.app/Contents/Resources \
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+                ${destroot}${applications_dir}/Pingus.app/MacOS
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+    file copy ${worksrcpath}/data/images/icons/pingus-icon.icns ${destroot}${applications_dir}/Pingus.app/Contents/Resources/pingus.icns
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+    file copy ${worksrcpath}/Info.plist "${destroot}${applications_dir}/Pingus.app/Contents/Info.plist"
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+}
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+post-destroot {
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+    file copy ${destroot}${applications_dir}/Pingus.app/Contents/MacOS/bin/pingus ${destroot}${applications_dir}/Pingus.app/Contents/MacOS/pingus
</span></pre></div></blockquote>We generally prefer the MacPorts-specific "copy" over "file copy".<br class=""><blockquote type="cite" class=""><div class=""><pre style="white-space: pre; background: #F8F8F8" class=""><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+    reinplace "s|\"$@\"||g" ${destroot}${applications_dir}/Pingus.app/Contents/MacOS/pingus
</span><span style="display:block; white-space:pre;background:#e0ffe0;" class="">+}</span></pre></div></blockquote></div><div class="">This is…strange. What exactly are you replacing here?</div><div class=""><br class=""></div><div class="">vq</div></body></html>