1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

Use USES=shebangfix

- Resolve absolute pathnames
- Do not silence installation messages
- Update pkg-descr
- Update WWW
- Bump PORTREVISION for package change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-03-09 21:49:53 +00:00
parent 06a334744e
commit 4951155931
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=464027
2 changed files with 25 additions and 22 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= coccinella
PORTVERSION= 0.96.20
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net-im tk
MASTER_SITES= SF
DISTNAME= Coccinella-${PORTVERSION}Src
@ -20,42 +20,46 @@ RUN_DEPENDS= snack>=0:audio/snack \
tktray>=0:x11-toolkits/tktray \
tktreectrl>=0:x11-toolkits/tktreectrl
USES= tk
USES= shebangfix tk
NO_BUILD= yes
NO_ARCH= yes
PORTDOCS= *
DESKTOP_ENTRIES="Coccinella" "" "${PORTNAME}" \
"${PORTNAME}" "Network;InstantMessaging;" ""
SHEBANG_FILES= Coccinella.tcl
SHEBANG_LANG= wish
wish_CMD= ${WISH}
DESKTOP_ENTRIES="Coccinella" "" "${PORTNAME}" "${PORTNAME}" "Network;InstantMessaging;" ""
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext
post-patch:
@${REINPLACE_CMD} -e '1s|/usr/bin/env wish|${WISH}|' \
${WRKSRC}/Coccinella.tcl
@${REINPLACE_CMD} -e 's|exec tclsh|exec ${TCLSH}|' \
${WRKSRC}/po/compile.tcl
post-patch-NLS-on:
@${REINPLACE_CMD} -e 's|exec tclsh|exec ${TCLSH}|' ${WRKSRC}/po/compile.tcl
@${CHMOD} 755 ${WRKSRC}/po/compile.tcl
post-build-NLS-on:
(cd ${WRKSRC}/po && ./compile.tcl)
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${PREFIX}/share/pixmaps/
${INSTALL_SCRIPT} ${WRKSRC}/Coccinella.tcl ${STAGEDIR}${DATADIR}
${RLN} ${STAGEDIR}${DATADIR}/Coccinella.tcl ${STAGEDIR}${PREFIX}/bin/coccinella
.for dir in TclXML certificates components contrib docs httpd iconsets items \
jabber jabberlib lib plugins resources themes whiteboard xmpp
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${STAGEDIR}${DATADIR})
(cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${STAGEDIR}${DATADIR})
.endfor
${INSTALL_SCRIPT} ${WRKSRC}/Coccinella.tcl ${STAGEDIR}${DATADIR}
${LN} -sf ${DATADIR}/Coccinella.tcl ${STAGEDIR}${PREFIX}/bin/coccinella
${LN} -sf ${DATADIR}/themes/Oxygen/icons/64x64/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
${RLN} ${STAGEDIR}${DATADIR}/themes/Oxygen/icons/64x64/coccinella.png ${STAGEDIR}${PREFIX}/share/pixmaps/coccinella.png
do-install-NLS-on:
@(cd ${WRKSRC}/po && ${CHMOD} 755 compile.tcl && \
./compile.tcl)
@(cd ${WRKSRC}/msgs && ${COPYTREE_SHARE} "*.msg" ${STAGEDIR}${DATADIR}/msgs)
@${MKDIR} ${STAGEDIR}${DATADIR}/msgs
${INSTALL_DATA} ${WRKSRC}/msgs/*.msg ${STAGEDIR}${DATADIR}/msgs
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} "AUTHORS.txt CHANGES.txt README.txt READMEs" ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS.txt CHANGES.txt README.txt ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/READMEs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -1,6 +1,5 @@
Coccinella is a Jabber chat client with whiteboard communication. The
whiteboard let you share your mp3s, photos, and lots of other stuff.
Further it accepts any fonts. So you will also be able to share mathematical
formulas with your contacts.
Coccinella is a free and open-source cross-platform communication tool with a
built-in whiteboard for improved collaboration with other people.
WWW: http://thecoccinella.org/
WWW: https://sourceforge.net/projects/coccinella/