1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/textproc/gxditview/scripts/pre-configure

14 lines
339 B
Plaintext
Raw Normal View History

#!/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