Skip to content

Commit

Permalink
dcm2niix: 20241208; default to +docs (#27007)
Browse files Browse the repository at this point in the history
* dcm2niix: 20241208; default to +docs

* dcm2nixx: Fix build
  • Loading branch information
eborisch authored Dec 9, 2024
1 parent cdb20c5 commit b4db6d8
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions science/dcm2niix/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PortSystem 1.0
PortGroup cmake 1.1
PortGroup github 1.0

github.setup rordenlab dcm2niix 1.0.20220720 v
github.setup rordenlab dcm2niix 1.0.20241208 v
version ${github.version}

revision 0
Expand All @@ -21,21 +21,23 @@ license BSD MIT
platforms darwin

checksums \
rmd160 a16a3b41fb8422844bd60b7449a61554d149ce9b \
sha256 54fc31c9a17d19818fc85f3bc6b71b3e6da4105ad5ef02180c8d3df769ddda4b \
size 432763
rmd160 a103c5c64b6e33a01734ca8ee7a622bbb3e3e52f \
sha256 0bf962778ea924af98eb27dc932f27d7e2ab9ca459bb7537356d2c28ca58307e \
size 516181

variant docs description {Install man pages} {
depends_build-append port:py310-sphinx \
port:py310-sphinxcontrib-applehelp \
port:py310-sphinxcontrib-devhelp \
port:py310-sphinxcontrib-htmlhelp \
port:py310-sphinxcontrib-jsmath \
port:py310-sphinxcontrib-qthelp \
port:py310-sphinxcontrib-serializinghtml
depends_build-append port:py312-sphinx \
port:py312-sphinxcontrib-applehelp \
port:py312-sphinxcontrib-devhelp \
port:py312-sphinxcontrib-htmlhelp \
port:py312-sphinxcontrib-jsmath \
port:py312-sphinxcontrib-qthelp \
port:py312-sphinxcontrib-serializinghtml
configure.args-append -DBUILD_DOCS=ON
}

default_variants +docs

depends_lib-append port:openjpeg \
port:zlib

Expand All @@ -62,7 +64,7 @@ build.env-append "CC=${configure.cc} [get_canonical_archflags cc]" \
"CXX=${configure.cxx} [get_canonical_archflags cxx]"

patch {
reinplace "/NAMES/s/$/ sphinx-build-3.10/" docs/CMakeLists.txt
reinplace "/NAMES/s/$/ sphinx-build-3.12/" docs/CMakeLists.txt
}

post-destroot {
Expand Down

0 comments on commit b4db6d8

Please sign in to comment.