git: 569586c337b7 - 2026Q2 - math/R-cran-NMF: Take maintainership
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 24 May 2026 20:44:06 UTC
The branch 2026Q2 has been updated by eduardo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=569586c337b7c70f05126d9286ff78cf25ede471
commit 569586c337b7c70f05126d9286ff78cf25ede471
Author: Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2026-05-24 19:36:01 +0000
Commit: Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2026-05-24 20:28:11 +0000
math/R-cran-NMF: Take maintainership
- Add tests
- Organize depends (portfmt)
MFH: 2026Q2
(cherry picked from commit 8f920179d5f461e61c44cef11dc8ddf8111a8840)
---
math/R-cran-NMF/Makefile | 31 +++++++++++++++++++------------
1 file changed, 19 insertions(+), 12 deletions(-)
diff --git a/math/R-cran-NMF/Makefile b/math/R-cran-NMF/Makefile
index a7d36e44489b..23c3a01bfa34 100644
--- a/math/R-cran-NMF/Makefile
+++ b/math/R-cran-NMF/Makefile
@@ -1,31 +1,38 @@
PORTNAME= NMF
DISTVERSION= 0.28
+PORTREVISION= 1
CATEGORIES= math
DISTNAME= ${PORTNAME}_${PORTVERSION}
-MAINTAINER= bofh@FreeBSD.org
+MAINTAINER= eduardo@FreeBSD.org
COMMENT= Algorithms and Framework for Nonnegative Matrix Factorization
-WWW= https://cran.r-project.org/web/packages/NMF/
+WWW= https://cran.r-project.org/package=NMF
LICENSE= GPLv2+
-CRAN_DEPENDS= R-cran-pkgmaker>=0.20:devel/R-cran-pkgmaker \
- R-cran-registry>0:devel/R-cran-registry \
- R-cran-rngtools>=1.2.3:devel/R-cran-rngtools \
- R-cran-stringr>=1.0.0:textproc/R-cran-stringr \
- R-cran-digest>0:security/R-cran-digest \
- R-cran-gridBase>0:graphics/R-cran-gridBase \
+CRAN_DEPENDS= R-cran-Biobase>0:biology/R-cran-Biobase \
+ R-cran-BiocManager>0:biology/R-cran-BiocManager \
R-cran-colorspace>0:graphics/R-cran-colorspace \
- R-cran-RColorBrewer>0:graphics/R-cran-RColorBrewer \
- R-cran-foreach>0:devel/R-cran-foreach \
+ R-cran-digest>0:security/R-cran-digest \
R-cran-doParallel>0:devel/R-cran-doParallel \
+ R-cran-foreach>0:devel/R-cran-foreach \
R-cran-ggplot2>0:graphics/R-cran-ggplot2 \
+ R-cran-gridBase>0:graphics/R-cran-gridBase \
+ R-cran-pkgmaker>=0.20:devel/R-cran-pkgmaker \
+ R-cran-RColorBrewer>0:graphics/R-cran-RColorBrewer \
+ R-cran-registry>0:devel/R-cran-registry \
R-cran-reshape2>0:devel/R-cran-reshape2 \
- R-cran-BiocManager>0:biology/R-cran-BiocManager \
- R-cran-Biobase>0:biology/R-cran-Biobase
+ R-cran-rngtools>=1.2.3:devel/R-cran-rngtools \
+ R-cran-stringr>=1.0.0:textproc/R-cran-stringr
BUILD_DEPENDS= ${CRAN_DEPENDS}
RUN_DEPENDS= ${CRAN_DEPENDS}
+TEST_DEPENDS= R-cran-knitr>0:print/R-cran-knitr
USES= cran:auto-plist,compiles
+pre-test:
+# R-cran-corpcor package does not exist yet
+ @${LOCALBASE}/bin/Rscript -e 'install.packages("corpcor", \
+ repos = "https://cloud.r-project.org")'
+
.include <bsd.port.mk>