git: d982d564acb5 - main - misc/deark: [NEW PORT] Utility for data extraction, decompression, and image format decoding

From: Älven <alven_at_FreeBSD.org>
Date: Tue, 17 Feb 2026 05:15:44 UTC
The branch main has been updated by alven:

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

commit d982d564acb5c538f11a489c8b200ae3a5421143
Author:     Älven <alven@FreeBSD.org>
AuthorDate: 2026-01-13 22:50:09 +0000
Commit:     Älven <alven@FreeBSD.org>
CommitDate: 2026-02-17 05:15:29 +0000

    misc/deark: [NEW PORT] Utility for data extraction, decompression, and image format decoding
    
    Deark is a portable command-line utility that can decode certain types of files,
    and either convert them to a more-modern or more-readable format, or extract
    embedded files from them. It also has an option (-d) to display detailed
    information about a file’s contents and metadata. It’s Free Software.
    
    The files it writes are usually named "output.*".
    
    When processing "archive" formats that contain other files, it's usually best to
    use Deark only to convert to ZIP format, so that the filenames and paths can be
    retained. Suggest options "-zip -ka".
    
    WWW:      https://entropymine.com/deark/
    
    Approved by:            yuri@ (Mentor)
    Differential Revision:  https://reviews.freebsd.org/D54697
---
 misc/Makefile        |  1 +
 misc/deark/Makefile  | 33 +++++++++++++++++++++++++++++++++
 misc/deark/distinfo  |  3 +++
 misc/deark/pkg-descr | 10 ++++++++++
 4 files changed, 47 insertions(+)

diff --git a/misc/Makefile b/misc/Makefile
index c127834573ff..62ba3a981c6e 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -90,6 +90,7 @@
     SUBDIR += darknet
     SUBDIR += dartsim
     SUBDIR += ddate
+    SUBDIR += deark
     SUBDIR += deco
     SUBDIR += dejagnu
     SUBDIR += delay
diff --git a/misc/deark/Makefile b/misc/deark/Makefile
new file mode 100644
index 000000000000..9776eaae2fe7
--- /dev/null
+++ b/misc/deark/Makefile
@@ -0,0 +1,33 @@
+PORTNAME=	deark
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.7.2
+CATEGORIES=	misc
+
+MAINTAINER=	alven@FreeBSD.org
+COMMENT=	Utility for data extraction, decompression, and image format decoding
+WWW=		https://entropymine.com/deark/ \
+		https://github.com/jsummers/deark/
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+BUILD_DEPENDS=	help2man:misc/help2man
+
+USES=		cpe gmake
+
+CPE_VENDOR=	entropymine
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	jsummers
+
+PLIST_FILES=	bin/deark \
+		share/man/man1/deark.1.gz
+
+post-build:
+	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} man
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/deark ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/deark.1 ${STAGEDIR}${PREFIX}/share/man/man1
+
+.include <bsd.port.mk>
diff --git a/misc/deark/distinfo b/misc/deark/distinfo
new file mode 100644
index 000000000000..a2bfd5505355
--- /dev/null
+++ b/misc/deark/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1768340614
+SHA256 (jsummers-deark-v1.7.2_GH0.tar.gz) = 0947c3586c510b00f9ddc30ef39c2022046ed23c2c1950c93588d82ba1268254
+SIZE (jsummers-deark-v1.7.2_GH0.tar.gz) = 1310760
diff --git a/misc/deark/pkg-descr b/misc/deark/pkg-descr
new file mode 100644
index 000000000000..1f4f62bdabe0
--- /dev/null
+++ b/misc/deark/pkg-descr
@@ -0,0 +1,10 @@
+Deark is a portable command-line utility that can decode certain types of files,
+and either convert them to a more-modern or more-readable format, or extract
+embedded files from them. It also has an option (-d) to display detailed
+information about a file’s contents and metadata. It’s Free Software.
+
+The files it writes are usually named "output.*".
+
+When processing "archive" formats that contain other files, it's usually best to
+use Deark only to convert to ZIP format, so that the filenames and paths can be
+retained. Suggest options "-zip -ka".