pkgsrc/textproc/json-glib/Makefile
prlw1 d59c698db2 Revert buildtool.mk additions for glib-{mkenums,genmarshal} using packages
Add TOOL_DEPENDS+=glib2-tools to glib2/buildlink3.mk
2017-10-15 23:19:10 +00:00

34 lines
928 B
Makefile

# $NetBSD: Makefile,v 1.27 2017/10/15 23:19:13 prlw1 Exp $
DISTNAME= json-glib-1.2.8
CATEGORIES= textproc gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/json-glib/${PKGVERSION_NOREV:R}/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://wiki.gnome.org/Projects/JsonGlib
COMMENT= JSON parser for GLib-based libraries and applications
LICENSE= gnu-lgpl-v2.1
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= gmake msgfmt msgmerge pkg-config xgettext
CONFIGURE_ARGS+= --disable-man
PKGCONFIG_OVERRIDE+= json-glib.pc.in
TEST_TARGET= check
.include "options.mk"
PRINT_PLIST_AWK+= \
($$0 ~ /^lib\/girepository-1.0\//) || \
($$0 ~ /^share\/gir-1.0\//) \
{ $$0 = "$${PLIST.introspection}" $$0; } \
($$0 ~ /^${PKGLOCALEDIR:S|/|\/|g}\/locale\//) \
{ $$0 = "$${PLIST.nls}" $$0; }
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.38.0
.include "../../devel/glib2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"