diff options
| author | Gleb Popov <arrowd@FreeBSD.org> | 2023-02-16 12:26:59 +0000 |
|---|---|---|
| committer | Gleb Popov <arrowd@FreeBSD.org> | 2023-02-17 09:27:29 +0000 |
| commit | 33ceef06ad20d10b9abf87c1322458da54518206 (patch) | |
| tree | 872f98c2a9844787d26675582ecece10a232d011 | |
| parent | a344bb19fd33ecc09ab169d5e5865f1cc383d420 (diff) | |
lang/gir-to-d: + D language bindings generator for GNOME introspection.
Sponsored by: Serenity Cybersecurity, LLC
| -rw-r--r-- | lang/Makefile | 1 | ||||
| -rw-r--r-- | lang/gir-to-d/Makefile | 29 | ||||
| -rw-r--r-- | lang/gir-to-d/distinfo | 3 | ||||
| -rw-r--r-- | lang/gir-to-d/pkg-descr | 2 |
4 files changed, 35 insertions, 0 deletions
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 <bsd.port.mk> 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. |
