git: 792917b126b3 - main - devel/mfc-candidates: Improve discoverability with new port name

From: Joseph Mingrone <jrm_at_FreeBSD.org>
Date: Sat, 07 Feb 2026 03:38:12 UTC
The branch main has been updated by jrm:

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

commit 792917b126b32a06182d2a9ec9489452ab97101b
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2026-02-05 17:12:31 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2026-02-07 03:26:57 +0000

    devel/mfc-candidates: Improve discoverability with new port name
    
    Split the old devel/freebsd-git-devtools port into two separate ports,
    including this one, to improve discoverability.
    
    Requested by:   adrian, ziaee
    Reviewed by:    ziaee
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D55130
---
 devel/Makefile                 |  1 +
 devel/mfc-candidates/Makefile  | 33 +++++++++++++++++++++++++++++++++
 devel/mfc-candidates/distinfo  |  3 +++
 devel/mfc-candidates/pkg-descr |  4 ++++
 4 files changed, 41 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 51935c2fd9a1..c6b37d9f64b3 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1671,6 +1671,7 @@
     SUBDIR += mergify
     SUBDIR += meson
     SUBDIR += meson-python
+    SUBDIR += mfc-candidates
     SUBDIR += microsoft-gsl
     SUBDIR += mill
     SUBDIR += mimalloc
diff --git a/devel/mfc-candidates/Makefile b/devel/mfc-candidates/Makefile
new file mode 100644
index 000000000000..c67d1865ee8c
--- /dev/null
+++ b/devel/mfc-candidates/Makefile
@@ -0,0 +1,33 @@
+PORTNAME=	mfc-candidates
+PORTVERSION=	20260105
+CATEGORIES=	devel
+MASTER_SITES=	https://raw.githubusercontent.com/freebsd/freebsd-src/${_REV}/tools/tools/git/
+DISTFILES=	mfc-candidates.lua
+DIST_SUBDIR=	${PORTNAME}_${_REV}
+
+MAINTAINER=	jrm@FreeBSD.org
+COMMENT=	Identify FreeBSD commits to MFC
+WWW=		https://github.com/freebsd/freebsd-src/tree/main/tools/tools/git
+
+LICENSE=	BSD2CLAUSE
+
+USES=		lua shebangfix
+SHEBANG_FILES=	mfc-candidates.lua
+lua_OLD_CMD=	/usr/libexec/flua
+
+EXTRACT_CMD=	${CP}
+EXTRACT_BEFORE_ARGS=	# empty
+EXTRACT_AFTER_ARGS=	.
+NO_ARCH=	yes
+NO_BUILD=	yes
+
+NO_WRKSUBDIR=	yes
+
+PLIST_FILES=	bin/mfc-candidates
+
+_REV=		1c8dafe618878c563c3740061f83a85b0be10720
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/mfc-candidates.lua ${STAGEDIR}${PREFIX}/bin/mfc-candidates
+
+.include <bsd.port.mk>
diff --git a/devel/mfc-candidates/distinfo b/devel/mfc-candidates/distinfo
new file mode 100644
index 000000000000..066924dca27f
--- /dev/null
+++ b/devel/mfc-candidates/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1770316046
+SHA256 (mfc-candidates_1c8dafe618878c563c3740061f83a85b0be10720/mfc-candidates.lua) = bcc35735f4d091e86afadd9b2bc4d9c066bc28270a5bdc40ce5d22b41e365565
+SIZE (mfc-candidates_1c8dafe618878c563c3740061f83a85b0be10720/mfc-candidates.lua) = 6053
diff --git a/devel/mfc-candidates/pkg-descr b/devel/mfc-candidates/pkg-descr
new file mode 100644
index 000000000000..fc60938e0dab
--- /dev/null
+++ b/devel/mfc-candidates/pkg-descr
@@ -0,0 +1,4 @@
+The mfc-candidates script compares git commit hashes between branches to
+identify potential MFC candidates.  It was originally designed for the FreeBSD
+src repository, but it also works for ports.
+