1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/textproc/gxditview/scripts/pre-configure
1999-08-31 02:11:56 +00:00

14 lines
344 B
Bash

#!/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)|' \
Imakefile > Imakefile.new
mv Imakefile.new Imakefile