summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>1994-11-17 01:04:17 +0000
committerjmz <jmz@FreeBSD.org>1994-11-17 01:04:17 +0000
commita4bb25aa8e788ddb7fab06c4474a9a46d35ac14a (patch)
treef9e46a6d7acab4d3adfefa1bbbad109196749bf2
parentc83a6e9d607ea3a1c103ece27c6a6ebab0d22d6b (diff)
downloadFreeBSD-ports-a4bb25aa8e788ddb7fab06c4474a9a46d35ac14a.zip
FreeBSD-ports-a4bb25aa8e788ddb7fab06c4474a9a46d35ac14a.tar.gz
Makefile: USE_INTERACTIVE defined, use ${PREFIX}, reflect changes in
bsd.port.mk configure: use ${PREFIX} use ${PREFIX}
-rw-r--r--print/xdvi/scripts/configure11
1 files changed, 7 insertions, 4 deletions
diff --git a/print/xdvi/scripts/configure b/print/xdvi/scripts/configure
index 08fcea3..9cfff05 100644
--- a/print/xdvi/scripts/configure
+++ b/print/xdvi/scripts/configure
@@ -1,6 +1,6 @@
#!/bin/sh
-# paper size, default is no nor A4
+# paper size, default is not A4
A4=n
#default font cache directory: must be world writable
CACHE=/tmp
@@ -20,6 +20,9 @@ for i in $RES; do
echo -n "mode for $i dpi [$1]: ";
read answ; if [ "$answ" = "" ]; then answ=$1; fi
SUBST="$SUBST -e s/MODE=$1/MODE=$answ/"
+ if [ $i = 600 -a $answ != imagen ]; then
+ SUBST="$SUBST -e s/MAG=\"/_MAG=\"/"
+ fi
shift
done
@@ -27,7 +30,7 @@ echo "Choose a font cache directory for automatic font generation"
echo -n "(this directory must be world writable) [$CACHE]: "
read answ; if [ "$answ" != "" ]; then CACHE=$answ; fi
-sed -e s:/usr/lib/tex:/usr/local/lib/texmf: \
+sed -e s:/usr/lib/tex:$PREFIX/lib/texmf: \
-e s:/LocalLibrary/Fonts/TeXFonts:$CACHE: \
$SUBST <${WRKSRC}/MakeTeXPK.orig >${WRKSRC}/MakeTeXPK
@@ -36,6 +39,6 @@ sed -e s:/usr/lib/tex:/usr/local/lib/texmf: \
chmod +w ${WRKSRC}/Imakefile
echo "OSDEFS=" >> ${WRKSRC}/Imakefile || exit 1;
echo "OPTIONDEFS=-DUSE_PK -DGREY -DPS_GS -DMAKEPK -DBUTTONS" >> ${WRKSRC}/Imakefile
-echo "DEFAULT_FONT_PATH=/usr/local/lib/texmf/fonts/pk:$CACHE/pk" >> ${WRKSRC}/Imakefile
-echo "DEFAULT_VF_PATH=/usr/local/lib/texmf/fonts/vf" >> ${WRKSRC}/Imakefile
+echo "DEFAULT_FONT_PATH=$PREFIX/lib/texmf/fonts/pk:$CACHE/pk" >> ${WRKSRC}/Imakefile
+echo "DEFAULT_VF_PATH=$PREFIX/lib/texmf/fonts/vf" >> ${WRKSRC}/Imakefile
exit 0;
OpenPOWER on IntegriCloud