freebsd-ports/textproc/gxditview/scripts/pre-configure
2000-12-13 10:42:53 +00:00

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