summaryrefslogtreecommitdiff
path: root/japanese/makejvf
diff options
context:
space:
mode:
authorR. Imura <imura@FreeBSD.org>2000-02-12 20:14:20 +0000
committerR. Imura <imura@FreeBSD.org>2000-02-12 20:14:20 +0000
commit7a68599f587ae43e03cad5707e7321273229ea77 (patch)
tree09c2d65d1e829251e850266dbabc870d760d7489 /japanese/makejvf
parentUpgrade to 1.5 (diff)
Do mktexlsr in install to update cache of pTex.
PR: 16616 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=25703
Diffstat (limited to 'japanese/makejvf')
-rw-r--r--japanese/makejvf/Makefile8
-rw-r--r--japanese/makejvf/pkg-plist2
2 files changed, 9 insertions, 1 deletions
diff --git a/japanese/makejvf/Makefile b/japanese/makejvf/Makefile
index 90e1816c167e..dcedc0eda2fb 100644
--- a/japanese/makejvf/Makefile
+++ b/japanese/makejvf/Makefile
@@ -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>
diff --git a/japanese/makejvf/pkg-plist b/japanese/makejvf/pkg-plist
index 5c742c3b8648..e03c03f548ba 100644
--- a/japanese/makejvf/pkg-plist
+++ b/japanese/makejvf/pkg-plist
@@ -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