diff --git a/lang/Makefile b/lang/Makefile index bcbb038491a4..46a2ca5a5590 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -104,6 +104,7 @@ SUBDIR += gforth SUBDIR += ghc SUBDIR += ghc810 + SUBDIR += gir-to-d SUBDIR += gjs SUBDIR += gleam SUBDIR += gnat12 diff --git a/lang/gir-to-d/Makefile b/lang/gir-to-d/Makefile new file mode 100644 index 000000000000..682dbd859f18 --- /dev/null +++ b/lang/gir-to-d/Makefile @@ -0,0 +1,29 @@ +PORTNAME= gir-to-d +PORTVERSION= 0.23.0 +CATEGORIES= lang + +MAINTAINER= arrowd@FreeBSD.org +COMMENT= Create D bindings from GObject introspection files +WWW= https://github.com/gtkd-developers/gir-to-d + +LICENSE= LGPL3 +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= ldc2:lang/ldc +LIB_DEPENDS= libphobos2-ldc-shared.so:lang/ldc \ + libdruntime-ldc-shared.so:lang/ldc + +USES= gnome meson + +USE_GNOME= introspection + +USE_GITHUB= yes +GH_ACCOUNT= gtkd-developers +GH_TAGNAME= v${DISTVERSION} + +# a workaround for https://github.com/ldc-developers/ldc/issues/4000 +CONFIGURE_ENV= DFLAGS=--allinst + +PLIST_FILES= bin/girtod + +.include diff --git a/lang/gir-to-d/distinfo b/lang/gir-to-d/distinfo new file mode 100644 index 000000000000..cf5b633058a0 --- /dev/null +++ b/lang/gir-to-d/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1676614811 +SHA256 (gtkd-developers-gir-to-d-0.23.0-v0.23.0_GH0.tar.gz) = 74781d737277f9278ee2e32b2a8716420e389a68030414ec265d5e704fd8aafb +SIZE (gtkd-developers-gir-to-d-0.23.0-v0.23.0_GH0.tar.gz) = 42269 diff --git a/lang/gir-to-d/pkg-descr b/lang/gir-to-d/pkg-descr new file mode 100644 index 000000000000..210c66f015d9 --- /dev/null +++ b/lang/gir-to-d/pkg-descr @@ -0,0 +1,2 @@ +girtod is an utility that generates D bindings using the GObject introspection +files.