diff options
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 |