aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>2002-11-30 10:29:34 +0800
committeralex <alex@FreeBSD.org>2002-11-30 10:29:34 +0800
commite9e4ea6280d1d5deabdd695866a9c1edb7fee7dd (patch)
treee12241c263a45aa01e28834cec06a9b889fff40f
parent61429f17db734aa529889231d5e3465792b853d4 (diff)
downloadfreebsd-ports-gnome-e9e4ea6280d1d5deabdd695866a9c1edb7fee7dd.tar.gz
freebsd-ports-gnome-e9e4ea6280d1d5deabdd695866a9c1edb7fee7dd.tar.zst
freebsd-ports-gnome-e9e4ea6280d1d5deabdd695866a9c1edb7fee7dd.zip
"texhash" needs to be run after install, otherwise the installed
files won't be found and have no use. Submitted by: Janne Peltola (on IRC) Approved by: portmgr (kris)
-rw-r--r--print/musixtex/Makefile3
-rw-r--r--print/musixtex/pkg-plist2
2 files changed, 5 insertions, 0 deletions
diff --git a/print/musixtex/Makefile b/print/musixtex/Makefile
index 8a3fd31c43a6..30a633de9aef 100644
--- a/print/musixtex/Makefile
+++ b/print/musixtex/Makefile
@@ -21,4 +21,7 @@ NO_WRKSUBDIR= yes
pre-install:
${MKDIR} ${PREFIX}/share/texmf/documentation
+post-install:
+ @${LOCALBASE}/bin/texhash
+
.include <bsd.port.mk>
diff --git a/print/musixtex/pkg-plist b/print/musixtex/pkg-plist
index 6779cbccd7d0..6b482bafc5f7 100644
--- a/print/musixtex/pkg-plist
+++ b/print/musixtex/pkg-plist
@@ -222,5 +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
@dirrm share/texmf/documentation/musixtex.examples
@unexec rmdir %D/share/texmf/documentation 2>/dev/null || true
+@unexec %D/bin/texhash