aboutsummaryrefslogtreecommitdiff
path: root/textproc/ppower4/pkg-install
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2003-11-10 19:40:17 +0000
committerGreg Lewis <glewis@FreeBSD.org>2003-11-10 19:40:17 +0000
commit1cadd7bab1ce4c56f2c32e40bb02c9a73edec068 (patch)
tree549560fdf870e768ee9c7967fa0a95d5d4c4abd4 /textproc/ppower4/pkg-install
parentc50f23055ca59cc9f49d1b5fc01fbf274555c487 (diff)
downloadports-1cadd7bab1ce4c56f2c32e40bb02c9a73edec068.tar.gz
ports-1cadd7bab1ce4c56f2c32e40bb02c9a73edec068.zip
Notes
Diffstat (limited to 'textproc/ppower4/pkg-install')
-rw-r--r--textproc/ppower4/pkg-install14
1 files changed, 14 insertions, 0 deletions
diff --git a/textproc/ppower4/pkg-install b/textproc/ppower4/pkg-install
new file mode 100644
index 000000000000..a97a81c62211
--- /dev/null
+++ b/textproc/ppower4/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