aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2003-07-29 09:22:26 +0800
committernork <nork@FreeBSD.org>2003-07-29 09:22:26 +0800
commitcbd7e771a7d77d7b026065e79872a1b5f0019c17 (patch)
tree15b39be45b9dae3b869a9f2d02bcdccfee4786b9 /japanese
parent27ad908e59b147e22d1945a476976b6e31b48998 (diff)
downloadfreebsd-ports-gnome-cbd7e771a7d77d7b026065e79872a1b5f0019c17.tar.gz
freebsd-ports-gnome-cbd7e771a7d77d7b026065e79872a1b5f0019c17.tar.zst
freebsd-ports-gnome-cbd7e771a7d77d7b026065e79872a1b5f0019c17.zip
Unbreak installation by mktexlsr.
Pointed out by: bento via kris
Diffstat (limited to 'japanese')
-rw-r--r--japanese/xdvik-vflib/Makefile2
-rw-r--r--japanese/xdvik-vflib/pkg-plist4
-rw-r--r--japanese/xdvik/Makefile2
-rw-r--r--japanese/xdvik/pkg-plist4
4 files changed, 6 insertions, 6 deletions
diff --git a/japanese/xdvik-vflib/Makefile b/japanese/xdvik-vflib/Makefile
index bd3beba33e65..64752ab39561 100644
--- a/japanese/xdvik-vflib/Makefile
+++ b/japanese/xdvik-vflib/Makefile
@@ -169,6 +169,6 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/texk/xdvik/$$i ${DOCSDIR}; \
done
.endif
- @${PREFIX}/bin/mktexlsr ${PREFIX}/share/texmf
+ @[ -x ${PREFIX}/bin/mktexlsr ] && ${PREFIX}/bin/mktexlsr ${PREFIX}/share/texmf
.include <bsd.port.post.mk>
diff --git a/japanese/xdvik-vflib/pkg-plist b/japanese/xdvik-vflib/pkg-plist
index 25daf0852cd3..aeb6b72df48c 100644
--- a/japanese/xdvik-vflib/pkg-plist
+++ b/japanese/xdvik-vflib/pkg-plist
@@ -34,7 +34,7 @@ share/texmf/xdvi/xdvipaper.jdvi2kps
%%PORTDOCS%%%%DOCSDIR%%/xdvi.icon
@dirrm share/texmf/xdvi
@dirrm %%DOCSDIR%%
-@exec %D/bin/mktexlsr %D/share/texmf
-@unexec %D/bin/mktexlsr %D/share/texmf
+@exec [ -x %D/bin/mktexlsr ] && %D/bin/mktexlsr %D/share/texmf
+@unexec [ -x %D/bin/mktexlsr ] && %D/bin/mktexlsr %D/share/texmf
@cwd %%X11BASE%%
%%APPDEFAULTSDIR%%/XDvi
diff --git a/japanese/xdvik/Makefile b/japanese/xdvik/Makefile
index bd3beba33e65..64752ab39561 100644
--- a/japanese/xdvik/Makefile
+++ b/japanese/xdvik/Makefile
@@ -169,6 +169,6 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/texk/xdvik/$$i ${DOCSDIR}; \
done
.endif
- @${PREFIX}/bin/mktexlsr ${PREFIX}/share/texmf
+ @[ -x ${PREFIX}/bin/mktexlsr ] && ${PREFIX}/bin/mktexlsr ${PREFIX}/share/texmf
.include <bsd.port.post.mk>
diff --git a/japanese/xdvik/pkg-plist b/japanese/xdvik/pkg-plist
index 25daf0852cd3..aeb6b72df48c 100644
--- a/japanese/xdvik/pkg-plist
+++ b/japanese/xdvik/pkg-plist
@@ -34,7 +34,7 @@ share/texmf/xdvi/xdvipaper.jdvi2kps
%%PORTDOCS%%%%DOCSDIR%%/xdvi.icon
@dirrm share/texmf/xdvi
@dirrm %%DOCSDIR%%
-@exec %D/bin/mktexlsr %D/share/texmf
-@unexec %D/bin/mktexlsr %D/share/texmf
+@exec [ -x %D/bin/mktexlsr ] && %D/bin/mktexlsr %D/share/texmf
+@unexec [ -x %D/bin/mktexlsr ] && %D/bin/mktexlsr %D/share/texmf
@cwd %%X11BASE%%
%%APPDEFAULTSDIR%%/XDvi