summaryrefslogtreecommitdiff
path: root/print/teTeX
diff options
context:
space:
mode:
authortron <tron>1999-08-18 07:47:37 +0000
committertron <tron>1999-08-18 07:47:37 +0000
commit5aa3045a3f00c38bea6cd14c6365d5418b35063b (patch)
tree2059080ebadc164681452433a12b57837faacebc /print/teTeX
parentd41ab99f5235ab311f37735b959f6a872a3a22d6 (diff)
downloadpkgsrc-5aa3045a3f00c38bea6cd14c6365d5418b35063b.tar.gz
Don't print message twice during installation.
Diffstat (limited to 'print/teTeX')
-rwxr-xr-xprint/teTeX/pkg/INSTALL27
1 files changed, 14 insertions, 13 deletions
diff --git a/print/teTeX/pkg/INSTALL b/print/teTeX/pkg/INSTALL
index ae0d47a43c8..35c398ede41 100755
--- a/print/teTeX/pkg/INSTALL
+++ b/print/teTeX/pkg/INSTALL
@@ -1,25 +1,26 @@
#! /bin/sh
#
-# $NetBSD: INSTALL,v 1.2 1998/08/07 11:11:33 agc Exp $
+# $NetBSD: INSTALL,v 1.3 1999/08/18 07:47:37 tron Exp $
#
-if [ "$PREFIX" = "" ]
-then
- PREFIX=/usr/pkg
-fi
-
-TEXMF=$PREFIX/share/texmf
-
-
-cat <<EOT
+case $2 in
+ PRE-INSTALL)
+ ;;
+ POST-INSTALL)
+ cat <<EOT
---------------------------------------------------------------------------
-You may consider running $PREFIX/bin/texconfig to adjust for your
+You may consider running ${PKG_PREFIX}/bin/texconfig to adjust for your
local environment, e.g. configure font generation to use a temporary
directory.
-For further information have a look at $TEXMF/doc/tetex/.
+For further information have a look at ${PKG_PREFIX}/share/texmf/doc/tetex/.
---------------------------------------------------------------------------
-
EOT
+ ;;
+ *)
+ echo "Unexpected Argument $2!!"
+ exit 1
+ ;;
+esac
exit 0