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

From: Ashish SHUKLA <ashish_at_FreeBSD.org>
Date: Thu, 01 Dec 2022 09:55:45 UTC
On 2022-12-01 15:14, Alexey Dokuchaev wrote:
> 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/

Domain name in WWW doesn't resolve, and it needs to go in Makefile.

HTH
-- 
Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0