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.
26 lines
679 B
Makefile
26 lines
679 B
Makefile
# $NetBSD: Makefile,v 1.14 2005/08/10 20:56:29 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= gtk-theme-switch-2.0.0rc2
|
|
PKGNAME= ${DISTNAME:S/gtk/gtk2/}
|
|
PKGREVISION= 3
|
|
CATEGORIES= x11
|
|
MASTER_SITES= http://www.muhri.net/
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://www.muhri.net/
|
|
COMMENT= Allows quick & easy switching of GTK+ 2.x themes
|
|
|
|
USE_TOOLS+= gmake pkg-config
|
|
|
|
BUILDLINK_TRANSFORM+= rm:-DGTK_DISABLE_DEPRECATED
|
|
INSTALLATION_DIRS= bin man/man1
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/switch2 \
|
|
${PREFIX}/bin/gtk2-theme-switch
|
|
${INSTALL_MAN} ${WRKSRC}/switch.1 \
|
|
${PREFIX}/man/man1/gtk2-theme-switch.1
|
|
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|