git: fb4f65cf2ea4 - main - news/flnews: New port

From: Kevin Bowling <kbowling_at_FreeBSD.org>
Date: Thu, 21 May 2026 03:36:36 UTC
The branch main has been updated by kbowling:

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

commit fb4f65cf2ea4338eb885625a223b0dae4559622b
Author:     Kevin Bowling <kbowling@FreeBSD.org>
AuthorDate: 2026-05-21 03:35:54 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2026-05-21 03:36:25 +0000

    news/flnews: New port
---
 news/Makefile         |  1 +
 news/flnews/Makefile  | 41 +++++++++++++++++++++++++++++++++++++++++
 news/flnews/distinfo  |  3 +++
 news/flnews/pkg-descr | 11 +++++++++++
 4 files changed, 56 insertions(+)

diff --git a/news/Makefile b/news/Makefile
index 99dd7ce30b35..39a5c9bd03f4 100644
--- a/news/Makefile
+++ b/news/Makefile
@@ -9,6 +9,7 @@
     SUBDIR += diablo
     SUBDIR += fidogate
     SUBDIR += fidogate4
+    SUBDIR += flnews
     SUBDIR += golded+
     SUBDIR += gup
     SUBDIR += husky
diff --git a/news/flnews/Makefile b/news/flnews/Makefile
new file mode 100644
index 000000000000..ccc422da9b99
--- /dev/null
+++ b/news/flnews/Makefile
@@ -0,0 +1,41 @@
+PORTNAME=	flnews
+PORTVERSION=	1.3.0
+CATEGORIES=	news
+MASTER_SITES=	https://micha.freeshell.org/flnews/src/
+
+MAINTAINER=	kbowling@FreeBSD.org
+COMMENT=	Fast and lightweight Usenet newsreader with FLTK GUI
+WWW=		https://micha.freeshell.org/flnews/
+
+LICENSE=	FLNEWS
+LICENSE_NAME=	flnews license (BSD-style with identification clause)
+LICENSE_FILE=	${WRKSRC}/src/LICENSE
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+LIB_DEPENDS=	libfltk.so:x11-toolkits/fltk
+
+USES=		pkgconfig ssl tar:bzip2 xorg
+USE_XORG=	x11 xcursor xext xfixes xft xinerama xrender
+
+MAKE_ARGS=	PREFIX=${PREFIX}
+INSTALL_TARGET=	install-strip
+
+PLIST_FILES=	bin/flnews \
+		share/applications/flnews.desktop \
+		share/flnews/license.txt \
+		share/icons/hicolor/48x48/apps/flnews.png \
+		share/icons/hicolor/64x64/apps/flnews.png \
+		share/man/man1/flnews.1.gz
+
+OPTIONS_DEFINE=		XDG_UTILS
+OPTIONS_DEFAULT=	XDG_UTILS
+
+XDG_UTILS_DESC=		Use xdg-utils to open URLs and mail clients
+XDG_UTILS_RUN_DEPENDS=	xdg-open:devel/xdg-utils
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|^CFG_XDG_DISABLE=.*|CFG_XDG_DISABLE=0|' \
+		-e 's|^CFG_NLS_DISABLE=.*|CFG_NLS_DISABLE=1|' \
+		${WRKSRC}/CONFIG
+
+.include <bsd.port.mk>
diff --git a/news/flnews/distinfo b/news/flnews/distinfo
new file mode 100644
index 000000000000..3b9bb4850841
--- /dev/null
+++ b/news/flnews/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1779312615
+SHA256 (flnews-1.3.0.tar.bz2) = 877e50628774d4d8b170451049b1cd81c9d716d06d8f8ce16fa36fed6ca8a966
+SIZE (flnews-1.3.0.tar.bz2) = 1365566
diff --git a/news/flnews/pkg-descr b/news/flnews/pkg-descr
new file mode 100644
index 000000000000..a06b274940a7
--- /dev/null
+++ b/news/flnews/pkg-descr
@@ -0,0 +1,11 @@
+flnews is a fast and lightweight Usenet newsreader with a GUI based on the
+FLTK toolkit, intended for POSIX-conformant operating systems.
+
+Features:
+- Minimal external dependencies
+- Standards-compliant NNTP communication and MIME handling
+- Transport Layer Security (TLS) with optional CRL checking
+- Cancel-Lock / Cancel-Key authentication for Cancel and Supersede
+- NNTP COMPRESS extension (DEFLATE) when zlib is available
+- Shared group state in '~/.newsrc' for interoperability
+- Decoding support for all MIME 1.0 transfer encodings and many character sets