Support stage.

This commit is contained in:
Vanilla I. Shu 2013-09-27 12:58:36 +00:00
parent 3b9dcc5e6d
commit 2334d70aef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328463
2 changed files with 5 additions and 11 deletions

View file

@ -19,17 +19,11 @@ SUB_FILES= pkg-message
DICTFILES= cedict pydict moecomp netterm
NO_STAGE= yes
do-install:
@${MKDIR} ${PREFIX}/lib/dict
@${MKDIR} ${STAGEDIR}/${PREFIX}/lib/dict
for f in ${DICTFILES}; do \
${INSTALL_DATA} ${WRKSRC}/$${f}.dict.dz ${PREFIX}/lib/dict; \
${INSTALL_DATA} ${WRKSRC}/$${f}.index ${PREFIX}/lib/dict; \
${INSTALL_DATA} ${WRKSRC}/$${f}.dict.dz ${STAGEDIR}/${PREFIX}/lib/dict; \
${INSTALL_DATA} ${WRKSRC}/$${f}.index ${STAGEDIR}/${PREFIX}/lib/dict; \
done
post-install:
@${ECHO}
@${CAT} ${PKGMESSAGE}
@${ECHO}
.include <bsd.port.mk>

View file

@ -1,9 +1,9 @@
lib/dict/cedict.dict.dz
lib/dict/cedict.index
lib/dict/pydict.dict.dz
lib/dict/pydict.index
lib/dict/moecomp.dict.dz
lib/dict/moecomp.index
lib/dict/netterm.dict.dz
lib/dict/netterm.index
lib/dict/pydict.dict.dz
lib/dict/pydict.index
@dirrmtry lib/dict