pkgsrc/devel/blib/Makefile
jlam 7820875fff Remove the abuse of buildlink that was pkg-config/buildlink3.mk. That
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables.  Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.

For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
2005-08-10 20:56:10 +00:00

32 lines
806 B
Makefile

# $NetBSD: Makefile,v 1.9 2005/08/10 20:56:14 jlam Exp $
#
DISTNAME= blib-1.0.2
PKGREVISION= 2
CATEGORIES= devel graphics
MASTER_SITES= http://sven.gimp.org/blinkenlights/old/
MAINTAINER= salo@NetBSD.org
HOMEPAGE= http://www.blinkenlights.de/
COMMENT= Blinkenlights library
USE_TOOLS+= pkg-config
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
SHLIBTOOL_OVERRIDE= modules/libtool
PKGCONFIG_OVERRIDE+= blib-directfb.pc.in
PKGCONFIG_OVERRIDE+= blib-gtk.pc.in
PKGCONFIG_OVERRIDE+= blib.pc.in
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc/html
CONFIGURE_ARGS+= --enable-gtk-doc=no
# XXX: fix this for GNU/Linux, provide appropriate PLIST.
CONFIGURE_ARGS+= --disable-directfb
post-extract:
${TOUCH} ${WRKSRC}/modules/libtool
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"