summaryrefslogtreecommitdiff
path: root/devel/ruby-gobject-introspection/Makefile
blob: da0ef522a4121ca6a050b77a00d88ce7f0a8610f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $NetBSD: Makefile,v 1.3 2020/05/02 18:05:04 tsutsui Exp $
#

DISTNAME=		gobject-introspection-${VERSION}
COMMENT=		Ruby binding of Gobject Introspection
CATEGORIES=		devel

MAINTAINER=		tsutsui@NetBSD.org

CONFLICTS+=		ruby-gnome2-gobject-introspection-[0-9]*
SUPERSEDES+=		ruby-gnome2-gobject-introspection-[0-9]*

DEPENDS+=		${RUBY_PKGPREFIX}-glib2>=${VERSION}:../../devel/ruby-glib2

# preserve generated files
GEM_KEEPBUILD=		\
	ext/gobject-introspection/gobject-introspection-enum-types.c \
	ext/gobject-introspection/gobject-introspection-enum-types.h \
	ext/gobject-introspection/rbgiversion.h

BUILDLINK_API_DEPENDS.gobject-introspection+=	gobject-introspection>=1.32.1
.include "../../devel/gobject-introspection/buildlink3.mk"
.include "../../devel/ruby-glib2/buildlink3.mk"
.include "../../meta-pkgs/ruby-gnome/Makefile.common"
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"