|
Lines 3-9
Link Here
|
| 3 |
|
3 |
|
| 4 |
PORTNAME= focuswriter |
4 |
PORTNAME= focuswriter |
| 5 |
DISTVERSIONPREFIX= v |
5 |
DISTVERSIONPREFIX= v |
| 6 |
DISTVERSION= 1.6.10 |
6 |
DISTVERSION= 1.6.11 |
| 7 |
CATEGORIES= editors |
7 |
CATEGORIES= editors |
| 8 |
|
8 |
|
| 9 |
MAINTAINER= lightside@gmx.com |
9 |
MAINTAINER= lightside@gmx.com |
|
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 |
OPTIONS_DEFAULT= CACHE_ICONS |
| 31 |
CACHE_ICONS_DESC= Update icon cache after installation (GTK+) |
| 32 |
CACHE_ICONS_RUN_DEPENDS= ${LOCALBASE}/bin/gtk-update-icon-cache:graphics/gtk-update-icon-cache |
| 30 |
|
33 |
|
| 31 |
post-patch: |
34 |
post-patch: |
| 32 |
@${REINPLACE_CMD} -e '/INSTALLS/s/man //' \ |
35 |
@${REINPLACE_CMD} -e '/INSTALLS/s/man //' \ |
|
Lines 36-41
Link Here
|
| 36 |
${INSTALL_MAN} ${WRKSRC}/resources/unix/focuswriter.1 \ |
39 |
${INSTALL_MAN} ${WRKSRC}/resources/unix/focuswriter.1 \ |
| 37 |
${STAGEDIR}${MANPREFIX}/man/man1 |
40 |
${STAGEDIR}${MANPREFIX}/man/man1 |
| 38 |
|
41 |
|
|
|
42 |
post-install-CACHE_ICONS-on: |
| 43 |
.for subdir in hicolor |
| 44 |
@${ECHO_CMD} "@rmtry share/icons/${subdir}/icon-theme.cache" >> ${TMPPLIST} |
| 45 |
@${ECHO_CMD} "@postexec ${LOCALBASE}/bin/gtk-update-icon-cache -q -f %D/share/icons/${subdir} 2>/dev/null || ${TRUE}" >> ${TMPPLIST} |
| 46 |
@${ECHO_CMD} "@postunexec ${LOCALBASE}/bin/gtk-update-icon-cache -q -f %D/share/icons/${subdir} 2>/dev/null || ${TRUE}" >> ${TMPPLIST} |
| 47 |
.endfor |
| 48 |
|
| 39 |
post-install-DOCS-on: |
49 |
post-install-DOCS-on: |
| 40 |
cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR} |
50 |
cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR} |
| 41 |
|
51 |
|