pkgsrc/sysutils/desktop-file-utils/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

34 lines
999 B
Makefile

# $NetBSD: Makefile,v 1.8 2005/08/10 20:56:23 jlam Exp $
#
DISTNAME= desktop-file-utils-0.10
CATEGORIES= sysutils gnome
MASTER_SITES= http://freedesktop.org/software/desktop-file-utils/releases/
MAINTAINER= jmmv@NetBSD.org
HOMEPAGE= http://www.freedesktop.org/Software/desktop-file-utils
COMMENT= Utilities to manage desktop entries
USE_TOOLS+= pkg-config
GNU_CONFIGURE= YES
USE_DIRS+= xdg-1.1
USE_LIBTOOL= YES
USE_PKGINSTALL= YES
USE_PKGLOCALEDIR= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= EMACS=no
INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
FILES_SUBST+= APPLICATIONS_PATH="${PREFIX}/share/applications"
FILES_SUBST+= UPDATE_DESKTOPDB="${PREFIX}/bin/update-desktop-database"
PRINT_PLIST_AWK+= /^share\/applications\/mimeinfo.cache$$/ \
{ print "@comment in INSTALL script: " $$0; \
next; }
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/popt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"