git: b96948f21469 - main - graphics/R-cran-bmp: New port

From: Devin Teske <dteske_at_FreeBSD.org>
Date: Sun, 27 Sep 2026 17:45:52 UTC
The branch main has been updated by dteske:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b96948f214698dba8649001dd2e652891f3d997b

commit b96948f214698dba8649001dd2e652891f3d997b
Author:     Devin Teske <dteske@FreeBSD.org>
AuthorDate: 2026-09-27 17:42:46 +0000
Commit:     Devin Teske <dteske@FreeBSD.org>
CommitDate: 2026-09-27 17:42:46 +0000

    graphics/R-cran-bmp: New port
    
    bmp provides the ability to read Windows BMP format images in R.
    Currently limited to 8 bit greyscale images and 24,32 bit (A)RGB
    images. Pure R implementation without external dependencies.
    
    Approved by:    fuz (mentor), jrm (mentor)
    Reviewed by:    fuz (mentor), jrm (mentor), mat (previous revision)
    Differential Revision:  https://reviews.freebsd.org/D22680
---
 graphics/Makefile             |  1 +
 graphics/R-cran-bmp/Makefile  | 17 +++++++++++++++++
 graphics/R-cran-bmp/distinfo  |  3 +++
 graphics/R-cran-bmp/pkg-descr |  3 +++
 4 files changed, 24 insertions(+)

diff --git a/graphics/Makefile b/graphics/Makefile
index a8dee4723262..336884b41cd3 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -12,6 +12,7 @@
     SUBDIR += R-cran-GDD
     SUBDIR += R-cran-R.devices
     SUBDIR += R-cran-RColorBrewer
+    SUBDIR += R-cran-bmp
     SUBDIR += R-cran-colorspace
     SUBDIR += R-cran-cowplot
     SUBDIR += R-cran-diagram
diff --git a/graphics/R-cran-bmp/Makefile b/graphics/R-cran-bmp/Makefile
new file mode 100644
index 000000000000..baa5aeb4da4e
--- /dev/null
+++ b/graphics/R-cran-bmp/Makefile
@@ -0,0 +1,17 @@
+PORTNAME=	bmp
+DISTVERSION=	0.3.1
+CATEGORIES=	graphics
+DISTNAME=	${PORTNAME}_${DISTVERSION}
+
+MAINTAINER=	dteske@FreeBSD.org
+COMMENT=	Read Windows Bitmap (BMP) Images
+WWW=		https://github.com/jefferis/bmp
+
+LICENSE=	GPLv2+
+
+TEST_DEPENDS=	R-cran-pixmap>0:graphics/R-cran-pixmap \
+		R-cran-testthat>0:devel/R-cran-testthat
+
+USES=		cran:auto-plist
+
+.include <bsd.port.mk>
diff --git a/graphics/R-cran-bmp/distinfo b/graphics/R-cran-bmp/distinfo
new file mode 100644
index 000000000000..79239b4b516a
--- /dev/null
+++ b/graphics/R-cran-bmp/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1785286521
+SHA256 (bmp_0.3.1.tar.gz) = 9e6c630e1bf9f516ea380a8da13de4c323c0dbfba48c59ad76b2d518e1c2b364
+SIZE (bmp_0.3.1.tar.gz) = 111283
diff --git a/graphics/R-cran-bmp/pkg-descr b/graphics/R-cran-bmp/pkg-descr
new file mode 100644
index 000000000000..f55a81f41def
--- /dev/null
+++ b/graphics/R-cran-bmp/pkg-descr
@@ -0,0 +1,3 @@
+bmp provides the ability to read Windows BMP format images in R.
+Currently limited to 8 bit greyscale images and 24,32 bit (A)RGB
+images. Pure R implementation without external dependencies.