aboutsummaryrefslogtreecommitdiffstats
path: root/print/musixtex
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2002-12-03 00:16:48 +0800
committeralex <alex@FreeBSD.org>2002-12-03 00:16:48 +0800
commitc261cd52b6ab48b99d2fc113ffd98ec978b8da93 (patch)
tree20d0b9b120e4b4683b2d3ca29bad1f61870a4296 /print/musixtex
parent16042e2291f9e7b6d62591d9d2eb717b2b6a93fc (diff)
downloadfreebsd-ports-gnome-c261cd52b6ab48b99d2fc113ffd98ec978b8da93.tar.gz
freebsd-ports-gnome-c261cd52b6ab48b99d2fc113ffd98ec978b8da93.tar.zst
freebsd-ports-gnome-c261cd52b6ab48b99d2fc113ffd98ec978b8da93.zip
Fix last commit in case of absence of texhash.
Submitted by: kris Pointy hat to: myself, the dependency guru wannabe (last commit was tested with teTex installed)
Diffstat (limited to 'print/musixtex')
-rw-r--r--print/musixtex/Makefile2
-rw-r--r--print/musixtex/pkg-plist4
2 files changed, 3 insertions, 3 deletions
diff --git a/print/musixtex/Makefile b/print/musixtex/Makefile
index 30a633de9aef..2d9a86ca54eb 100644
--- a/print/musixtex/Makefile
+++ b/print/musixtex/Makefile
@@ -22,6 +22,6 @@ pre-install:
${MKDIR} ${PREFIX}/share/texmf/documentation
post-install:
- @${LOCALBASE}/bin/texhash
+ @${LOCALBASE}/bin/texhash || ${TRUE}
.include <bsd.port.mk>
diff --git a/print/musixtex/pkg-plist b/print/musixtex/pkg-plist
index 6b482bafc5f7..c4b595f21926 100644
--- a/print/musixtex/pkg-plist
+++ b/print/musixtex/pkg-plist
@@ -222,7 +222,7 @@ share/texmf/tex/musixsty.tex
share/texmf/tex/musixtex.sty
share/texmf/tex/musixtex.tex
share/texmf/tex/musixtri.tex
-@exec %D/bin/texhash
+@exec %D/bin/texhash || true
@dirrm share/texmf/documentation/musixtex.examples
@unexec rmdir %D/share/texmf/documentation 2>/dev/null || true
-@unexec %D/bin/texhash
+@unexec %D/bin/texhash || true