#!/bin/sh
#
# Set up the Imakefile correctly for gxditview.
#
# $FreeBSD$
#

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)|' \
       -e "s|@srcdir@|${WRKSRC}|" \
       Imakefile.in > Imakefile