diff options
author | tron <tron> | 1999-08-17 23:16:11 +0000 |
---|---|---|
committer | tron <tron> | 1999-08-17 23:16:11 +0000 |
commit | 0b5f33e23a497f14feff961ef5fc9380a786b2fa (patch) | |
tree | f3a8559d916e769cf721f7023bbc48eb53f3bdd8 /print/teTeX-bin | |
parent | 3df24301ac089cf0879b68f0af8e28207812d534 (diff) | |
download | pkgsrc-0b5f33e23a497f14feff961ef5fc9380a786b2fa.tar.gz |
- Don't print message twice during installation.
- Create "/var/spool/texfonts".
Diffstat (limited to 'print/teTeX-bin')
-rwxr-xr-x | print/teTeX-bin/pkg/INSTALL | 36 |
1 files changed, 22 insertions, 14 deletions
diff --git a/print/teTeX-bin/pkg/INSTALL b/print/teTeX-bin/pkg/INSTALL index 1b5203b9603..7dae184ae54 100755 --- a/print/teTeX-bin/pkg/INSTALL +++ b/print/teTeX-bin/pkg/INSTALL @@ -1,25 +1,33 @@ #! /bin/sh # -# $NetBSD: INSTALL,v 1.1.1.1 1999/08/03 13:54:56 hubertf Exp $ +# $NetBSD: INSTALL,v 1.2 1999/08/17 23:16:11 tron Exp $ # -if [ "$PREFIX" = "" ] -then - PREFIX=/usr/pkg -fi - -TEXMF=$PREFIX/share/texmf - - -cat <<EOT +case $2 in + PRE-INSTALL) + if [ ! -d /var/spool/texfonts ] + then + install -d -m 755 -o root -g wheel /var/spool/texfonts + for SUBDIR in pk source tfm; do + install -d -m 1777 -o root -g wheel /var/spool/texfonts/$SUBDIR + done + fi + ;; + 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 + EOT + ;; + *) + echo "Unexpected Argument $2!!" + exit 1 + ;; +esac exit 0 |