git: d008ed9fc471 - main - editors/bless: resurrect^Wreadd previously expired port

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Thu, 01 Dec 2022 09:44:20 UTC
The branch main has been updated by danfe:

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

commit d008ed9fc4710fc5ebef72193a162edc3838b127
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2022-12-01 09:43:24 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2022-12-01 09:43:24 +0000

    editors/bless: resurrect^Wreadd previously expired port
    
    - Update to the latest version 0.6.3 (and thus unbreak)
    - Project is hosted on GitHub and builds with Meson now
---
 MOVED                   |  1 -
 editors/Makefile        |  1 +
 editors/bless/Makefile  | 33 ++++++++++++++++++++++
 editors/bless/distinfo  |  3 ++
 editors/bless/pkg-descr | 12 ++++++++
 editors/bless/pkg-plist | 73 +++++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 122 insertions(+), 1 deletion(-)

diff --git a/MOVED b/MOVED
index 275976c4af20..7e65ce3768c6 100644
--- a/MOVED
+++ b/MOVED
@@ -7911,7 +7911,6 @@ www/eliom||2015-12-30|Has expired: Depends on broken and expiring www/ocsigen
 audio/py-fastaudio||2015-12-30|Has expired: Broken for more than 6 months
 devel/jgoodies-common||2015-12-30|Has expired: Broken for more than 6 months
 games/kanatest||2015-12-30|Has expired: Broken for more than 6 months
-editors/bless||2015-12-30|Has expired: Broken for more than 6 months
 security/burpsuite||2015-12-30|Has expired: Broken for more than 6 months
 dns/bind10|dns/bundy|2015-12-31|Has expired: Is not developed any more, use dns/bundy
 lang/perl5.16||2015-12-31|Has expired: Unsupported, please upgrade to a more recent version of Perl
diff --git a/editors/Makefile b/editors/Makefile
index e9d45ecb716b..85df04ea2a52 100644
--- a/editors/Makefile
+++ b/editors/Makefile
@@ -12,6 +12,7 @@
     SUBDIR += bee-host
     SUBDIR += biew
     SUBDIR += bitedit
+    SUBDIR += bless
     SUBDIR += boiling-egg
     SUBDIR += bpatch
     SUBDIR += bvi
diff --git a/editors/bless/Makefile b/editors/bless/Makefile
new file mode 100644
index 000000000000..51a692394bbb
--- /dev/null
+++ b/editors/bless/Makefile
@@ -0,0 +1,33 @@
+PORTNAME=	bless
+PORTVERSION=	0.6.3
+DISTVERSIONPREFIX=	v
+CATEGORIES=	editors
+
+MAINTAINER=	mono@FreeBSD.org
+COMMENT=	High quality, full featured hex editor
+
+USES=		gnome meson mono pkgconfig
+USE_GNOME=	gtksharp20
+USE_GITHUB=	yes
+GH_ACCOUNT=	afrantzis
+
+MESON_ARGS=	-Dtests=false
+
+OPTIONS_DEFINE=	HELP
+OPTIONS_DEFAULT=	HELP
+OPTIONS_SUB=	yes
+
+HELP_DESC=	Install DocBook and HTML user documentation
+HELP_BUILD_DEPENDS=	${LOCALBASE}/share/xsl/docbook/html/chunk.xsl:textproc/docbook-xsl \
+		itstool:textproc/itstool xsltproc:textproc/libxslt
+HELP_USES=	gettext-tools
+HELP_MESON_OFF=	-Duser_doc=false -Dhtml_user_doc=false
+
+post-patch:
+	@${REINPLACE_CMD} -E 's,https?://.*/release/xsl/current,${LOCALBASE}/share/xsl/docbook,' \
+		${WRKSRC}/doc/user/meson.build
+
+.include <bsd.port.mk>
+
+# XXX: stripping Mono/.Net PE32 executables (DLLs) does not work
+CONFIGURE_ARGS:=	${CONFIGURE_ARGS:N--strip}
diff --git a/editors/bless/distinfo b/editors/bless/distinfo
new file mode 100644
index 000000000000..090a9e9a1632
--- /dev/null
+++ b/editors/bless/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1602421202
+SHA256 (afrantzis-bless-v0.6.3_GH0.tar.gz) = 547f2f28073fc791c9d52fa5fd7d66d92c42c7d7fecba05ce1e4b55278ff8cd4
+SIZE (afrantzis-bless-v0.6.3_GH0.tar.gz) = 532687
diff --git a/editors/bless/pkg-descr b/editors/bless/pkg-descr
new file mode 100644
index 000000000000..ead742e0379f
--- /dev/null
+++ b/editors/bless/pkg-descr
@@ -0,0 +1,12 @@
+Bless is a binary (hex) editor, a program that enables you to edit files as
+a sequence of bytes. It is written in C# and uses the Gtk# bindings for the 
+GTK+ toolkit.
+
+Main Features
+-------------
+  * Efficient editing of large data files. 
+  * Multilevel undo - redo operations.
+  * Customizable data views.
+  * Fast data rendering on screen.
+
+WWW: http://home.gna.org/bless/
diff --git a/editors/bless/pkg-plist b/editors/bless/pkg-plist
new file mode 100644
index 000000000000..6bfd2394332b
--- /dev/null
+++ b/editors/bless/pkg-plist
@@ -0,0 +1,73 @@
+bin/bless
+lib/bless/Bless.Buffers.dll
+lib/bless/Bless.Gui.Areas.Plugins.dll
+lib/bless/Bless.Gui.Areas.dll
+lib/bless/Bless.Gui.Drawers.dll
+lib/bless/Bless.Gui.Plugins.dll
+lib/bless/Bless.Gui.dll
+lib/bless/Bless.Plugins.dll
+lib/bless/Bless.Tools.Export.Plugins.dll
+lib/bless/Bless.Tools.Export.dll
+lib/bless/Bless.Tools.Find.dll
+lib/bless/Bless.Tools.dll
+lib/bless/Bless.Util.dll
+lib/bless/bless.exe
+share/applications/bless.desktop
+%%DATADIR%%/bless-16-bytes-per-row.layout
+%%DATADIR%%/bless-48x48.png
+%%DATADIR%%/bless-about.png
+%%DATADIR%%/bless-all-number-bases.layout
+%%DATADIR%%/bless-binary-ascii.layout
+%%DATADIR%%/bless-courier.ttf
+%%DATADIR%%/bless-default.layout
+%%DATADIR%%/default-preferences.xml
+%%DATADIR%%/help_script.sh
+%%DATADIR%%/ui/BitwiseOperationsPlugin.ui
+%%DATADIR%%/ui/ConversionTablePlugin.ui
+%%DATADIR%%/ui/ExportDialog.ui
+%%DATADIR%%/ui/FindReplacePlugin.ui
+%%DATADIR%%/ui/GotoOffsetPlugin.ui
+%%DATADIR%%/ui/LayoutSelectionDialog.ui
+%%DATADIR%%/ui/MainWindow.ui
+%%DATADIR%%/ui/PreferencesDialog.ui
+%%DATADIR%%/ui/ProgressDialog.ui
+%%DATADIR%%/ui/ProgressDisplayPlugin.ui
+%%DATADIR%%/ui/SelectRangePlugin.ui
+%%HELP%%share/help/C/bless/ch01.html
+%%HELP%%share/help/C/bless/ch02.html
+%%HELP%%share/help/C/bless/ch02s02.html
+%%HELP%%share/help/C/bless/ch03.html
+%%HELP%%share/help/C/bless/ch03s02.html
+%%HELP%%share/help/C/bless/ch04.html
+%%HELP%%share/help/C/bless/ch04s02.html
+%%HELP%%share/help/C/bless/ch04s03.html
+%%HELP%%share/help/C/bless/ch04s04.html
+%%HELP%%share/help/C/bless/ch04s05.html
+%%HELP%%share/help/C/bless/ch04s06.html
+%%HELP%%share/help/C/bless/ch05.html
+%%HELP%%share/help/C/bless/ch05s02.html
+%%HELP%%share/help/C/bless/ch05s03.html
+%%HELP%%share/help/C/bless/ch05s04.html
+%%HELP%%share/help/C/bless/ch06.html
+%%HELP%%share/help/C/bless/ch07.html
+%%HELP%%share/help/C/bless/figures/bless_area_focus.png
+%%HELP%%share/help/C/bless/figures/bless_bitwise_ops.png
+%%HELP%%share/help/C/bless/figures/bless_display_tag.png
+%%HELP%%share/help/C/bless/figures/bless_edit_mode.png
+%%HELP%%share/help/C/bless/figures/bless_export_dialog.png
+%%HELP%%share/help/C/bless/figures/bless_goto.png
+%%HELP%%share/help/C/bless/figures/bless_layout_example1.png
+%%HELP%%share/help/C/bless/figures/bless_layout_oha.png
+%%HELP%%share/help/C/bless/figures/bless_number_base.png
+%%HELP%%share/help/C/bless/figures/bless_preferences_general.png
+%%HELP%%share/help/C/bless/figures/bless_preferences_session.png
+%%HELP%%share/help/C/bless/figures/bless_preferences_undo.png
+%%HELP%%share/help/C/bless/figures/bless_search_find.png
+%%HELP%%share/help/C/bless/figures/bless_search_replace.png
+%%HELP%%share/help/C/bless/figures/bless_select_range.png
+%%HELP%%share/help/C/bless/figures/bless_start_window.png
+%%HELP%%share/help/C/bless/figures/bless_tab_close.png
+%%HELP%%share/help/C/bless/index.docbook
+%%HELP%%share/help/C/bless/index.html
+%%HELP%%share/help/C/bless/legal.xml
+share/icons/hicolor/48x48/apps/bless.png