- Update to 2011.07.26

- Use PLIST_DIRSTRY for PREFIX/share/mythes
- Explicitly list installing filenames
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2011-07-27 16:31:16 +00:00
parent ad7562548d
commit 5101bee4b3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=278414
2 changed files with 13 additions and 14 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= mythes
PORTVERSION= 2011.07.20
PORTVERSION= 2011.07.26
CATEGORIES= german textproc
MASTER_SITES= http://www.openthesaurus.de/export/
DISTNAME= Deutscher-Thesaurus
@ -19,26 +19,25 @@ LICENSE= LGPL21
USE_ZIP= yes
NO_BUILD= yes
DEALIASES= de_AT de_BE de_CH de_LI de_LU
NO_WRKSUBDIR= yes
PLIST_FILES= share/mythes/th_de_DE_v2.idx \
share/mythes/th_de_DE_v2.dat
PLIST_DIRSTRY= share/mythes
DEALIASES= de_AT de_BE de_CH de_LI de_LU
.for ALIAS in ${DEALIASES}
PLIST_FILES+= share/mythes/th_${ALIAS}_v2.idx \
share/mythes/th_${ALIAS}_v2.dat
.endfor
PLIST_DIRS= share/mythes
do-install:
@${MKDIR} ${PREFIX}/share/mythes
@${INSTALL_DATA} ${WRKDIR}/th_de_DE_v2.* ${PREFIX}/share/mythes
@cd ${PREFIX}/share/mythes; \
for alias in ${DEALIASES}; do \
${LN} -s th_de_DE_v2.idx th_$${alias}_v2.idx ; \
${LN} -s th_de_DE_v2.dat th_$${alias}_v2.dat ; \
done
${MKDIR} ${PREFIX}/share/mythes/
${INSTALL_DATA} ${WRKSRC}/th_de_DE_v2.dat ${WRKSRC}/th_de_DE_v2.idx ${PREFIX}/share/mythes/
.for ALIAS in ${DEALIASES}
${LN} -s th_de_DE_v2.dat ${PREFIX}/share/mythes/th_${ALIAS}_v2.dat
${LN} -s th_de_DE_v2.idx ${PREFIX}/share/mythes/th_${ALIAS}_v2.idx
.endfor
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (Deutscher-Thesaurus.oxt) = 283ba41d42b857dd873ba68508127255f6588cd18f0e7fa9021478af9087e6f8
SIZE (Deutscher-Thesaurus.oxt) = 3175630
SHA256 (Deutscher-Thesaurus.oxt) = 9e5a0332da30df57d1c744bf063a18b59423286fa3e86d07a80105e0df8f0bfe
SIZE (Deutscher-Thesaurus.oxt) = 3176672