<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/66d7896d62096e0f493170aa4a5f5a75d600df6c">https://github.com/macports/macports-ports/commit/66d7896d62096e0f493170aa4a5f5a75d600df6c</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 66d7896d620 fxt: new port in math
</span>66d7896d620 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 66d7896d62096e0f493170aa4a5f5a75d600df6c
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Thu Dec 29 09:32:59 2022 +0700
<span style='display:block; white-space:pre;color:#404040;'> fxt: new port in math
</span>---
math/fxt/Portfile | 31 ++++++++++++++++++++
math/fxt/files/patch-makefile.diff | 59 ++++++++++++++++++++++++++++++++++++++
2 files changed, 90 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/fxt/Portfile b/math/fxt/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..38059db2463
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/fxt/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,31 @@
</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 fxt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2022.04.13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories math
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-3+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {@barracuda156 gmail.com:vital.had} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Library of low-level algorithms
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description {*}${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://www.jjj.de/fxt/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites ${homepage}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 52b5eead6b05d4109203cf09629389a78d29faff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 c1a5f2a0a24d9794088b21dc85cc475905659844d5367e8a31dbc6402d27272a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1856776
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-makefile.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,@PREFIX@,${prefix}," ${worksrcpath}/makefile
</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;'>+use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard 2017
</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} [get_canonical_archflags cc]" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CXX="${configure.cxx} [get_canonical_archflags cxx]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.env-append PREFIX=${prefix}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/fxt/files/patch-makefile.diff b/math/fxt/files/patch-makefile.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..4d367a94fb3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/fxt/files/patch-makefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,59 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- makefile.orig 2021-04-06 20:42:27.000000000 +0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ makefile 2022-12-29 08:43:20.000000000 +0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -192,7 +192,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ## PREFIX is only set if not supplied
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ## for other locations use e.g. "make install PREFIX=/opt/"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-PREFIX ?= /usr/local/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++PREFIX ?= @PREFIX@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBDIR=$(PREFIX)/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ INCDIR=$(PREFIX)/include/fxt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .PHONY: install ## install to $(PREFIX)/lib/ and $(PREFIX)/include/fxt/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -200,27 +200,27 @@ install: lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ : '[$@]'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ @echo 'PREFIX=$(PREFIX) LIBDIR=$(LIBDIR) INCDIR=$(INCDIR)'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ @:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- @test -d $(INCDIR) || mkdir $(INCDIR)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- @$(FXT_INSTALL) $(FXTIDIR)/*.h $(INCDIR)/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- @cd src && for f in $(SHFXTSRCDIRS); do mkdir -p $(INCDIR)/$$f; done
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- @cd src && for f in $(SHFXTSRCDIRS); do $(FXT_INSTALL) $$f/*.h $(INCDIR)/$$f; done
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ @test -d $(DESTDIR)$(INCDIR) || mkdir $(DESTDIR)$(INCDIR)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ @$(FXT_INSTALL) $(FXTIDIR)/*.h $(DESTDIR)$(INCDIR)/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ @cd src && for f in $(SHFXTSRCDIRS); do mkdir -p $(DESTDIR)$(INCDIR)/$$f; done
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ @cd src && for f in $(SHFXTSRCDIRS); do $(FXT_INSTALL) $$f/*.h $(DESTDIR)$(INCDIR)/$$f; done
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ @:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- @test -d $(LIBDIR) || mkdir $(LIBDIR)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- @$(FXT_INSTALL) $(FXTLIB) $(LIBDIR)/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ @test -d $(DESTDIR)$(LIBDIR) || mkdir $(DESTDIR)$(LIBDIR)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ @$(FXT_INSTALL) $(FXTLIB) $(DESTDIR)$(LIBDIR)/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ : '[$@ OK]'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .PHONY: chk-install ##x print whether installed header files are up to date
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ chk-install:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ @(cd src && find . -maxdepth 2 -name \*.h | sort) > tmp-hdr1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- @(cd $(INCDIR)/ && find . -name \*.h | sort) > tmp-hdr2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ @(cd $(DESTDIR)$(INCDIR)/ && find . -name \*.h | sort) > tmp-hdr2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ @-diff tmp-hdr1 tmp-hdr2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ @rm tmp-hdr1 tmp-hdr2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-.PHONY: uninstall ## uninstall headers and lib, but leave directory $(INCDIR)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++.PHONY: uninstall ## uninstall headers and lib, but leave directory $(DESTDIR)$(INCDIR)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ uninstall:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- : '[$@]' ## note: we do not remove $(INCDIR)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- rm -rf $(INCDIR)/*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- rm -f $(LIBDIR)/$(FXTLIB)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ : '[$@]' ## note: we do not remove $(DESTDIR)$(INCDIR)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ rm -rf $(DESTDIR)$(INCDIR)/*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ rm -f $(DESTDIR)$(LIBDIR)/$(FXTLIB)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .PHONY: reinstall ## uninstall and install
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinstall: # uninstall install
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -785,7 +785,7 @@ showsrc:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # @for h in */*.h; do \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # grep -L $$h depend.mk &>/dev/null || echo $$h ; done
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-## @for h in $$(ls -1 $(INCDIR) ); do \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++## @for h in $$(ls -1 $(DESTDIR)$(INCDIR) ); do \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #.PHONY: shownotes ##x show comments that contain the string "note"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #shownotes:
</span></pre><pre style='margin:0'>
</pre>