summaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-11-28 06:28:54 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-11-28 06:28:54 +0000
commit578a063f9996ee427027e269b8c39a4b8d583b87 (patch)
treecb2a2232e45521b6ce9897a8525dc82d5b898829 /chinese
parentUpgrade to version 2.0 to catch up with newer omniORB port. (diff)
fix build/install process on -stable and -current
Notes
Notes: svn path=/head/; revision=71187
Diffstat (limited to 'chinese')
-rw-r--r--chinese/cdict5/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/chinese/cdict5/Makefile b/chinese/cdict5/Makefile
index b2331596519f..8b1b910427bf 100644
--- a/chinese/cdict5/Makefile
+++ b/chinese/cdict5/Makefile
@@ -32,15 +32,13 @@ ALL_TARGET= # empty
post-patch:
@${REINPLACE_CMD} -e "s|/usr/local/lib/cdict5|${DATADIR}|" ${WRKSRC}/cdict5.h
-post-build:
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} index
-
do-install:
@${MKDIR} ${DATADIR}
${TAR} -zxf ${DISTDIR}/cdict5-file.tgz -C ${DATADIR} && \
${MV} ${DATADIR}/cdict5-file/* ${DATADIR} && \
${RMDIR} ${DATADIR}/cdict5-file
${INSTALL_PROGRAM} ${WRKSRC}/cdict5 ${PREFIX}/bin
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} index
${INSTALL_DATA} ${WRKSRC}/Index.gdbm ${DATADIR}
.include <bsd.port.post.mk>