From b30e27e479ba4d39785a38dc50b3d65fa3942588 Mon Sep 17 00:00:00 2001 From: bapt Date: Mon, 22 Sep 2014 12:48:27 +0000 Subject: Use keywords to control exactly when is excutied the different database updates --- Mk/Uses/desktop-file-utils.mk | 8 +------- Mk/Uses/shared-mime-info.mk | 8 +------- 2 files changed, 2 insertions(+), 14 deletions(-) (limited to 'Mk/Uses') diff --git a/Mk/Uses/desktop-file-utils.mk b/Mk/Uses/desktop-file-utils.mk index bf475020b157..95fe14af64b7 100644 --- a/Mk/Uses/desktop-file-utils.mk +++ b/Mk/Uses/desktop-file-utils.mk @@ -17,12 +17,6 @@ IGNORE= USES=desktop-file-utils does not require args BUILD_DEPENDS+= update-desktop-database:${PORTSDIR}/devel/desktop-file-utils RUN_DEPENDS+= update-desktop-database:${PORTSDIR}/devel/desktop-file-utils - -desktop-file-post-install: -# plist entries for packages. - @${ECHO_CMD} "@exec ${LOCALBASE}/bin/update-desktop-database -q > /dev/null || /usr/bin/true" \ - >> ${TMPPLIST}; \ - ${ECHO_CMD} "@unexec ${LOCALBASE}/bin/update-desktop-database -q > /dev/null || /usr/bin/true" \ - >> ${TMPPLIST} +PLIST_FILES+= "@desktop-file-utils" .endif diff --git a/Mk/Uses/shared-mime-info.mk b/Mk/Uses/shared-mime-info.mk index d9ee3e1a915a..08770857574b 100644 --- a/Mk/Uses/shared-mime-info.mk +++ b/Mk/Uses/shared-mime-info.mk @@ -17,12 +17,6 @@ IGNORE= USES=shared-mime-info does not require args BUILD_DEPENDS+= update-mime-database:${PORTSDIR}/misc/shared-mime-info RUN_DEPENDS+= update-mime-database:${PORTSDIR}/misc/shared-mime-info - -shared-mime-post-install: -# plist entries for packages. - @${ECHO_CMD} "@exec ${LOCALBASE}/bin/update-mime-database %D/share/mime" \ - >> ${TMPPLIST}; \ - ${ECHO_CMD} "@unexec ${LOCALBASE}/bin/update-mime-database %D/share/mime" \ - >> ${TMPPLIST} +PLIST_FILES+= "@shared-mime-info share/mime" .endif -- cgit