1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

lang/gir-to-d: + D language bindings generator for GNOME introspection.

Sponsored by:	Serenity Cybersecurity, LLC
This commit is contained in:
Gleb Popov 2023-02-16 15:26:59 +03:00
parent a344bb19fd
commit 33ceef06ad
4 changed files with 35 additions and 0 deletions

View File

@ -104,6 +104,7 @@
SUBDIR += gforth
SUBDIR += ghc
SUBDIR += ghc810
SUBDIR += gir-to-d
SUBDIR += gjs
SUBDIR += gleam
SUBDIR += gnat12

29
lang/gir-to-d/Makefile Normal file
View File

@ -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>

3
lang/gir-to-d/distinfo Normal file
View File

@ -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

2
lang/gir-to-d/pkg-descr Normal file
View File

@ -0,0 +1,2 @@
girtod is an utility that generates D bindings using the GObject introspection
files.