<pre style='margin:0'>
Frank Schima (mf2k) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6c9d7b6426e9efb573a3032c2d6dedd0a04265fe">https://github.com/macports/macports-ports/commit/6c9d7b6426e9efb573a3032c2d6dedd0a04265fe</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 6c9d7b6 cfiles: new port
</span>6c9d7b6 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 6c9d7b6426e9efb573a3032c2d6dedd0a04265fe
</span>Author: Nikolay Korotkiy <sikmir@gmail.com>
AuthorDate: Wed Jul 10 20:17:46 2019 +0300
<span style='display:block; white-space:pre;color:#404040;'> cfiles: new port
</span>---
sysutils/cfiles/Portfile | 50 +++++++++++++++++++++++++++++++
sysutils/cfiles/files/patch-Makefile.diff | 8 +++++
sysutils/cfiles/files/patch-config.h.diff | 11 +++++++
3 files changed, 69 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/cfiles/Portfile b/sysutils/cfiles/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..b9c9d68
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/cfiles/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,50 @@
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup mananapr cfiles 1.7.1 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories sysutils
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license MIT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {@sikmir gmail.com:sikmir} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description A ncurses file manager written in C with vim like keybindings
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description ${name} is a terminal file manager with vim like keybindings, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ written in C using the ncurses library. It aims to provide an \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ interface like ranger while being lightweight, fast and minimal.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 263993e1f7f9813753a208e4a86d9fb0dda65013 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 10d3ca8d167c0c74c41d9213933e85519d75a302fba54614682c13381a9d93ad \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 237807
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-config.h.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-Makefile.diff
</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;'>+depends_build port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:ncurses
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_run port:atool \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:fzf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:mediainfo \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:bin/pdftoppm:poppler
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.args-append CC=${configure.cc}
</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#/usr/bin#${prefix}/share/cfiles/scripts#g" ${worksrcpath}/config.h
</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-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "gzip cfiles.1"
</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;'>+ xinstall -m 755 ${worksrcpath}/cfiles ${destroot}/${prefix}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 444 ${worksrcpath}/cfiles.1.gz ${destroot}/${prefix}/share/man/man1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}/${prefix}/share/cfiles/scripts
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 ${worksrcpath}/scripts/displayimg ${destroot}/${prefix}/share/cfiles/scripts
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 ${worksrcpath}/scripts/displayimg_uberzug ${destroot}/${prefix}/share/cfiles/scripts
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 ${worksrcpath}/scripts/clearimg ${destroot}/${prefix}/share/cfiles/scripts
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 ${worksrcpath}/scripts/clearimg_uberzug ${destroot}/${prefix}/share/cfiles/scripts
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/cfiles/files/patch-Makefile.diff b/sysutils/cfiles/files/patch-Makefile.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..49ff57f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/cfiles/files/patch-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.orig 2019-07-12 11:40:56.000000000 +0300
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile 2019-07-12 11:40:59.000000000 +0300
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,4 +1,4 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-CC = gcc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++CC ?= gcc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ NCURSES_CFLAGS = `pkg-config --cflags ncursesw`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ NCURSES_LIBS = `pkg-config --libs ncursesw`
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/cfiles/files/patch-config.h.diff b/sysutils/cfiles/files/patch-config.h.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..f4f61f6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/cfiles/files/patch-config.h.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;'>+--- config.h.orig 2019-07-10 15:52:51.000000000 +0300
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ config.h 2019-07-10 15:52:56.000000000 +0300
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -19,7 +19,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define SHOW_PDF_PREVIEWS 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // Program used to open non-text file (Eg: `xdg-open` or `thunar`)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#define FILE_OPENER "xdg-open"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define FILE_OPENER "open"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // Display Image Script
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define DISPLAYIMG "/usr/local/bin/displayimg_uberzug"
</span></pre><pre style='margin:0'>
</pre>