pkgsrc/wm/metacity/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

41 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.48 2005/08/10 20:56:25 jlam Exp $
#
DISTNAME= metacity-2.10.2
CATEGORIES= wm x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/metacity/2.10/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.gnome.org/softwaremap/projects/Metacity/
COMMENT= GNOME-compliant window manager
BUILD_USES_MSGFMT= YES
USE_DIRS+= gnome2-1.5 theme-1.0
USE_PKGLOCALEDIR= YES
USE_TOOLS+= gmake pkg-config
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
PKGCONFIG_OVERRIDE= src/libmetacity-private.pc.in
GCONF2_SCHEMAS= metacity.schemas
.include "../../mk/bsd.prefs.mk"
.if !exists(${X11BASE}/lib/libXinerama.so)
CONFIGURE_ARGS+= --disable-xinerama
.endif
.include "../../devel/GConf2/schemas.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
.include "../../net/ORBit2/buildlink3.mk"
.include "../../textproc/intltool/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/startup-notification/buildlink3.mk"
.include "../../x11/Xcomposite/buildlink3.mk"
.include "../../x11/Xrender/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"