pkgsrc/devel/ruby-pkg-config/tool.mk
obache f8e030f858 Import ruby-pkg-config-1.0.6 as devel/ruby-pkg-config.
A pkg-config implementation by Ruby.
2010-09-23 15:24:28 +00:00

16 lines
492 B
Makefile

# $NetBSD: tool.mk,v 1.1.1.1 2010/09/23 15:24:28 obache Exp $
.if !defined(RUBY_PKG_CONFIG_TOOL_MK)
_PKG_CONFIG_LIBDIR?= ${BUILDLINK_DIR}/lib/pkgconfig:${BUILDLINK_DIR}/share/pkgconfig
CONFIGURE_ENV+= PKG_CONFIG_LIBDIR=${_PKG_CONFIG_LIBDIR:Q}
CONFIGURE_ENV+= PKG_CONFIG_PATH=
MAKE_ENV+= PKG_CONFIG_LIBDIR=${_PKG_CONFIG_LIBDIR:Q}
MAKE_ENV+= PKG_CONFIG_PATH=
.include "../../lang/ruby/rubyversion.mk"
BUILD_DEPENDS+= ${RUBY_PKGPREFIX}-pkg-config-[0-9]*:../../devel/ruby-pkg-config
.endif