1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Do mktexlsr in install to update cache of pTex.

PR:		16616
Submitted by:	maintainer
This commit is contained in:
R. Imura 2000-02-12 20:14:20 +00:00
parent e64d4b81fb
commit 7a68599f58
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25703
2 changed files with 9 additions and 1 deletions

View File

@ -38,6 +38,8 @@ post-extract:
${TAR} -C ${WRKDIR}/ -zxf ${DISTDIR}/${DIST_SUBDIR}/$$i${EXTRACT_SUFX} ; \
done
.include <bsd.port.pre.mk>
post-install:
@${MKDIR} ${MAP_DIR}
@for i in ${PTEX_TFM} ; do \
@ -70,4 +72,8 @@ post-install:
done
.endif
.include <bsd.port.mk>
.if exists(${PREFIX}/bin/mktexlsr)
@${PREFIX}/bin/mktexlsr
.endif
.include <bsd.port.post.mk>

View File

@ -136,3 +136,5 @@ share/texmf/fonts/vf/makejvf/Ryumin-Light-V.vf
@dirrm share/texmf/fonts/tfm/makejvf
@dirrm share/texmf/fonts/vf/makejvf
@dirrm share/doc/makejvf-fkr
@exec if [ -x %D/bin/mktexlsr ]; then %D/bin/mktexlsr; fi
@unexec if [ -x %D/bin/mktexlsr ]; then %D/bin/mktexlsr; fi