aboutsummaryrefslogtreecommitdiff
path: root/japanese/xdvik
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-07-29 01:22:26 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-07-29 01:22:26 +0000
commit91b37ec2996dd321ae46dbd0a9d22e83fa9d8772 (patch)
treee78c761f18e7e9b6c80ebcabb32c0857d7eb2905 /japanese/xdvik
parentda1470aae286090db4d7c42af44afa4c94b718c0 (diff)
downloadports-91b37ec2996dd321ae46dbd0a9d22e83fa9d8772.tar.gz
ports-91b37ec2996dd321ae46dbd0a9d22e83fa9d8772.zip
Notes
Diffstat (limited to 'japanese/xdvik')
-rw-r--r--japanese/xdvik/Makefile2
-rw-r--r--japanese/xdvik/pkg-plist4
2 files changed, 3 insertions, 3 deletions
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