summaryrefslogtreecommitdiff
path: root/textproc/gxditview/scripts/pre-configure
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/gxditview/scripts/pre-configure')
-rw-r--r--textproc/gxditview/scripts/pre-configure13
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/gxditview/scripts/pre-configure b/textproc/gxditview/scripts/pre-configure
new file mode 100644
index 000000000000..be4c2b82bebf
--- /dev/null
+++ b/textproc/gxditview/scripts/pre-configure
@@ -0,0 +1,13 @@
+#!/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