diff options
author | Jean-Marc Zucconi <jmz@FreeBSD.org> | 1995-04-22 00:14:30 +0000 |
---|---|---|
committer | Jean-Marc Zucconi <jmz@FreeBSD.org> | 1995-04-22 00:14:30 +0000 |
commit | f53d67c7e8ced503a62e337e3d352a6d8246e640 (patch) | |
tree | ede7a65bb06bd846716bd5b958f5dc04b5ee9e23 | |
parent | ab2eb29ef5093f6b4b60d0c36493921b8ed8e97a (diff) | |
download | ports-f53d67c7e8ced503a62e337e3d352a6d8246e640.tar.gz ports-f53d67c7e8ced503a62e337e3d352a6d8246e640.zip |
Notes
-rw-r--r-- | print/xdvi/pkg-deinstall | 21 | ||||
-rw-r--r-- | print/xdvi/pkg-install | 49 |
2 files changed, 70 insertions, 0 deletions
diff --git a/print/xdvi/pkg-deinstall b/print/xdvi/pkg-deinstall new file mode 100644 index 000000000000..6a3fcb2b7885 --- /dev/null +++ b/print/xdvi/pkg-deinstall @@ -0,0 +1,21 @@ +#!/bin/sh + +prefix=/usr/local + +cat << END + +Installing xdvi will remove $prefix/MakeTeXPK. This file may be used by +dvips or other programs. If this is the case, you must make a backup of +this file now. + +END + +echo -n "do you want to deinstall the package ? [y] " +read answ; if [ "$answ" = "" ]; then answ=y; fi +case $answ in + y*|Y*) break;; + *) exit 1;; +esac + +exit 0 + diff --git a/print/xdvi/pkg-install b/print/xdvi/pkg-install new file mode 100644 index 000000000000..0f2935bad65d --- /dev/null +++ b/print/xdvi/pkg-install @@ -0,0 +1,49 @@ +#!/bin/sh + +prefix=/usr/local + +if [ "$2" = "POST-INSTALL" ]; then + exit 0 +fi + +if [ -f $prefix/bin/MakeTeXPK ]; then + echo "**WARNING** MakeTeXPK already exists in $prefix/bin" + echo "**WARNING** This file will be replaced during install." + echo + echo -n "do you want to continue ? [y] " + read answ; if [ "$answ" = "" ]; then answ=y; fi + case $answ in + y*|Y*) break;; + *) exit 1;; + esac +fi + +cat << END + +This package has been compiled with some defaults: +1 fonts will be created in $prefix/lib/texmf/fonts/pk and this + directory will be made world writable + +2 300 dpi fonts will be created with MODE=imagen + 200 dpi fonts will be created with MODE=FAX + 360 dpi fonts will be created with MODE=nextII + 400 dpi fonts will be created with MODE=nexthi + 72 dpi fonts will be created with MODE=nextscreen + +If you are not satisfied with 1, you need to recompile xdvi +If you are not satisfied with 2, you will need to edit $prefix/MakeTeXPK + +END + +echo -n "do you want to install the package ? [y] " +read answ; if [ "$answ" = "" ]; then answ=y; fi +case $answ in + y*|Y*) break;; + *) exit 1;; +esac + +mkdir -p $prefix/lib/texmf/fonts/pk; chmod 1777 $prefix/lib/texmf/fonts/pk + +exit 0 + + |