|
Lines 26-32
Link Here
|
| 26 |
PORTDATA= * |
26 |
PORTDATA= * |
| 27 |
PORTDOCS= CREDITS NEWS README |
27 |
PORTDOCS= CREDITS NEWS README |
| 28 |
|
28 |
|
| 29 |
OPTIONS_DEFINE= DOCS |
29 |
OPTIONS_DEFINE= CACHE_ICONS DOCS |
|
|
30 |
CACHE_ICONS_DESC= Update icon cache after installation (GTK+) |
| 31 |
CACHE_ICONS_RUN_DEPENDS= ${LOCALBASE}/bin/gtk-update-icon-cache:graphics/gtk-update-icon-cache |
| 30 |
|
32 |
|
| 31 |
post-patch: |
33 |
post-patch: |
| 32 |
@${REINPLACE_CMD} -e '/INSTALLS/s/man //' \ |
34 |
@${REINPLACE_CMD} -e '/INSTALLS/s/man //' \ |
|
Lines 36-41
Link Here
|
| 36 |
${INSTALL_MAN} ${WRKSRC}/resources/unix/focuswriter.1 \ |
38 |
${INSTALL_MAN} ${WRKSRC}/resources/unix/focuswriter.1 \ |
| 37 |
${STAGEDIR}${MANPREFIX}/man/man1 |
39 |
${STAGEDIR}${MANPREFIX}/man/man1 |
| 38 |
|
40 |
|
|
|
41 |
post-install-CACHE_ICONS-on: |
| 42 |
.for subdir in hicolor |
| 43 |
@${ECHO_CMD} "@rmtry share/icons/${subdir}/icon-theme.cache" >> ${TMPPLIST} |
| 44 |
@${ECHO_CMD} "@postexec ${LOCALBASE}/bin/gtk-update-icon-cache -q -f %D/share/icons/${subdir} 2>/dev/null || ${TRUE}" >> ${TMPPLIST} |
| 45 |
@${ECHO_CMD} "@postunexec ${LOCALBASE}/bin/gtk-update-icon-cache -q -f %D/share/icons/${subdir} 2>/dev/null || ${TRUE}" >> ${TMPPLIST} |
| 46 |
.endfor |
| 47 |
|
| 39 |
post-install-DOCS-on: |
48 |
post-install-DOCS-on: |
| 40 |
cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR} |
49 |
cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR} |
| 41 |
|
50 |
|