<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b33e6e26fea7d4a97d58394d73e4b5e9cfdc7105">https://github.com/macports/macports-ports/commit/b33e6e26fea7d4a97d58394d73e4b5e9cfdc7105</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit b33e6e26fea7d4a97d58394d73e4b5e9cfdc7105
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Sun Oct 22 13:30:00 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> doxygen: cleanup
</span>---
textproc/doxygen/Portfile | 95 ++++++++++++++++++++++++++---------------------
1 file changed, 53 insertions(+), 42 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/doxygen/Portfile b/textproc/doxygen/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 742a2abeeaf..d294114c07f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/doxygen/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/doxygen/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,15 +2,14 @@
</span>
PortSystem 1.0
PortGroup cmake 1.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup compiler_blacklist_versions 1.0
</span> PortGroup conflicts_build 1.0
PortGroup legacysupport 1.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup compiler_blacklist_versions 1.0
</span>
name doxygen
conflicts doxygen-devel
set my_name doxygen
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # please don't update doxygen without first checking the build status of doxygen-devel
version 1.9.8
revision 0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,8 +19,8 @@ checksums rmd160 28b49414adeaea5579436c32aa89a923680508f7 \
</span> size 8087770
categories textproc devel
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers nomaintainer
</span> license GPL-2
<span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers nomaintainer
</span> description Documentation system for several programming languages
long_description It can generate an on-line documentation browser \
(in HTML) and/or an off-line reference manual \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -40,52 +39,57 @@ long_description It can generate an on-line documentation browser \
</span> of include dependency graphs, inheritance \
diagrams, and collaboration diagrams, which are \
all generated automatically.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> homepage https://www.doxygen.nl
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites ${homepage}/files
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites ${homepage}/files
</span> distname ${my_name}-${version}
dist_subdir ${my_name}
distfiles ${distname}.src${extract.suffix}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-installs_libs no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set py_ver 3.11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set py_ver_nodot [string map {. {}} ${py_ver}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.python ${prefix}/bin/python${py_ver}
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+installs_libs no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license_noconflict perl5 python${py_ver_nodot}
</span> # 59037
conflicts_build libmd
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set py_ver 3.11
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set py_ver_nodot [string map {. {}} ${py_ver}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-src-portable_c.c.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-CMakeLists.txt.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-longtabu.diff
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build-append bin:perl:perl5 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- bin:python${py_ver}:python${py_ver_nodot} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:bison \
</span> port:flex \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:bison
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# 59552
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${os.platform} eq "darwin" && ${os.major} < 13} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append port:git
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append -DGIT_EXECUTABLE=${prefix}/bin/git
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license_noconflict perl5 python${py_ver_nodot}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:bin/perl:perl5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:python${py_ver_nodot}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:libiconv
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-src-portable_c.c.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-CMakeLists.txt.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-longtabu.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libiconv
</span>
compiler.cxx_standard 2014
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# error: no matching constructor for initialization of 'value_type' (aka 'pair<const std::__1::basic_string<char>, DotFilePatcher>')
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.blacklist-append {clang < 900}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# error: no matching constructor for initialization of 'value_type'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# (aka 'pair<const std::__1::basic_string<char>, DotFilePatcher>')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {clang < 900}
</span>
compiler.thread_local_storage yes
# see #50342
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append -DPython_ADDITIONAL_VERSIONS=${py_ver} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DPython_ADDITIONAL_VERSIONS=${py_ver} \
</span> -DICONV_INCLUDE_DIR=${prefix}/include \
-DICONV_LIBRARY=${prefix}/lib/libiconv.dylib
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# see #59552
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} < 13} {
</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/git:git
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DGIT_EXECUTABLE=${prefix}/bin/git
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # cmake PortGroup sets arch flags
# duplicate archflags can cause problems
# see #50044
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -142,39 +146,46 @@ legacysupport.redirect_bins doxygen
</span>
test.run yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.args INSTALL=${prefix} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.args \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ INSTALL=${prefix} \
</span> DOCDIR=${prefix}/share/doc/doxygen \
MAN1DIR=share/man/man1
variant docs description {Include the doxygen HTML and PDF documentation} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append -Dbuild_doc=YES \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DEPSTOPDF=${prefix}/bin/epstopdf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append path:bin/dot:graphviz \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- bin:gs:ghostscript \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:texlive \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:texlive-latex-extra
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- build.target-append docs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- use_parallel_build no
</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/gs:ghostscript \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:bin/dot:graphviz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:texlive \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:texlive-latex-extra
</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;'>+ -Dbuild_doc=YES \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DEPSTOPDF=${prefix}/bin/epstopdf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.target-append docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_parallel_build no
</span> }
variant qt4 conflicts qt5 description {Include the GUI wizard based on Qt4} {
# use the Qt4 PortGroup, which provides a bunch of variables
# and defines for how Qt4 was installed
<span style='display:block; white-space:pre;background:#ffe0e0;'>- PortGroup qt4 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qt4 1.0
</span>
# tell configure to make the wizard app
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append -Dbuild_wizard=YES -Dforce_qt4=YES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Dbuild_wizard=YES \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Dforce_qt4=YES
</span> }
variant qt5 conflicts qt4 description {Include the GUI wizard based on Qt5} {
# use the Qt5 PortGroup, which provides a bunch of variables
# and defines for how Qt5 was installed
<span style='display:block; white-space:pre;background:#ffe0e0;'>- PortGroup qt5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qt5 1.0
</span>
# tell configure to make the wizard app
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append -Dbuild_wizard=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Dbuild_wizard=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Dforce_qt=Qt5
</span> }
livecheck.type regex
</pre><pre style='margin:0'>
</pre>