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:
parent
d3bb01a6a3
commit
055c63eb7a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329768
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user