1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
This commit is contained in:
Emanuel Haupt 2014-04-17 12:19:28 +00:00
parent fdfd2ec06e
commit 9f1f33a299
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351465
2 changed files with 8 additions and 10 deletions

View File

@ -15,12 +15,9 @@ RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84 \
USES= perl5
MAN1= ding.1
DICTFILE= de-en.txt
SWISSDICT= de_ch-en.txt
NO_STAGE= yes
do-build:
${SED} -E -e '1,/^exec/ s!wish!wish8.4!' \
-e 's!/usr/share/dict/de-en.txt!${PREFIX}/share/ding/de-en.txt!' \
@ -32,12 +29,12 @@ do-build:
${WRKSRC}/${SWISSDICT}
do-install:
${MKDIR} ${PREFIX}/share/ding
${INSTALL_SCRIPT} ${WRKSRC}/dingX ${PREFIX}/bin/ding
${INSTALL_DATA} ${WRKSRC}/${DICTFILE} ${PREFIX}/share/ding/de-en.txt
${INSTALL_DATA} ${WRKSRC}/${SWISSDICT} ${PREFIX}/share/ding
${INSTALL_DATA} ${WRKSRC}/ding.png ${PREFIX}/share/ding/ding.png
${INSTALL_DATA} ${WRKSRC}/ding.desktop.sed ${PREFIX}/share/ding/ding.desktop
${INSTALL_MAN} ${WRKSRC}/ding.1 ${PREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${PREFIX}/share/ding
${INSTALL_SCRIPT} ${WRKSRC}/dingX ${STAGEDIR}${PREFIX}/bin/ding
${INSTALL_DATA} ${WRKSRC}/${DICTFILE} ${STAGEDIR}${PREFIX}/share/ding/de-en.txt
${INSTALL_DATA} ${WRKSRC}/${SWISSDICT} ${STAGEDIR}${PREFIX}/share/ding
${INSTALL_DATA} ${WRKSRC}/ding.png ${STAGEDIR}${PREFIX}/share/ding/ding.png
${INSTALL_DATA} ${WRKSRC}/ding.desktop.sed ${STAGEDIR}${PREFIX}/share/ding/ding.desktop
${INSTALL_MAN} ${WRKSRC}/ding.1 ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.mk>

View File

@ -1,4 +1,5 @@
bin/ding
man/man1/ding.1.gz
%%DATADIR%%/ding.png
%%DATADIR%%/ding.desktop
%%DATADIR%%/de_ch-en.txt