diff options
author | jmz <jmz@FreeBSD.org> | 1995-02-15 10:22:35 +0800 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 1995-02-15 10:22:35 +0800 |
commit | 34ca14787d203838b63ec3b67bfc31184a609602 (patch) | |
tree | 52c12214a9950bd07c20fb1620d5b03e65143458 /print/dvips | |
parent | c1cdff4b8296bda58e13d3d2fe1d8d0f60e5445d (diff) | |
download | freebsd-ports-gnome-34ca14787d203838b63ec3b67bfc31184a609602.tar.gz freebsd-ports-gnome-34ca14787d203838b63ec3b67bfc31184a609602.tar.zst freebsd-ports-gnome-34ca14787d203838b63ec3b67bfc31184a609602.zip |
Use $PREFIX instead of fixed paths.
Diffstat (limited to 'print/dvips')
-rw-r--r-- | print/dvips/scripts/configure | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/print/dvips/scripts/configure b/print/dvips/scripts/configure index 051b660cfcd3..492a6eff1e57 100644 --- a/print/dvips/scripts/configure +++ b/print/dvips/scripts/configure @@ -29,7 +29,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 @@ -51,14 +51,14 @@ else fi #makefile -echo "TEXDIR=/usr/local/lib/texmf" >> ${WRKSRC}/Makefile || exit 1; +echo "TEXDIR=$PREFIX/lib/texmf" >> ${WRKSRC}/Makefile || exit 1; echo "LOCALDIR=$CACHE" >> ${WRKSRC}/Makefile echo "TEXMACRODIR=\$(TEXDIR)/tex" >> ${WRKSRC}/Makefile echo "FIGPATH = .:..:\$(TEXDIR)/tex" >> ${WRKSRC}/Makefile -echo "MANDIR=/usr/local/man/man1" >> ${WRKSRC}/Makefile +echo "MANDIR=$PREFIX/man/man1" >> ${WRKSRC}/Makefile echo "DEFS= -DTPIC -DDEBUG -DDEFRES=$res" >> ${WRKSRC}/Makefile echo "OPT = -O2 -funsigned-char" >> ${WRKSRC}/Makefile -echo "BINDIR=/usr/local/bin" >> ${WRKSRC}/Makefile +echo "BINDIR=$PREFIX/bin" >> ${WRKSRC}/Makefile echo "FLIBS=-lm" >> ${WRKSRC}/Makefile exit 0; |