#!/bin/sh
#
# Set up the Imakefile correctly for gxditview.
#
# $Id: pre-configure,v 1.1.1.1 1998/07/20 03:45:24 steve Exp $
#

cd $WRKSRC
sed    -e 's|^GROFF_LIBDIR.*|GROFF_LIBDIR=/usr/share|' \
       -e 's|^GROFF_FONTDIR.*|GROFF_FONTDIR=/usr/share/groff_font|' \
       -e 's|^GROFF_FONTPATH.*|GROFF_FONTPATH=.:$(GROFF_FONTDIR)|' \
       Imakefile > Imakefile.new
mv Imakefile.new Imakefile
