1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/textproc/gxditview/scripts/pre-configure
Steve Price de7418aad0 Port to build gxditview that is part of the base OS' groff code.
PR:		7260
Submitted by:	Dom Mitchell <dom@myrddin.demon.co.uk>
1998-07-20 03:45:24 +00:00

14 lines
339 B
Bash

#!/bin/sh
#
# Set up the Imakefile correctly for gxditview.
#
# $Id$
#
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