diff options
author | Jean-Marc Zucconi <jmz@FreeBSD.org> | 1995-02-15 02:22:35 +0000 |
---|---|---|
committer | Jean-Marc Zucconi <jmz@FreeBSD.org> | 1995-02-15 02:22:35 +0000 |
commit | 16182396ceb815f31dcb40d02badcb7fcb4d6453 (patch) | |
tree | 083af27baba3b385828db7aa5e72f33fb43c2bee /print/dvips | |
parent | Create destination directories (diff) |
Use $PREFIX instead of fixed paths.
Notes
Notes:
svn path=/head/; revision=982
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; |