git: 8991b1690da2 - main - editors/bingrok: new port had been added (+)

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Thu, 16 Mar 2023 03:30:37 UTC
The branch main has been updated by danfe:

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

commit 8991b1690da263eb9b2d88e0bf4f6d61a79e1c38
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-03-16 03:29:34 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-03-16 03:29:34 +0000

    editors/bingrok: new port had been added (+)
    
    BinGrok is a binary/hexadecimal editor created specifically with
    the goal of reverse-engineering proprietary data formats in mind.
    It allows for creation of C-struct-like "views" of your data for
    better visualization of the parts that you have deciphered.
    
    WWW: https://github.com/spuriousdata/BinGrok
---
 editors/Makefile          |  1 +
 editors/bingrok/Makefile  | 27 +++++++++++++++++++++++++++
 editors/bingrok/distinfo  |  3 +++
 editors/bingrok/pkg-descr |  4 ++++
 4 files changed, 35 insertions(+)

diff --git a/editors/Makefile b/editors/Makefile
index 3b3366073b99..1564f461f655 100644
--- a/editors/Makefile
+++ b/editors/Makefile
@@ -12,6 +12,7 @@
     SUBDIR += bee-host
     SUBDIR += biew
     SUBDIR += bined
+    SUBDIR += bingrok
     SUBDIR += bitedit
     SUBDIR += bless
     SUBDIR += boiling-egg
diff --git a/editors/bingrok/Makefile b/editors/bingrok/Makefile
new file mode 100644
index 000000000000..2b1cad00a7fa
--- /dev/null
+++ b/editors/bingrok/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=	${GH_PROJECT:tl}
+PORTVERSION=	0.0.1
+DISTVERSIONPREFIX=	v
+CATEGORIES=	editors
+
+MAINTAINER=	danfe@FreeBSD.org
+COMMENT=	Binary data editor for reverse engineering
+WWW=		https://github.com/spuriousdata/BinGrok
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		qmake qt:5
+USE_QT=		buildtools:build core gui widgets
+USE_GITHUB=	yes
+GH_ACCOUNT=	spuriousdata
+GH_PROJECT=	BinGrok
+
+QMAKE_SOURCE_PATH=	${WRKSRC}/src
+
+PLIST_FILES=	bin/${PORTNAME}
+
+do-install:
+	${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${GH_PROJECT} \
+		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/editors/bingrok/distinfo b/editors/bingrok/distinfo
new file mode 100644
index 000000000000..00205acfdfd7
--- /dev/null
+++ b/editors/bingrok/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1472323461
+SHA256 (spuriousdata-BinGrok-v0.0.1_GH0.tar.gz) = 88fdb0779821d71b5e2c0cfaff676950d8719e1011db75164bb3543b0a8adb3f
+SIZE (spuriousdata-BinGrok-v0.0.1_GH0.tar.gz) = 18042
diff --git a/editors/bingrok/pkg-descr b/editors/bingrok/pkg-descr
new file mode 100644
index 000000000000..1fda55e63fd5
--- /dev/null
+++ b/editors/bingrok/pkg-descr
@@ -0,0 +1,4 @@
+BinGrok is a binary/hexadecimal editor created specifically with
+the goal of reverse-engineering proprietary data formats in mind.
+It allows for creation of C-struct-like "views" of your data for
+better visualization of the parts that you have deciphered.