Index: Makefile =================================================================== --- Makefile (revision 462654) +++ Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= focuswriter DISTVERSIONPREFIX= v -DISTVERSION= 1.6.10 +DISTVERSION= 1.6.11 CATEGORIES= editors MAINTAINER= lightside@gmx.com @@ -26,7 +26,10 @@ PORTDATA= * PORTDOCS= CREDITS NEWS README -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= CACHE_ICONS DOCS +OPTIONS_DEFAULT= CACHE_ICONS +CACHE_ICONS_DESC= Update icon cache after installation (GTK+) +CACHE_ICONS_RUN_DEPENDS= ${LOCALBASE}/bin/gtk-update-icon-cache:graphics/gtk-update-icon-cache post-patch: @${REINPLACE_CMD} -e '/INSTALLS/s/man //' \ @@ -36,6 +39,13 @@ ${INSTALL_MAN} ${WRKSRC}/resources/unix/focuswriter.1 \ ${STAGEDIR}${MANPREFIX}/man/man1 +post-install-CACHE_ICONS-on: +.for subdir in hicolor + @${ECHO_CMD} "@rmtry share/icons/${subdir}/icon-theme.cache" >> ${TMPPLIST} + @${ECHO_CMD} "@postexec ${LOCALBASE}/bin/gtk-update-icon-cache -q -f %D/share/icons/${subdir} 2>/dev/null || ${TRUE}" >> ${TMPPLIST} + @${ECHO_CMD} "@postunexec ${LOCALBASE}/bin/gtk-update-icon-cache -q -f %D/share/icons/${subdir} 2>/dev/null || ${TRUE}" >> ${TMPPLIST} +.endfor + post-install-DOCS-on: cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR} Index: distinfo =================================================================== --- distinfo (revision 462654) +++ distinfo (working copy) @@ -1,3 +1,3 @@ -TIMESTAMP = 1519218535 -SHA256 (gottcode-focuswriter-v1.6.10_GH0.tar.gz) = ce7ceaac04fa915db527da88f1018648be18d5a5638ccb60893b4f1b3cb490e5 -SIZE (gottcode-focuswriter-v1.6.10_GH0.tar.gz) = 10341893 +TIMESTAMP = 1522416688 +SHA256 (gottcode-focuswriter-v1.6.11_GH0.tar.gz) = 9d22d335562d1607a9a1513e8d1d1faa3362b3eeac3c02d7d6f60f941a243f09 +SIZE (gottcode-focuswriter-v1.6.11_GH0.tar.gz) = 10342387