<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/7e8b32a2fbd9ebf07f44b782561977502c4a68ff">https://github.com/macports/macports-ports/commit/7e8b32a2fbd9ebf07f44b782561977502c4a68ff</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 7e8b32a2fbd qrscan: new port (v1.0.0)
</span>7e8b32a2fbd is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 7e8b32a2fbd9ebf07f44b782561977502c4a68ff
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Thu Aug 15 07:25:23 2024 -0400
<span style='display:block; white-space:pre;color:#404040;'> qrscan: new port (v1.0.0)
</span>---
graphics/qrscan/Portfile | 35 +++++++++++++++++++++++++++++++
graphics/qrscan/files/patch-Makefile.diff | 27 ++++++++++++++++++++++++
2 files changed, 62 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/qrscan/Portfile b/graphics/qrscan/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..65b5da75d3c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/qrscan/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,35 @@
</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;'>+PortGroup makefile 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup redraiment qrscan 1.0.0 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</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;'>+description Scan a QR code in the terminal using a given PNG image.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description {*}${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories graphics
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+installs_libs no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license MIT
</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;'>+checksums rmd160 ea6fd76ea37f85ca9031f8ebb0e58b40998f02b0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 d2143c53d9036ecf3399b306ccb2ed63ee8c96bb7a19249d8f4d7ca00a34ab51 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 7208
</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;'>+ path:bin/pkg-config:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:jpeg \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libpng \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libquirc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_parallel_build no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+makefile.has_destdir no
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/qrscan/files/patch-Makefile.diff b/graphics/qrscan/files/patch-Makefile.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..6ce13bb83b9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/qrscan/files/patch-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,27 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Patch Makefile to use existing installation of libquirc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ./Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ./Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -17,12 +17,7 @@ endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CC ?= gcc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PREFIX ?= /usr/local
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QUIRC = quirc/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ OBJS = \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $(QUIRC)/decode.o \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $(QUIRC)/identify.o \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $(QUIRC)/quirc.o \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $(QUIRC)/version_db.o \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ src/main.o \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ src/options.o \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ src/qrcode.o \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -31,8 +26,8 @@ OBJS = \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ src/jpg_reader.o
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ TARGET = qrscan
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-CFLAGS += -I$(QUIRC) $(shell $(PKG_CONFIG) --cflags --static libpng libjpeg)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-LDFLAGS += -lz -lm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++CFLAGS += $(shell $(PKG_CONFIG) --cflags --static libpng libjpeg)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++LDFLAGS += -lz -lm -lquirc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ifeq ($(shell uname -s),Darwin)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ GROUP = staff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDFLAGS += $(shell $(PKG_CONFIG) --variable=libdir --static libpng)/libpng.a
</span></pre><pre style='margin:0'>
</pre>