Created attachment 263482 [details] Adds new port devel/spack This adds a new port: devel/spack Spack is a flexible package manager for HPC that supports multiple versions, compilers, architectures, and optional variants. It enables reproducible environments and scheduler-friendly builds commonly used on clusters. Rationale: - Complements the FreeBSD HPC stack. I maintain sysutils/slurm-wlm and have submitted sysutils/py-clustershell and benchmarks/py-reframe; Spack fits naturally alongside them for building user-space software and CI-style validation. Port details: - Version: 1.0.1 (USE_GITHUB=yes: spack/spack, tag v1.0.1) - LICENSE: dual APACHE20 / MIT - NO_BUILD=yes, NO_ARCH=yes - USES= python:run shebangfix - SHEBANG_FILES= bin/spack bin/sbang bin/spack-python - Installs under ${DATADIR} (share/spack); provides wrapper at ${PREFIX}/bin/spack that sets SPACK_ROOT and execs ${DATADIR}/bin/spack. - RUN_DEPENDS: bash, git, rsync QA: - poudriere testport ok on 14.3-RELEASE/amd64 - portfmt/portclippy clean - stage-qa / check-plist clean Runtime smoke test (post-install): - `spack --version` - `spack spec zlib` (concretizer works) - `spack install zlib` (basic build path verified)
Created attachment 265957 [details] v2: devel/spack – fix shebangs and pkg-message PREFIX handling Updated patch attached (v2). This version addresses issues found by stage-qa and portlint: - Added share/spack/bin/spack-tmpconfig to SHEBANG_FILES so that USES=shebangfix can rewrite its /bin/bash shebang appropriately. - Converted pkg-message to use PREFIX substitution via SUB_FILES=pkg-message and %%PREFIX%% tokens instead of hardcoding /usr/local. - Cleaned up pkg-descr and pkg-message to remove trailing blank lines, matching portlint’s recommendations. No functional changes to the installed Spack layout or wrapper logic; this is purely QA/ports framework polish on top of the original submission. Re-ran QA after these adjustments: - make stage-qa [ok] - make check-plist [ok] - portfmt -D Makefile [ok] - portlint -AC [ok] - portclippy Makefile [ok] - poudriere testport [ok] Spack still builds, packages, and passes the runtime smoke tests described in the original comment (`spack --version`, `spack spec zlib`, `spack install zlib`).
Created attachment 267024 [details] v3: devel/spack – update port to version 1.1.0
Created attachment 267608 [details] [NEW PORT] devel/spack: Flexible package manager for HPC Updated patch to target spack version 1.1.1 instead of the former version 1.1.0
Replace USE_GITHUB=yes with MASTER_SITES here too.