diff options
author | bapt <bapt@FreeBSD.org> | 2014-09-22 20:48:27 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-09-22 20:48:27 +0800 |
commit | b30e27e479ba4d39785a38dc50b3d65fa3942588 (patch) | |
tree | 8307825e729ab51a6673149afbaa0a61ce548112 /Mk/Uses | |
parent | acf6bb5f3a062911581131275f63ee1eb81a52c6 (diff) | |
download | freebsd-ports-gnome-b30e27e479ba4d39785a38dc50b3d65fa3942588.tar.gz freebsd-ports-gnome-b30e27e479ba4d39785a38dc50b3d65fa3942588.tar.zst freebsd-ports-gnome-b30e27e479ba4d39785a38dc50b3d65fa3942588.zip |
Use keywords to control exactly when is excutied
the different database updates
Diffstat (limited to 'Mk/Uses')
-rw-r--r-- | Mk/Uses/desktop-file-utils.mk | 8 | ||||
-rw-r--r-- | Mk/Uses/shared-mime-info.mk | 8 |
2 files changed, 2 insertions, 14 deletions
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 |