fix build/install process on -stable and -current
This commit is contained in:
parent
c8c2e3a281
commit
578a063f99
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71187
1 changed files with 1 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue