git: 0bd12af657f3 - main - devel/blueprint-compiler: add new port

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sun, 09 Oct 2022 13:19:35 UTC
The branch main has been updated by jbeich:

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

commit 0bd12af657f3fe9f79d31c2691b3825eab1500b0
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-09-04 19:04:03 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-10-09 13:19:15 +0000

    devel/blueprint-compiler: add new port
    
    A markup language for GTK user interface files.
    
    https://gitlab.gnome.org/jwestman/blueprint-compiler
---
 devel/Makefile                     |  1 +
 devel/blueprint-compiler/Makefile  | 26 +++++++++++++++++++++++
 devel/blueprint-compiler/distinfo  |  3 +++
 devel/blueprint-compiler/pkg-descr |  1 +
 devel/blueprint-compiler/pkg-plist | 42 ++++++++++++++++++++++++++++++++++++++
 5 files changed, 73 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index a202a97a4e21..1fcb0058e0b6 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -279,6 +279,7 @@
     SUBDIR += blame
     SUBDIR += blitz
     SUBDIR += bloaty
+    SUBDIR += blueprint-compiler
     SUBDIR += bmake
     SUBDIR += bmkdep
     SUBDIR += bnf
diff --git a/devel/blueprint-compiler/Makefile b/devel/blueprint-compiler/Makefile
new file mode 100644
index 000000000000..a4448692b953
--- /dev/null
+++ b/devel/blueprint-compiler/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	blueprint-compiler
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.4.0
+CATEGORIES=	devel
+
+MAINTAINER=	jbeich@FreeBSD.org
+COMMENT=	Markup language for GTK user interfaces
+WWW=		https://gitlab.gnome.org/jwestman/blueprint-compiler
+
+LICENSE=	LGPL3+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+USES=		gnome meson python shebangfix
+USE_GITLAB=	yes
+USE_GNOME=	pygobject3
+GL_SITE=	https://gitlab.gnome.org
+GL_ACCOUNT=	jwestman
+GL_COMMIT=	75a6d95988736ec0471d22ceb07579c0cedac2ad
+SHEBANG_FILES=	${PORTNAME}.py
+NO_ARCH=	yes
+
+post-patch:
+# Derive Python version from Meson
+	@${REINPLACE_CMD} -e "s,'python3',," ${WRKSRC}/meson.build
+
+.include <bsd.port.mk>
diff --git a/devel/blueprint-compiler/distinfo b/devel/blueprint-compiler/distinfo
new file mode 100644
index 000000000000..bdd6d93f1166
--- /dev/null
+++ b/devel/blueprint-compiler/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1662318243
+SHA256 (jwestman-blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad_GL0.tar.gz) = 95fe5fe57c00f15e3b2e8983ab9a78fb607b3c81c96b57c7faeac1919ee78766
+SIZE (jwestman-blueprint-compiler-75a6d95988736ec0471d22ceb07579c0cedac2ad_GL0.tar.gz) = 62990
diff --git a/devel/blueprint-compiler/pkg-descr b/devel/blueprint-compiler/pkg-descr
new file mode 100644
index 000000000000..cf8ad388ebbd
--- /dev/null
+++ b/devel/blueprint-compiler/pkg-descr
@@ -0,0 +1 @@
+A markup language for GTK user interface files.
diff --git a/devel/blueprint-compiler/pkg-plist b/devel/blueprint-compiler/pkg-plist
new file mode 100644
index 000000000000..7287d27c4d8c
--- /dev/null
+++ b/devel/blueprint-compiler/pkg-plist
@@ -0,0 +1,42 @@
+bin/blueprint-compiler
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/__init__.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/ast_utils.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/completions.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/completions_utils.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/decompiler.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/errors.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/gir.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/interactive_port.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/language/__init__.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/language/attributes.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/language/common.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/language/expression.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/language/gobject_object.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/language/gobject_property.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/language/gobject_signal.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/language/gtk_a11y.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/language/gtk_combo_box_text.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/language/gtk_file_filter.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/language/gtk_layout.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/language/gtk_menu.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/language/gtk_size_group.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/language/gtk_string_list.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/language/gtk_styles.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/language/gtkbuilder_child.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/language/gtkbuilder_template.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/language/imports.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/language/response_id.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/language/types.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/language/ui.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/language/values.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/lsp.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/lsp_utils.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/main.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/parse_tree.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/parser.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/tokenizer.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/typelib.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/utils.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/xml_emitter.py
+%%PYTHON_SITELIBDIR%%/blueprintcompiler/xml_reader.py
+share/pkgconfig/blueprint-compiler.pc