pkgsrc/sysutils/desktop-file-utils/desktopdb.mk
jlam da2fc85390 Don't check for USE_BUILDLINK3 anymore in these files. These are included
by other package Makefiles, and with the deprecation of USE_BUILDLINK3
support in the infrastructure files, these had the potential to break
existing packages.
2005-03-24 22:42:58 +00:00

23 lines
895 B
Makefile

# $NetBSD: desktopdb.mk,v 1.2 2005/03/24 22:42:58 jlam Exp $
#
# This Makefile fragment is intended to be included by packages that install
# desktop entries. It takes care of registering them in the global database.
#
.if !defined(DESKTOP_FILE_UTILS_MIMEDB_MK)
DESKTOP_FILE_UTILS_MIMEDB_MK= # defined
.include "../../mk/bsd.prefs.mk"
USE_PKGINSTALL= YES
INSTALL_EXTRA_TMPL+= ${.CURDIR}/../../sysutils/desktop-file-utils/files/install.tmpl
DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/../../sysutils/desktop-file-utils/files/install.tmpl
FILES_SUBST+= APPLICATIONS_PATH="${BUILDLINK_PREFIX.desktop-file-utils}/share/applications"
FILES_SUBST+= UPDATE_DESKTOPDB="${BUILDLINK_PREFIX.desktop-file-utils}/bin/update-desktop-database"
PRINT_PLIST_AWK+= /^share\/applications\/mimeinfo.cache$$/ { next }
.include "../../sysutils/desktop-file-utils/buildlink3.mk"
.endif # DESKTOP_FILE_UTILS_MIMEDB_MK