<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/def606a70b8ea90da75d7b505639d59ce1b69b34">https://github.com/macports/macports-ports/commit/def606a70b8ea90da75d7b505639d59ce1b69b34</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 def606a70b8 lzlib: new port (v1.14)
</span>def606a70b8 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit def606a70b8ea90da75d7b505639d59ce1b69b34
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Mon Mar 18 12:00:24 2024 -0400
<span style='display:block; white-space:pre;color:#404040;'> lzlib: new port (v1.14)
</span>---
archivers/lzlib/Portfile | 66 ++++++++++++++++++++++
.../lzlib/files/patch-darwin-Makefile.in.diff | 65 +++++++++++++++++++++
2 files changed, 131 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/archivers/lzlib/Portfile b/archivers/lzlib/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..ee3d4a157ea
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/archivers/lzlib/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,66 @@
</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 lzlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.14
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://www.nongnu.org/lzip/lzlib.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories archivers devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+installs_libs yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license BSD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {gmail.com:herby.gillot @herbygillot} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Lzlib is a data compression library providing in-memory LZMA compression \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ and decompression functions
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {*}${description}, including integrity checking of the decompressed data. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ The compressed data format used by the library is the lzip format. Lzlib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ is written in C. The lzip file format is designed for data sharing and \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long-term archiving, taking into account both data integrity and decoder \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ availability\: The lzip format provides very safe integrity checking and \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ some data recovery means. The program lziprecover can repair bit flip \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ errors \(one of the most common forms of data corruption\) in lzip files, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ and provides data recovery capabilities, including error-checked merging \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ of damaged copies of a file. The lzip format is as simple as possible \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \(but not simpler\). The lzip manual provides the source code of a simple \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ decompressor along with a detailed explanation of how it works, so that \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ with the only help of the lzip manual it would be possible for a digital \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ archaeologist to extract the data from a lzip file long after quantum \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ computers eventually render LZMA obsolete. Additionally the lzip \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reference implementation is copylefted, which guarantees that it will \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ remain free forever.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 94dce9f39a7f77cdfd95951e2e5f6a8339b67ef1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 e362ecccd82d4dd297df6a51b952c65d2172f9bf41a5c4590d3604d83aa519d3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 96075
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites nongnu:lzip/lzlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_lzip yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant universal {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-darwin-Makefile.in.diff
</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;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:help2man
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-shared \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CC=${configure.cc} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CFLAGS=\"${configure.cflags} [get_canonical_archflags cc]\" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDFLAGS=\"${configure.ldflags} [get_canonical_archflags cc]\"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.target all doc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.target install install-bin install-man
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+test.target check
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/archivers/lzlib/files/patch-darwin-Makefile.in.diff b/archivers/lzlib/files/patch-darwin-Makefile.in.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..29eaf4ce6ee
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/archivers/lzlib/files/patch-darwin-Makefile.in.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,65 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ./Makefile.in 2024-04-07 17:26:13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ./Makefile.in 2024-04-07 17:26:29
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -25,14 +25,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lib$(libname).a : lzlib.o
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $(AR) $(ARFLAGS) $@ $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-lib$(libname).so.$(pkgversion) : lzlib_sh.o
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $(CC) $(CFLAGS) $(LDFLAGS) -fpic -fPIC -shared -Wl,--soname=lib$(libname).so.$(soversion) -o $@ $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++lib$(libname).$(pkgversion).dylib : lzlib_sh.o
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $(CC) $(CFLAGS) $(LDFLAGS) -fpic -fPIC -dynamiclib -install_name $(prefix)/lib/lib$(libname).$(soversion).dylib -o $@ $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $(progname) : $(objs) lib$(libname).a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(objs) lib$(libname).a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-$(progname)_shared : $(objs) lib$(libname).so.$(pkgversion)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(objs) lib$(libname).so.$(pkgversion)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++$(progname)_shared : $(objs) lib$(libname).$(pkgversion).dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(objs) lib$(libname).$(pkgversion).dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bbexample : bbexample.o lib$(libname).a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ bbexample.o lib$(libname).a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -108,15 +108,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $(INSTALL_DATA) ./lib$(libname).a "$(DESTDIR)$(libdir)/lib$(libname).a" ; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if [ -n "$(progname_shared)" ] ; then \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $(INSTALL_PROGRAM) ./lib$(libname).so.$(pkgversion) "$(DESTDIR)$(libdir)/lib$(libname).so.$(pkgversion)" ; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if [ -e "$(DESTDIR)$(libdir)/lib$(libname).so.$(soversion)" ] ; then \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- run_ldconfig=no ; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else run_ldconfig=yes ; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- fi ; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- rm -f "$(DESTDIR)$(libdir)/lib$(libname).so" ; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- rm -f "$(DESTDIR)$(libdir)/lib$(libname).so.$(soversion)" ; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- cd "$(DESTDIR)$(libdir)" && ln -s lib$(libname).so.$(pkgversion) lib$(libname).so ; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- cd "$(DESTDIR)$(libdir)" && ln -s lib$(libname).so.$(pkgversion) lib$(libname).so.$(soversion) ; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $(INSTALL_PROGRAM) ./lib$(libname).$(pkgversion).dylib "$(DESTDIR)$(libdir)/lib$(libname).$(pkgversion).dylib" ; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ run_ldconfig=no ; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ rm -f "$(DESTDIR)$(libdir)/lib$(libname).dylib" ; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ rm -f "$(DESTDIR)$(libdir)/lib$(libname).$(soversion).dylib" ; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ cd "$(DESTDIR)$(libdir)" && ln -s lib$(libname).$(pkgversion).dylib lib$(libname).dylib; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ cd "$(DESTDIR)$(libdir)" && ln -s lib$(libname).$(pkgversion).dylib lib$(libname).$(soversion).dylib ; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if [ "${disable_ldconfig}" != yes ] && [ $${run_ldconfig} = yes ] && \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [ -x "$(LDCONFIG)" ] ; then "$(LDCONFIG)" -n "$(DESTDIR)$(libdir)" || true ; fi ; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -155,9 +152,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ uninstall-lib :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -rm -f "$(DESTDIR)$(includedir)/$(libname)lib.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -rm -f "$(DESTDIR)$(libdir)/lib$(libname).a"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- -rm -f "$(DESTDIR)$(libdir)/lib$(libname).so"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- -rm -f "$(DESTDIR)$(libdir)/lib$(libname).so.$(soversion)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- -rm -f "$(DESTDIR)$(libdir)/lib$(libname).so.$(pkgversion)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ -rm -f "$(DESTDIR)$(libdir)/lib$(libname).dylib"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ -rm -f "$(DESTDIR)$(libdir)/lib$(libname).$(soversion).dylib"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ -rm -f "$(DESTDIR)$(libdir)/lib$(libname).$(pkgversion).dylib"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ uninstall-info :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -if $(CAN_RUN_INSTALLINFO) ; then \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -198,7 +195,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ clean :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -rm -f $(progname) $(objs) lzlib.o lib$(libname).a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- -rm -f $(progname)_shared lzlib_sh.o lib$(libname).so*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ -rm -f $(progname)_shared lzlib_sh.o lib$(libname).*dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -rm -f bbexample bbexample.o ffexample ffexample.o lzcheck lzcheck.o
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distclean : clean
</span></pre><pre style='margin:0'>
</pre>