Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dcm2niix: 20241208; default to +docs #27007

Merged
merged 2 commits into from
Dec 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 14 additions & 12 deletions science/dcm2niix/Portfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# -*- 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

Check warning on line 1 in science/dcm2niix/Portfile

View workflow job for this annotation

GitHub Actions / macos-13

port lint dcm2niix: Warning: Unnecessary platforms line as darwin is the default

Check warning on line 1 in science/dcm2niix/Portfile

View workflow job for this annotation

GitHub Actions / macos-14

port lint dcm2niix: Warning: Unnecessary platforms line as darwin is the default

Check warning on line 1 in science/dcm2niix/Portfile

View workflow job for this annotation

GitHub Actions / macos-15

port lint dcm2niix: Warning: Unnecessary platforms line as darwin is the default

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 @@
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 @@
"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