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.
32 lines
1,018 B
Makefile
32 lines
1,018 B
Makefile
# $NetBSD: Makefile,v 1.20 2005/08/10 20:56:30 jlam Exp $
|
|
#
|
|
|
|
PKGNAME= ${DISTNAME:S/-/-demo-/}
|
|
COMMENT= Demo viewer and configuration tool for xscreensaver
|
|
|
|
CONFLICTS+= xscreensaver<4.14 xscreensaver-gnome-[0-9]*
|
|
|
|
USE_DIRS+= xdg-1.1
|
|
|
|
.include "../../x11/xscreensaver/Makefile.common"
|
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
CONFIGURE_ARGS+= --with-gtk=${BUILDLINK_PREFIX.gtk2}
|
|
CONFIGURE_ARGS+= --with-xml=${BUILDLINK_PREFIX.libxml2}
|
|
CONFIGURE_ARGS+= --with-configdir=${PREFIX}/libexec/xscreensaver/config
|
|
|
|
BUILD_DIRS= ${WRKSRC}/utils ${WRKSRC}/driver
|
|
INSTALL_DIRS= ${WRKSRC}/driver
|
|
INSTALL_TARGET= install-gnome
|
|
|
|
post-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/driver/xscreensaver-demo ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/driver/xscreensaver-demo.man \
|
|
${PREFIX}/man/man1/xscreensaver-demo.1
|
|
|
|
.include "../../devel/libglade2/buildlink3.mk"
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
.include "../../x11/xscreensaver/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|