<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/2945233da57266a36ef2b8efe80a9d661848a7e7">https://github.com/macports/macports-ports/commit/2945233da57266a36ef2b8efe80a9d661848a7e7</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 2945233 mandoc: - Update to version 1.14.1 - mentions more platfroms (the *BSDs use this in base) - drops the sqlite dependency (mandoc no longer uses it) - augments, edits and reorders various settings to fit the current configure.local; in particular, renames mandoc's soelim(1) which otherwise clashes with groff's soelim(1). - beside install -m 755 for binaries, does -m 644 for others - explicitly does not do libmandoc, cgi and catman - moves the build section after t [...]
</span>2945233 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 2945233da57266a36ef2b8efe80a9d661848a7e7
</span>Author: Frank Schima <mf2k@macports.org>
AuthorDate: Tue May 2 15:28:15 2017 -0600
<span style='display:block; white-space:pre;color:#404040;'> mandoc:
</span><span style='display:block; white-space:pre;color:#404040;'> - Update to version 1.14.1
</span><span style='display:block; white-space:pre;color:#404040;'> - mentions more platfroms (the *BSDs use this in base)
</span><span style='display:block; white-space:pre;color:#404040;'> - drops the sqlite dependency (mandoc no longer uses it)
</span><span style='display:block; white-space:pre;color:#404040;'> - augments, edits and reorders various settings to fit the current configure.local;
</span><span style='display:block; white-space:pre;color:#404040;'> in particular, renames mandoc's soelim(1) which otherwise clashes with groff's soelim(1).
</span><span style='display:block; white-space:pre;color:#404040;'> - beside install -m 755 for binaries, does -m 644 for others
</span><span style='display:block; white-space:pre;color:#404040;'> - explicitly does not do libmandoc, cgi and catman
</span><span style='display:block; white-space:pre;color:#404040;'> - moves the build section after the configure section
</span><span style='display:block; white-space:pre;color:#404040;'> - sets proper livecheck.name
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/53887
</span>---
textproc/mandoc/Portfile | 84 +++++++++++++++++++++++-------------------------
1 file changed, 41 insertions(+), 43 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/mandoc/Portfile b/textproc/mandoc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7db5044..a146824 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/mandoc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/mandoc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,13 +3,13 @@
</span> PortSystem 1.0
name mandoc
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.13.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.14.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description UNIX manpage compiler
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://mdocml.bsd.lv/
</span> categories textproc
license ISC
maintainers eitanadler.com:lists stare.cz:hans openmaintainer
<span style='display:block; white-space:pre;background:#ffe0e0;'>-description The mandoc UNIX manpage compiler toolset
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://mdocml.bsd.lv/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin freebsd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms openbsd freebsd netbsd darwin
</span>
long_description mandoc is a suite of tools compiling mdoc, \
the roff macro language of choice for \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,60 +18,58 @@ long_description mandoc is a suite of tools compiling mdoc, \
</span>
master_sites http://mdocml.bsd.lv/snapshots/
<span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.name mdocml
</span> distname mdocml-${version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 47d1096708b45b15d8f198404fd6608d164bb66a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 23ccab4800d50bf4c327979af5d4aa1a6a2dc490789cb67c4c3ac1bd40b8cad8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:sqlite3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Without declaring a universal variant before using get_canonical_archflags,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# only non-universal arch flags are returned.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# This works around it.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Another way around the problem would be setting build.env in pre-build.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Kudos to jmr and ryandesign for explaining that.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant universal {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.env CFLAGS="${configure.cppflags} ${configure.cflags} [get_canonical_archflags cc]" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.args CC="${configure.cc}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 2e2d593e3f6cfcde3bdf57b090947b355ce2b2e8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 356954f141ec6f5635e938c826f2e16e4619bb361c64d84a31f6775d030a615b
</span>
pre-configure {
set filename "${worksrcpath}/configure.local"
set content [subst {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-CC="${configure.cc}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-CFLAGS="${configure.cppflags} ${configure.cflags} [get_canonical_archflags cc]"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-DBLIB="-lsqlite3"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-HAVE_SQLITE3="1"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-BUILD_DB="1"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-BUILD_CGI="0"
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Rename mandoc binaries (and their manpages.)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-BINM_APROPOS="mapropos"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-BINM_MAN="mman"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-BINM_WHATIS="mwhatis"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-BINM_MAKEWHATIS="mmakewhatis"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PREFIX="${prefix}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+MANDIR="${prefix}/share/man"
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Rename mandoc manpages.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+MANM_MANCONF="mandoc.conf"
</span> MANM_MAN="mandoc_man"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+MANM_MDOC="mandoc_mdoc"
</span> MANM_ROFF="mandoc_roff"
MANM_EQN="mandoc_eqn"
MANM_TBL="mandoc_tbl"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PREFIX="${prefix}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-BINDIR="${prefix}/bin"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-SBINDIR="${prefix}/sbin"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-INCLUDEDIR="${prefix}/include"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-LIBDIR="${prefix}/lib"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MANDIR="${prefix}/share/man"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-EXAMPLEDIR="${prefix}/share/examples/mandoc"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+BINM_MAN="mman"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+BINM_APROPOS="mapropos"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+BINM_WHATIS="mwhatis"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+BINM_MAKEWHATIS="mandocdb"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+BINM_SOELIM="msoelim"
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-INSTALL_PROGRAM="${configure.install} -m 0755"}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+INSTALL_PROGRAM="${configure.install} -m 0755"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+INSTALL_LIB="${configure.install} -m 0644"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+INSTALL_MAN="${configure.install} -m 0644"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+INSTALL_DATA="${configure.install} -m 0644"
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set fd [open "${filename}" "w"]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+INSTALL_LIBMANDOC=0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+BUILD_CGI=0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+BUILD_CATMAN=0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- puts -nonewline "${fd}" "${content}"
</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.cppflags} ${configure.cflags} [get_canonical_archflags cc]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
</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;'>+ set fd [open "${filename}" "w"]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts -nonewline "${fd}" "${content}"
</span> close "${fd}"
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Without declaring a universal variant before using get_canonical_archflags,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# only non-universal arch flags are returned.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# This works around it.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Another way around the problem would be setting build.env in pre-build.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Kudos to jmr and ryandesign for explaining that.
</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;'>+build.env CFLAGS="${configure.cppflags} ${configure.cflags} [get_canonical_archflags cc]" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.args CC="${configure.cc}"
</span></pre><pre style='margin:0'>
</pre>