pkgsrc/sysutils/desktop-file-utils/desktopdb.mk
jlam e811379bc2 Pluralize INSTALL_TEMPLATE and DEINSTALL_TEMPLATE variable names as per
the pkglint warning:

    As {INSTALL,DEINSTALL}_TEMPLATE is modified using "+=", its name
    should indicate plural.

This does make the variables a bit more suggestive of the fact that they
hold lists of values.
2006-06-15 22:13:58 +00:00

22 lines
872 B
Makefile

# $NetBSD: desktopdb.mk,v 1.5 2006/06/15 22:13:59 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"
INSTALL_TEMPLATES+= ${.CURDIR}/../../sysutils/desktop-file-utils/files/install.tmpl
DEINSTALL_TEMPLATES+= ${.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