aboutsummaryrefslogtreecommitdiff
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
parente64d4b81fbf60f7dbba5e374d503b9b4b31b8b8d (diff)
downloadports-7a68599f587ae43e03cad5707e7321273229ea77.tar.gz
ports-7a68599f587ae43e03cad5707e7321273229ea77.zip
Notes
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