1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Allow stage support for 'USE_KDE4= sharedmime' ports

This commit is contained in:
Max Brazhnikov 2013-10-08 09:28:52 +00:00
parent d3bb01a6a3
commit 055c63eb7a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329768

View File

@ -305,7 +305,9 @@ IGNORE= can't be installed: unknown USE_KDE4 component '${component}'
post-install: post-install-sharedmime
. if !target(post-install-sharedmime)
post-install-sharedmime:
. if defined(NO_STAGE)
@-${LOCALBASE}/bin/update-mime-database ${KDE4_PREFIX}/share/mime
. endif
@${ECHO_CMD} "@exec ${LOCALBASE}/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true" >> ${TMPPLIST}
@${ECHO_CMD} "@unexec ${LOCALBASE}/bin/update-mime-database %D/share/mime > /dev/null || /usr/bin/true" >> ${TMPPLIST}
. endif