aboutsummaryrefslogtreecommitdiff
path: root/textproc/foiltex/pkg-install
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2003-11-10 19:54:12 +0000
committerGreg Lewis <glewis@FreeBSD.org>2003-11-10 19:54:12 +0000
commit33e1f8552c0ef2e854e5d5a7301b8bf19f317f45 (patch)
tree9c870b23744972351262148ded8d7207b9f27656 /textproc/foiltex/pkg-install
parent3631634036b9210925c465930f96a9b3a9ee1d6d (diff)
downloadports-33e1f8552c0ef2e854e5d5a7301b8bf19f317f45.tar.gz
ports-33e1f8552c0ef2e854e5d5a7301b8bf19f317f45.zip
Notes
Diffstat (limited to 'textproc/foiltex/pkg-install')
-rw-r--r--textproc/foiltex/pkg-install14
1 files changed, 14 insertions, 0 deletions
diff --git a/textproc/foiltex/pkg-install b/textproc/foiltex/pkg-install
new file mode 100644
index 000000000000..a97a81c62211
--- /dev/null
+++ b/textproc/foiltex/pkg-install
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+[ -z "${LOCALBASE}" ] && LOCALBASE=/usr/local
+
+if [ "$2" = "POST-INSTALL" ]; then
+ echo "Updating content cache to let LaTeX know about the new style files:"
+ if [ -x ${LOCALBASE}/bin/mktexlsr ]; then
+ ${LOCALBASE}/bin/mktexlsr
+ else
+ echo "Could not find mktexlsr. Please run it manually to update"
+ echo "LaTeX's content cache, or you won't be able to use the"
+ echo "new style files."
+ fi
+fi