7820875fff
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.
40 lines
995 B
Makefile
40 lines
995 B
Makefile
# $NetBSD: Makefile,v 1.23 2005/08/10 20:56:25 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= waimea-0.4.0
|
|
PKGREVISION= 9
|
|
CATEGORIES= wm
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=waimea/}
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://www.waimea.org/
|
|
COMMENT= Fast and highly customizable virtual window manager
|
|
|
|
GNU_CONFIGURE= YES
|
|
USE_TOOLS+= gmake perl:run pkg-config
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if !exists(${X11BASE}/include/X11/extensions/Xinerama.h)
|
|
CONFIGURE_ARGS+= --disable-xinerama
|
|
.endif
|
|
|
|
.if !exists(${X11BASE}/include/X11/extensions/Xrender.h)
|
|
CONFIGURE_ARGS+= --disable-render
|
|
.endif
|
|
|
|
.if !exists(${X11BASE}/include/X11/extensions/shape.h)
|
|
CONFIGURE_ARGS+= --disable-shape
|
|
.endif
|
|
|
|
CONFIGURE_ARGS+= --disable-randr
|
|
|
|
REPLACE_PERL = \
|
|
data/scripts/filelist.pl \
|
|
data/scripts/procinfo.pl \
|
|
data/scripts/stylesdir.pl.in
|
|
|
|
.include "../../fonts/Xft2/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
.include "../../graphics/imlib2/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|