<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/db502413aaf9b3328c8fa482594475c75859c0c8">https://github.com/macports/macports-ports/commit/db502413aaf9b3328c8fa482594475c75859c0c8</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 db502413aaf iniparser: new port
</span>db502413aaf is described below
<span style='display:block; white-space:pre;color:#808000;'>commit db502413aaf9b3328c8fa482594475c75859c0c8
</span>Author: Frank Dean <frankdean@users.noreply.github.com>
AuthorDate: Tue Sep 21 23:27:18 2021 +0100
<span style='display:block; white-space:pre;color:#404040;'> iniparser: new port
</span>---
devel/iniparser/Portfile | 52 +++++++++++++++++++++++++++++++++++++
devel/iniparser/files/Makefile.diff | 39 ++++++++++++++++++++++++++++
2 files changed, 91 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/iniparser/Portfile b/devel/iniparser/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..23bd337d119
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/iniparser/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,52 @@
</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 ndevilla iniparser 4.1 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;'>+categories devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {@frankdean fdsd.co.uk:frank.dean} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license MIT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description An ini file parser library for C
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</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;'>+patchfiles Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 06b85b087760fc40ab5a2568db663df25b13ccb6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 960daa800dd31d70ba1bacf3ea2d22e8ddfc2906534bf328319495966443f3ae \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 44732
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set libdir ${prefix}/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set includedir ${prefix}/include/iniparser
</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;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.target
</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 0755 -d ${destroot}${libdir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${includedir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/libiniparser.a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/libiniparser.so.1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${libdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 {*}[glob ${worksrcpath}/src/*.h] ${destroot}${includedir}
</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-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0755 -d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy {*}[glob -directory ${worksrcpath} *.md LICENSE] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/share/doc/${name}/
</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;'>+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/devel/iniparser/files/Makefile.diff b/devel/iniparser/files/Makefile.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..19afc1cc5df
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/iniparser/files/Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,39 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.orig 2021-09-24 09:57:19.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile 2021-09-24 12:13:02.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6,7 +6,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Compiler settings
</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;'>+-CFLAGS += -fPIC -Wall -Wextra -ansi -pedantic
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++CFLAGS += -fPIC -Wall -Wextra -std=c89 -pedantic
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ifndef DEBUG
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ADDITIONAL_CFLAGS ?= -O2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -20,7 +20,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ARFLAGS = rcv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SHLD = ${CC} ${CFLAGS}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-LDSHFLAGS = -shared -Wl,-Bsymbolic
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++LDSHFLAGS = -shared
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDFLAGS += -Wl,-rpath -Wl,/usr/lib -Wl,-rpath,/usr/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # .so.0 is for version 3.x, .so.1 is 4.x
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -63,8 +63,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $(QUIET_RANLIB)$(RANLIB) $@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $(SO_TARGET): $(OBJS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $(QUIET_LINK)$(SHLD) $(LDSHFLAGS) $(LDFLAGS) -o $(SO_TARGET) $(OBJS) \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- -Wl,-soname=`basename $(SO_TARGET)`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $(QUIET_LINK)$(SHLD) $(LDSHFLAGS) $(LDFLAGS) -o $(SO_TARGET) $(OBJS)
</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) $(OBJS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -78,7 +77,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ docs:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ @(cd doc ; $(MAKE))
</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;'>+ check: $(SO_TARGET)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ @(cd test ; $(MAKE))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>