1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/textproc/gxditview/scripts/pre-configure
2000-12-13 10:42:53 +00:00

14 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