aboutsummaryrefslogtreecommitdiff
path: root/chinese/cdict5
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/cdict5
parentc8c2e3a281179c65c2ffca91814e06fa18ce40f3 (diff)
downloadports-578a063f9996ee427027e269b8c39a4b8d583b87.tar.gz
ports-578a063f9996ee427027e269b8c39a4b8d583b87.zip
Notes
Diffstat (limited to 'chinese/cdict5')
-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>